From: Vitaly Kuznetsov <vkuznets@redhat.com>
To: qemu-devel@nongnu.org
Cc: Paolo Bonzini <pbonzini@redhat.com>,
Richard Henderson <rth@twiddle.net>,
Eduardo Habkost <ehabkost@redhat.com>,
Marcelo Tosatti <mtosatti@redhat.com>,
Roman Kagan <rkagan@virtuozzo.com>
Subject: [Qemu-devel] [PATCH 1/2] linux-headers: update to pre-4.20 (kvm/queue)
Date: Mon, 8 Oct 2018 13:27:25 +0200 [thread overview]
Message-ID: <20181008112726.16140-2-vkuznets@redhat.com> (raw)
In-Reply-To: <20181008112726.16140-1-vkuznets@redhat.com>
This brings us three new defines: KVM_CAP_ARM_INJECT_SERROR_ESR,
KVM_CAP_MSR_PLATFORM_INFO and KVM_CAP_HYPERV_SEND_IPI.
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
---
| 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
--git a/linux-headers/linux/kvm.h b/linux-headers/linux/kvm.h
index 66790724f1..043f1e58b6 100644
--- a/linux-headers/linux/kvm.h
+++ b/linux-headers/linux/kvm.h
@@ -9,7 +9,7 @@
*/
#include <linux/types.h>
-
+#include <linux/compiler.h>
#include <linux/ioctl.h>
#include <asm/kvm.h>
@@ -481,7 +481,7 @@ struct kvm_dirty_log {
__u32 slot;
__u32 padding1;
union {
- void *dirty_bitmap; /* one bit per page */
+ void __user *dirty_bitmap; /* one bit per page */
__u64 padding2;
};
};
@@ -951,6 +951,9 @@ struct kvm_ppc_resize_hpt {
#define KVM_CAP_HYPERV_TLBFLUSH 155
#define KVM_CAP_S390_HPAGE_1M 156
#define KVM_CAP_NESTED_STATE 157
+#define KVM_CAP_ARM_INJECT_SERROR_ESR 158
+#define KVM_CAP_MSR_PLATFORM_INFO 159
+#define KVM_CAP_HYPERV_SEND_IPI 160
#ifdef KVM_CAP_IRQ_ROUTING
--
2.17.1
next prev parent reply other threads:[~2018-10-08 11:27 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-08 11:27 [Qemu-devel] [PATCH 0/2] i386/kvm: enable Hyper-V PV IPI mechanism Vitaly Kuznetsov
2018-10-08 11:27 ` Vitaly Kuznetsov [this message]
2018-10-09 12:20 ` [Qemu-devel] [PATCH 1/2] linux-headers: update to pre-4.20 (kvm/queue) Roman Kagan
2018-10-09 13:01 ` Vitaly Kuznetsov
2018-10-09 13:17 ` Roman Kagan
2018-10-09 13:42 ` Vitaly Kuznetsov
2018-10-09 13:59 ` Roman Kagan
2018-10-09 14:59 ` Cornelia Huck
2018-10-09 15:32 ` Paolo Bonzini
2018-10-08 11:27 ` [Qemu-devel] [PATCH 2/2] i386/kvm: add support for Hyper-V IPI send Vitaly Kuznetsov
2018-10-09 12:47 ` Roman Kagan
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=20181008112726.16140-2-vkuznets@redhat.com \
--to=vkuznets@redhat.com \
--cc=ehabkost@redhat.com \
--cc=mtosatti@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=rkagan@virtuozzo.com \
--cc=rth@twiddle.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).