diff options
author | David Woodhouse <dwmw@amazon.co.uk> | 2022-12-16 16:27:00 +0000 |
---|---|---|
committer | David Woodhouse <dwmw@amazon.co.uk> | 2023-03-01 09:07:52 +0000 |
commit | 6f43f2ee49568f067b15c31372bb8116e1cb0182 (patch) | |
tree | 14a7e420ef8a2ff470eb8bfe660dcb9b268f8ab3 /include | |
parent | 2aff696b10d16ef09dc5a2c953ceccbf6d38f744 (diff) | |
download | qemu-6f43f2ee49568f067b15c31372bb8116e1cb0182.zip qemu-6f43f2ee49568f067b15c31372bb8116e1cb0182.tar.gz qemu-6f43f2ee49568f067b15c31372bb8116e1cb0182.tar.bz2 |
kvm/i386: Add xen-gnttab-max-frames property
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Paul Durrant <paul@xen.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/sysemu/kvm_int.h | 1 | ||||
-rw-r--r-- | include/sysemu/kvm_xen.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/sysemu/kvm_int.h b/include/sysemu/kvm_int.h index 7f945bc..39ce4d3 100644 --- a/include/sysemu/kvm_int.h +++ b/include/sysemu/kvm_int.h @@ -120,6 +120,7 @@ struct KVMState uint32_t notify_window; uint32_t xen_version; uint32_t xen_caps; + uint16_t xen_gnttab_max_frames; }; void kvm_memory_listener_register(KVMState *s, KVMMemoryListener *kml, diff --git a/include/sysemu/kvm_xen.h b/include/sysemu/kvm_xen.h index 2b20030..49afa0e 100644 --- a/include/sysemu/kvm_xen.h +++ b/include/sysemu/kvm_xen.h @@ -25,6 +25,7 @@ void *kvm_xen_get_vcpu_info_hva(uint32_t vcpu_id); void kvm_xen_inject_vcpu_callback_vector(uint32_t vcpu_id, int type); void kvm_xen_set_callback_asserted(void); int kvm_xen_set_vcpu_virq(uint32_t vcpu_id, uint16_t virq, uint16_t port); +uint16_t kvm_xen_get_gnttab_max_frames(void); #define kvm_xen_has_cap(cap) (!!(kvm_xen_get_caps() & \ KVM_XEN_HVM_CONFIG_ ## cap)) |