All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcelo Tosatti <mtosatti@redhat.com>
To: kvm@vger.kernel.org, qemu-devel@nongnu.org
Cc: Luiz Capitulino <lcapitulino@redhat.com>,
	Rik van Riel <riel@redhat.com>,
	Paolo Bonzini <pbonzini@redhat.com>,
	Marcelo Tosatti <mtosatti@redhat.com>
Subject: [QEMU patch 1/2] kvm: sync kernel headers
Date: Wed, 10 Dec 2014 14:23:18 -0200	[thread overview]
Message-ID: <20141210162420.149256493@amt.cnet> (raw)
In-Reply-To: 20141210162317.370733848@amt.cnet

[-- Attachment #1: linux-headers-update --]
[-- Type: text/plain, Size: 1535 bytes --]

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

---
 linux-headers/asm-x86/kvm.h |    5 +++++
 linux-headers/linux/kvm.h   |   14 +++-----------
 2 files changed, 8 insertions(+), 11 deletions(-)

Index: qemu/linux-headers/asm-x86/kvm.h
===================================================================
--- qemu.orig/linux-headers/asm-x86/kvm.h	2014-12-08 17:54:33.647488264 -0200
+++ qemu/linux-headers/asm-x86/kvm.h	2014-12-09 13:27:20.749752962 -0200
@@ -277,6 +277,11 @@
 	__u8 reserved[31];
 };
 
+struct kvm_tscdeadline_advance {
+	__u32 timer_advance;
+	__u32 reserved[3];
+};
+
 /* When set in flags, include corresponding fields on KVM_SET_VCPU_EVENTS */
 #define KVM_VCPUEVENT_VALID_NMI_PENDING	0x00000001
 #define KVM_VCPUEVENT_VALID_SIPI_VECTOR	0x00000002
Index: qemu/linux-headers/linux/kvm.h
===================================================================
--- qemu.orig/linux-headers/linux/kvm.h	2014-12-08 17:54:33.647488264 -0200
+++ qemu/linux-headers/linux/kvm.h	2014-12-09 13:27:20.750752961 -0200
@@ -761,6 +753,7 @@
 #define KVM_CAP_PPC_FIXUP_HCALL 103
 #define KVM_CAP_PPC_ENABLE_HCALL 104
 #define KVM_CAP_CHECK_EXTENSION_VM 105
+#define KVM_CAP_TSCDEADLINE_ADVANCE 106
 
 #ifdef KVM_CAP_IRQ_ROUTING
 
@@ -1061,6 +1054,8 @@
 #define KVM_GET_DEVICE_ATTR	  _IOW(KVMIO,  0xe2, struct kvm_device_attr)
 #define KVM_HAS_DEVICE_ATTR	  _IOW(KVMIO,  0xe3, struct kvm_device_attr)
 
+#define KVM_SET_TSCDEADLINE_ADVANCE  _IOW(KVMIO,  0xe4, struct kvm_tscdeadline_advance)
+
 /*
  * ioctls for vcpu fds
  */



WARNING: multiple messages have this Message-ID (diff)
From: Marcelo Tosatti <mtosatti@redhat.com>
To: kvm@vger.kernel.org, qemu-devel@nongnu.org
Cc: Paolo Bonzini <pbonzini@redhat.com>,
	Marcelo Tosatti <mtosatti@redhat.com>,
	Luiz Capitulino <lcapitulino@redhat.com>
Subject: [Qemu-devel] [QEMU patch 1/2] kvm: sync kernel headers
Date: Wed, 10 Dec 2014 14:23:18 -0200	[thread overview]
Message-ID: <20141210162420.149256493@amt.cnet> (raw)
In-Reply-To: 20141210162317.370733848@amt.cnet

[-- Attachment #1: linux-headers-update --]
[-- Type: text/plain, Size: 1533 bytes --]

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

---
 linux-headers/asm-x86/kvm.h |    5 +++++
 linux-headers/linux/kvm.h   |   14 +++-----------
 2 files changed, 8 insertions(+), 11 deletions(-)

Index: qemu/linux-headers/asm-x86/kvm.h
===================================================================
--- qemu.orig/linux-headers/asm-x86/kvm.h	2014-12-08 17:54:33.647488264 -0200
+++ qemu/linux-headers/asm-x86/kvm.h	2014-12-09 13:27:20.749752962 -0200
@@ -277,6 +277,11 @@
 	__u8 reserved[31];
 };
 
