[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 1/2] linux-headers: Update linux headers for extende
From: |
Christian Borntraeger |
Subject: |
[Qemu-devel] [PATCH 1/2] linux-headers: Update linux headers for extended TOD-Clock |
Date: |
Mon, 25 Sep 2017 12:23:01 +0200 |
From: "Collin L. Walling" <address@hidden>
Conny: to be replaced with 4.14-rc*.
Adds KVM_S390_VM_TOD_EXT attribute for the extended TOD-Clock
attribute and kvm_s390_vm_tod_clock struct for TOD-Clock data.
Signed-off-by: Collin L. Walling <address@hidden>
---
linux-headers/asm-s390/kvm.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/linux-headers/asm-s390/kvm.h b/linux-headers/asm-s390/kvm.h
index 8387d71..7b750ef 100644
--- a/linux-headers/asm-s390/kvm.h
+++ b/linux-headers/asm-s390/kvm.h
@@ -88,6 +88,12 @@ struct kvm_s390_io_adapter_req {
/* kvm attributes for KVM_S390_VM_TOD */
#define KVM_S390_VM_TOD_LOW 0
#define KVM_S390_VM_TOD_HIGH 1
+#define KVM_S390_VM_TOD_EXT 2
+
+struct kvm_s390_vm_tod_clock {
+ __u8 epoch_idx;
+ __u64 tod;
+};
/* kvm attributes for KVM_S390_VM_CPU_MODEL */
/* processor related attributes are r/w */
--
2.9.4