From: Yang Zhong <yang.zhong@intel.com>
To: qemu-devel@nongnu.org
Cc: yang.zhong@intel.com, kevin.tian@intel.com, seanjc@google.com,
	jing2.liu@linux.intel.com, wei.w.wang@intel.com,
	guang.zeng@intel.com, pbonzini@redhat.com
Subject: [PATCH v3 8/8] linux-header: Sync the linux headers
Date: Mon, 28 Feb 2022 00:05:15 -0800	[thread overview]
Message-ID: <20220228080515.42357-9-yang.zhong@intel.com> (raw)
In-Reply-To: <20220228080515.42357-1-yang.zhong@intel.com>
This patch will be dropped once Qemu sync linux 5.17 header.
Making all linux-headers changes here are only for maintainers
to easily remove those changes once those patches are queued.
Signed-off-by: Yang Zhong <yang.zhong@intel.com>
---
  | 3 +++
    | 1 +
 2 files changed, 4 insertions(+)
 --git a/linux-headers/asm-x86/kvm.h b/linux-headers/asm-x86/kvm.h
index 2da3316bb5..8224d0dda2 100644
--- a/linux-headers/asm-x86/kvm.h
+++ b/linux-headers/asm-x86/kvm.h
@@ -452,6 +452,9 @@ struct kvm_sync_regs {
 
 #define KVM_STATE_VMX_PREEMPTION_TIMER_DEADLINE	0x00000001
 
+/* attributes for system fd (group 0) */
+#define KVM_X86_XCOMP_GUEST_SUPP       0
+
 struct kvm_vmx_nested_state_data {
 	__u8 vmcs12[KVM_STATE_NESTED_VMX_VMCS_SIZE];
 	__u8 shadow_vmcs12[KVM_STATE_NESTED_VMX_VMCS_SIZE];
 --git a/linux-headers/linux/kvm.h b/linux-headers/linux/kvm.h
index 00af3bc333..002503dc8b 100644
--- a/linux-headers/linux/kvm.h
+++ b/linux-headers/linux/kvm.h
@@ -1133,6 +1133,7 @@ struct kvm_ppc_resize_hpt {
 #define KVM_CAP_VM_MOVE_ENC_CONTEXT_FROM 206
 #define KVM_CAP_VM_GPA_BITS 207
 #define KVM_CAP_XSAVE2 208
+#define KVM_CAP_SYS_ATTRIBUTES 209
 
 #ifdef KVM_CAP_IRQ_ROUTING
 
     prev parent reply	other threads:[~2022-02-28  8:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-28  8:05 [PATCH v3 0/8] AMX support in Qemu Yang Zhong
2022-02-28  8:05 ` [PATCH v3 1/8] x86: Fix the 64-byte boundary enumeration for extended state Yang Zhong
2022-02-28  8:05 ` [PATCH v3 2/8] x86: Add AMX XTILECFG and XTILEDATA components Yang Zhong
2022-02-28  8:05 ` [PATCH v3 3/8] x86: Grant AMX permission for guest Yang Zhong
2022-02-28  8:05 ` [PATCH v3 4/8] x86: Add XFD faulting bit for state components Yang Zhong
2022-02-28  8:05 ` [PATCH v3 5/8] x86: Add AMX CPUIDs enumeration Yang Zhong
2022-02-28  8:05 ` [PATCH v3 6/8] x86: Add support for KVM_CAP_XSAVE2 and AMX state migration Yang Zhong
2022-02-28  8:05 ` [PATCH v3 7/8] x86: Support XFD and AMX xsave data migration Yang Zhong
2022-02-28  8:05 ` Yang Zhong [this message]
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=20220228080515.42357-9-yang.zhong@intel.com \
    --to=yang.zhong@intel.com \
    --cc=guang.zeng@intel.com \
    --cc=jing2.liu@linux.intel.com \
    --cc=kevin.tian@intel.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=seanjc@google.com \
    --cc=wei.w.wang@intel.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 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).