+struct kvm_tscdeadline_advance {
+	__u32 timer_advance;
+	__u32 reserved[3];
+};
+
 /* When set in flags, include corresponding fields on KVM_SET_VCPU_EVENTS */
 #define KVM_VCPUEVENT_VALID_NMI_PENDING	0x00000001
 #define KVM_VCPUEVENT_VALID_SIPI_VECTOR	0x00000002
Index: qemu/linux-headers/linux/kvm.h
===================================================================
--- qemu.orig/linux-headers/linux/kvm.h	2014-12-08 17:54:33.647488264 -0200
+++ qemu/linux-headers/linux/kvm.h	2014-12-09 13:27:20.750752961 -0200
@@ -761,6 +753,7 @@
 #define KVM_CAP_PPC_FIXUP_HCALL 103
 #define KVM_CAP_PPC_ENABLE_HCALL 104
 #define KVM_CAP_CHECK_EXTENSION_VM 105
+#define KVM_CAP_TSCDEADLINE_ADVANCE 106
 
 #ifdef KVM_CAP_IRQ_ROUTING
 
@@ -1061,6 +1054,8 @@
 #define KVM_GET_DEVICE_ATTR	  _IOW(KVMIO,  0xe2, struct kvm_device_attr)
 #define KVM_HAS_DEVICE_ATTR	  _IOW(KVMIO,  0xe3, struct kvm_device_attr)
 
+#define KVM_SET_TSCDEADLINE_ADVANCE  _IOW(KVMIO,  0xe4, struct kvm_tscdeadline_advance)
+
 /*
  * ioctls for vcpu fds
  */

  reply	other threads:[~2014-12-10 16:59 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-10 16:23 [QEMU patch 0/2] QEMU lapic tsc deadline advancement Marcelo Tosatti
2014-12-10 16:23 ` [Qemu-devel] " Marcelo Tosatti
2014-12-10 16:23 ` Marcelo Tosatti [this message]
2014-12-10 16:23   ` [Qemu-devel] [QEMU patch 1/2] kvm: sync kernel headers Marcelo Tosatti
2014-12-10 16:23 ` [QEMU patch 2/2] kvm: allow configuration of tsc deadline timer advancement Marcelo Tosatti
2014-12-10 16:23   ` [Qemu-devel] " Marcelo Tosatti
2014-12-10 17:01   ` Paolo Bonzini
2014-12-10 17:01     ` [Qemu-devel] " Paolo Bonzini
2014-12-10 17:04     ` Marcelo Tosatti
2014-12-10 17:04       ` [Qemu-devel] " Marcelo Tosatti
2014-12-10 17:09       ` Paolo Bonzini
2014-12-10 17:09         ` [Qemu-devel] " Paolo Bonzini
2014-12-10 17:27         ` Marcelo Tosatti
2014-12-10 17:27           ` [Qemu-devel] " Marcelo Tosatti
2014-12-10 17:29           ` Paolo Bonzini
2014-12-10 17:29             ` [Qemu-devel] " Paolo Bonzini
2014-12-10 17:35             ` Marcelo Tosatti
2014-12-10 17:35               ` [Qemu-devel] " Marcelo Tosatti
2014-12-10 17:55               ` Paolo Bonzini
2014-12-10 17:55                 ` [Qemu-devel] " Paolo Bonzini
2014-12-10 18:39                 ` Radim Krčmář
2014-12-10 18:39                   ` [Qemu-devel] " Radim Krčmář
2014-12-10 18:59                   ` Paolo Bonzini
2014-12-10 18:59                     ` [Qemu-devel] " Paolo Bonzini
2014-12-10 17:06   ` Eric Blake

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141210162420.149256493@amt.cnet \
    --to=mtosatti@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=lcapitulino@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=riel@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.