Update linux-headers to v5.18-rc6
Hi!
The following changes since commit ec11dc41eec5142b4776db1296972c6323ba5847:
Merge tag 'pull-misc-2022-05-11' of git://repo.or.cz/qemu/armbru into staging (2022-05-11 09:00:26 -0700)
are available in the Git repository at:
https://gitlab.com/thuth/qemu.git tags/pull-request-2022-05-12
for you to fetch changes up to 98cdec27e4396a2982c85ed148f70770bb6600b4:
vfio: tolerate migration protocol v1 uapi renames (2022-05-12 11:00:05 +0200)
----------------------------------------------------------------
* Update the linux headers to v5.18-rc6 (required for multiple patch series that are currently in flight)
* Fix the vfio code to compile again after the header update
I'm sending this as a separate pull request, so that the the patch series that are currently in flight do not have to deal each time with the ugly vfio macro rename anymore.
----------------------------------------------------------------
Matthew Rosato (1):
vfio: tolerate migration protocol v1 uapi renames
Thomas Huth (1):
linux-headers: Update headers to v5.18-rc6
include/standard-headers/linux/input-event-codes.h | 25 +- include/standard-headers/linux/virtio_config.h | 6 + include/standard-headers/linux/virtio_crypto.h | 82 ++++- linux-headers/asm-arm64/kvm.h | 16 + linux-headers/asm-generic/mman-common.h | 2 + linux-headers/asm-mips/mman.h | 2 + linux-headers/linux/kvm.h | 27 +- linux-headers/linux/psci.h | 4 + linux-headers/linux/userfaultfd.h | 8 +- linux-headers/linux/vfio.h | 406 ++++++++++----------- linux-headers/linux/vhost.h | 7 + hw/vfio/common.c | 2 +- hw/vfio/migration.c | 19 +- 13 files changed, 377 insertions(+), 229 deletions(-)
[PULL 2/2] vfio: tolerate migration protocol v1 uapi renames
From: Matthew Rosato <[email protected]>
The v1 uapi is deprecated and will be replaced by v2 at some point; this patch just tolerates the renaming of uapi fields to reflect v1 / deprecated status.
Message-Id: <[email protected]>
--- hw/vfio/common.c | 2 +- hw/vfio/migration.c | 19 +++++++++++-------- 2 files changed, 12 insertions(+), 9 deletions(-)
hw/vfio/common.c +1 -1
@@ -381,7 +381,7 @@ static bool vfio_devices_all_running_and_saving(VFIOContainer *container)return false; } -if ((migration->device_state &VFIO_DEVICE_STATE_SAVING ) && +if ((migration->device_state &VFIO_DEVICE_STATE_V1_SAVING ) && (migration->device_state &VFIO_DEVICE_STATE_RUNNING )) {continue ; }else {
hw/vfio/migration.c +11 -8
@@ -432,7 +432,7 @@ static int vfio_save_setup(QEMUFile *f, void *opaque) } ret =vfio_migration_set_state (vbasedev,VFIO_DEVICE_STATE_MASK , -VFIO_DEVICE_STATE_SAVING ); +VFIO_DEVICE_STATE_V1_SAVING );if (ret) {error_report ("%s: Failed to set state SAVING" , vbasedev->name);return ret;
@@ -532,7 +532,7 @@ static int vfio_save_complete_precopy(QEMUFile *f, void *opaque)int ret; ret =vfio_migration_set_state (vbasedev, ~VFIO_DEVICE_STATE_RUNNING , -VFIO_DEVICE_STATE_SAVING ); +VFIO_DEVICE_STATE_V1_SAVING );if (ret) {error_report ("%s: Failed to set state STOP and SAVING" , vbasedev->name);
@@ -569,7 +569,7 @@ static int vfio_save_complete_precopy(QEMUFile *f, void *opaque)return ret; } - ret =vfio_migration_set_state (vbasedev, ~VFIO_DEVICE_STATE_SAVING ,0 ); + ret =vfio_migration_set_state (vbasedev, ~VFIO_DEVICE_STATE_V1_SAVING ,0 );if (ret) {error_report ("%s: Failed to set state STOPPED" , vbasedev->name);return ret;
@@ -730,7 +730,7 @@ static void vfio_vmstate_change(void *opaque, bool running, RunState state)* start saving data. */ if (state ==RUN_STATE_SAVE_VM ) { - value =VFIO_DEVICE_STATE_SAVING ; + value =VFIO_DEVICE_STATE_V1_SAVING ; }else { value =0 ; }
@@ -768,8 +768,9 @@ static void vfio_migration_state_notifier(Notifier *notifier, void *data)case MIGRATION_STATUS_FAILED : bytes_transferred =0 ; ret =vfio_migration_set_state (vbasedev, - ~(VFIO_DEVICE_STATE_SAVING |VFIO_DEVICE_STATE_RESUMING ), -VFIO_DEVICE_STATE_RUNNING ); + ~(VFIO_DEVICE_STATE_V1_SAVING | +VFIO_DEVICE_STATE_RESUMING ), +VFIO_DEVICE_STATE_RUNNING );if (ret) {error_report ("%s: Failed to set state RUNNING" , vbasedev->name); }
@@ -864,8 +865,10 @@ int vfio_migration_probe(VFIODevice *vbasedev, Error **errp) goto add_blocker; } - ret =vfio_get_dev_region_info (vbasedev,VFIO_REGION_TYPE_MIGRATION , -VFIO_REGION_SUBTYPE_MIGRATION , &info); + ret =vfio_get_dev_region_info (vbasedev, +VFIO_REGION_TYPE_MIGRATION_DEPRECATED , +VFIO_REGION_SUBTYPE_MIGRATION_DEPRECATED , + &info);if (ret) { goto add_blocker; }
Signature · 1 line
2.27.0
Re: [PULL 2/2] vfio: tolerate migration protocol v1 uapi renames
Quoted 22 lines · Thomas Huth
External email: Use caution opening links or attachments
From: Matthew Rosato <[email protected]>
The v1 uapi is deprecated and will be replaced by v2 at some point; this patch just tolerates the renaming of uapi fields to reflect v1 / deprecated status.
Signed-off-by Matthew Rosato <[email protected]>Message-Id: <[email protected]>
Signed-off-by Thomas Huth <[email protected]>--- hw/vfio/common.c | 2 +- hw/vfio/migration.c | 19 +++++++++++-------- 2 files changed, 12 insertions(+), 9 deletions(-)hw/vfio/common.c +0
-0
hw/vfio/common.c static bool vfio_devices_all_running_and_saving(VFIOContainer *container) · line 385
Quoted 6 lines
hw/vfio/common.c +1
-1@@ -381,7 +381,7 @@ static bool vfio_devices_all_running_and_saving(VFIOContainer *container)return false; } -if ((migration->device_state &VFIO_DEVICE_STATE_SAVING ) && +if ((migration->device_state &VFIO_DEVICE_STATE_V1_SAVING ) && (migration->device_state &VFIO_DEVICE_STATE_RUNNING )) {
Only now I noticed this, but all existing VFIO_DEVICE_STATE_* enums should be changed to their corresponding VFIO_DEVICE_STATE_V1_*. E.g., here VFIO_DEVICE_STATE_RUNNING should be changed as well to VFIO_DEVICE_STATE_V1_RUNNING.
I already have a patch that does this. I will send it today as part of the VFIO migration v2 series I am planning to send, so you can just take it.
Quoted 71 lines
hw/vfio/common.c +0
-0continue ; }else {hw/vfio/migration.c +11
-9@@ -432,7 +432,7 @@ static int vfio_save_setup(QEMUFile *f, void *opaque) } ret =vfio_migration_set_state (vbasedev,VFIO_DEVICE_STATE_MASK , -VFIO_DEVICE_STATE_SAVING ); +VFIO_DEVICE_STATE_V1_SAVING );if (ret) {error_report ("%s: Failed to set state SAVING" , vbasedev->name);return ret;@@ -532,7 +532,7 @@ static int vfio_save_complete_precopy(QEMUFile *f, void *opaque)int ret; ret =vfio_migration_set_state (vbasedev, ~VFIO_DEVICE_STATE_RUNNING , -VFIO_DEVICE_STATE_SAVING ); +VFIO_DEVICE_STATE_V1_SAVING );if (ret) {error_report ("%s: Failed to set state STOP and SAVING" , vbasedev->name);@@ -569,7 +569,7 @@ static int vfio_save_complete_precopy(QEMUFile *f, void *opaque)return ret; } - ret =vfio_migration_set_state (vbasedev, ~VFIO_DEVICE_STATE_SAVING ,0 ); + ret =vfio_migration_set_state (vbasedev, ~VFIO_DEVICE_STATE_V1_SAVING ,0 );if (ret) {error_report ("%s: Failed to set state STOPPED" , vbasedev->name);return ret;@@ -730,7 +730,7 @@ static void vfio_vmstate_change(void *opaque, bool running, RunState state)* start saving data. */ if (state ==RUN_STATE_SAVE_VM ) { - value =VFIO_DEVICE_STATE_SAVING ; + value =VFIO_DEVICE_STATE_V1_SAVING ; }else { value =0 ; }@@ -768,8 +768,9 @@ static void vfio_migration_state_notifier(Notifier *notifier, void *data)case MIGRATION_STATUS_FAILED : bytes_transferred =0 ; ret =vfio_migration_set_state (vbasedev, - ~(VFIO_DEVICE_STATE_SAVING |VFIO_DEVICE_STATE_RESUMING ), -VFIO_DEVICE_STATE_RUNNING ); + ~(VFIO_DEVICE_STATE_V1_SAVING | +VFIO_DEVICE_STATE_RESUMING ), +VFIO_DEVICE_STATE_RUNNING );if (ret) {error_report ("%s: Failed to set state RUNNING" , vbasedev->name); }@@ -864,8 +865,10 @@ int vfio_migration_probe(VFIODevice *vbasedev, Error **errp) goto add_blocker; } - ret =vfio_get_dev_region_info (vbasedev,VFIO_REGION_TYPE_MIGRATION , -VFIO_REGION_SUBTYPE_MIGRATION , &info); + ret =vfio_get_dev_region_info (vbasedev, +VFIO_REGION_TYPE_MIGRATION_DEPRECATED , +VFIO_REGION_SUBTYPE_MIGRATION_DEPRECATED , + &info);if (ret) { goto add_blocker; } --2.27.0
Re: [PULL 2/2] vfio: tolerate migration protocol v1 uapi renames
Quoted 28 lines · Avihai Horon
Quoted 26 lines · Thomas Huth
External email: Use caution opening links or attachments
From: Matthew Rosato <[email protected]>
The v1 uapi is deprecated and will be replaced by v2 at some point; this patch just tolerates the renaming of uapi fields to reflect v1 / deprecated status.
Signed-off-by Matthew Rosato <[email protected]>Message-Id: <[email protected]>
Signed-off-by Thomas Huth <[email protected]>---
hw/vfio/common.c | 2 +-
hw/vfio/migration.c| 19 +++++++++++--------2 files changed, 12 insertions(+), 9 deletions(-)hw/vfio/common.c +0
-0@@ -381,7 +381,7 @@ static bool vfio_devices_all_running_and_saving(VFIOContainer *container) return false; }
Quoted 8 lines
hw/vfio/common.c static bool vfio_devices_all_running_and_saving(VFIOContainer *container) · line 385
Quoted 3 lines
hw/vfio/common.c +1
-1- if ((migration->device_state & VFIO_DEVICE_STATE_SAVING) && + if ((migration->device_state & VFIO_DEVICE_STATE_V1_SAVING) && (migration->device_state & VFIO_DEVICE_STATE_RUNNING)) {Only now I noticed this, but all existing VFIO_DEVICE_STATE_* enums should be changed to their corresponding VFIO_DEVICE_STATE_V1_*. E.g., here
VFIO_DEVICE_STATE_RUNNINGshould be changed as well toVFIO_DEVICE_STATE_V1_RUNNING.I already have a patch that does this. I will send it today as part of the VFIO migration v2 series I am planning to send, so you can just take it.
Ugh, thanks for noticing!
Alex, could you please take care of this in the next days? Seems like the next linux-header updates is really not that trivial anymore due to that ugly vfio macro renaming :-( And I'd prefer if somebody could tackle this who is really more confident in this area.
Thomas
[PULL 1/2] linux-headers: Update headers to v5.18-rc6
In reply to Thomas HuthSeveral other upcoming patch series will need this update.
--- .../linux/input-event-codes.h | 25 +- .../standard-headers/linux/virtio_config.h | 6 + .../standard-headers/linux/virtio_crypto.h | 82 +++- linux-headers/asm-arm64/kvm.h | 16 + linux-headers/asm-generic/mman-common.h | 2 + linux-headers/asm-mips/mman.h | 2 + linux-headers/linux/kvm.h | 27 +- linux-headers/linux/psci.h | 4 + linux-headers/linux/userfaultfd.h | 8 +- linux-headers/linux/vfio.h | 406 +++++++++--------- linux-headers/linux/vhost.h | 7 + 11 files changed, 365 insertions(+), 220 deletions(-)
include/standard-headers/linux/input-event-codes.h +24 -1
@@ -278,7 +278,8 @@#define KEY_PAUSECD 201#define KEY_PROG3 202#define KEY_PROG4 203 -#define KEY_DASHBOARD 204/* AL Dashboard */ +#define KEY_ALL_APPLICATIONS 204/* AC Desktop Show All Applications */ +#define KEY_DASHBOARD KEY_ALL_APPLICATIONS#define KEY_SUSPEND 205#define KEY_CLOSE 206/* AC Close */ #define KEY_PLAY 207
@@ -612,6 +613,7 @@#define KEY_ASSISTANT 0x247/* AL Context-aware desktop assistant */ #define KEY_KBD_LAYOUT_NEXT 0x248/* AC Next Keyboard Layout Select */ #define KEY_EMOJI_PICKER 0x249/* Show/hide emoji picker (HUTRR101) */ +#define KEY_DICTATE 0x24a/* Start or Stop Voice Dictation Session (HUTRR99) */ #define KEY_BRIGHTNESS_MIN 0x250/* Set Brightness to Minimum */ #define KEY_BRIGHTNESS_MAX 0x251/* Set Brightness to Maximum */
@@ -660,6 +662,27 @@/* Select an area of screen to be copied */ #define KEY_SELECTIVE_SCREENSHOT 0x27a +/* Move the focus to the next or previous user controllable element within a UI container */ +#define KEY_NEXT_ELEMENT 0x27b +#define KEY_PREVIOUS_ELEMENT 0x27c + +/* Toggle Autopilot engagement */ +#define KEY_AUTOPILOT_ENGAGE_TOGGLE 0x27d + +/* Shortcut Keys */ +#define KEY_MARK_WAYPOINT 0x27e +#define KEY_SOS 0x27f +#define KEY_NAV_CHART 0x280 +#define KEY_FISHING_CHART 0x281 +#define KEY_SINGLE_RANGE_RADAR 0x282 +#define KEY_DUAL_RANGE_RADAR 0x283 +#define KEY_RADAR_OVERLAY 0x284 +#define KEY_TRADITIONAL_SONAR 0x285 +#define KEY_CLEARVU_SONAR 0x286 +#define KEY_SIDEVU_SONAR 0x287 +#define KEY_NAV_INFO 0x288 +#define KEY_BRIGHTNESS_MENU 0x289 +/* * Some keyboards have keys which do not have a defined meaning, these keys * are intended to be programmed / bound to macros by the user. For most
include/standard-headers/linux/virtio_config.h +6 -0
@@ -80,6 +80,12 @@/* This feature indicates support for the packed virtqueue layout. */ #define VIRTIO_F_RING_PACKED 34 +/* +* Inorder feature indicates that all buffers are used by the device +* in the same order in which they have been made available. +*/ +#define VIRTIO_F_IN_ORDER 35 +/* * This feature indicates that memory accesses by the driver and the * device are ordered in a way described by the platform.
include/standard-headers/linux/virtio_crypto.h +81 -1
136 lines not on this page · raw message
linux-headers/asm-arm64/kvm.h +16 -0
@@ -281,6 +281,11 @@ struct kvm_arm_copy_mte_tags {#define KVM_REG_ARM_SMCCC_ARCH_WORKAROUND_2_NOT_REQUIRED 3#define KVM_REG_ARM_SMCCC_ARCH_WORKAROUND_2_ENABLED (1U << 4) +#define KVM_REG_ARM_SMCCC_ARCH_WORKAROUND_3 KVM_REG_ARM_FW_REG(3) +#define KVM_REG_ARM_SMCCC_ARCH_WORKAROUND_3_NOT_AVAIL 0 +#define KVM_REG_ARM_SMCCC_ARCH_WORKAROUND_3_AVAIL 1 +#define KVM_REG_ARM_SMCCC_ARCH_WORKAROUND_3_NOT_REQUIRED 2 +/* SVE registers */ #define KVM_REG_ARM64_SVE (0x15 << KVM_REG_ARM_COPROC_SHIFT)
@@ -362,6 +367,7 @@ struct kvm_arm_copy_mte_tags {#define KVM_ARM_VCPU_PMU_V3_IRQ 0#define KVM_ARM_VCPU_PMU_V3_INIT 1#define KVM_ARM_VCPU_PMU_V3_FILTER 2 +#define KVM_ARM_VCPU_PMU_V3_SET_PMU 3#define KVM_ARM_VCPU_TIMER_CTRL 1#define KVM_ARM_VCPU_TIMER_IRQ_VTIMER 0#define KVM_ARM_VCPU_TIMER_IRQ_PTIMER 1
@@ -411,6 +417,16 @@ struct kvm_arm_copy_mte_tags {#define KVM_PSCI_RET_INVAL PSCI_RET_INVALID_PARAMS#define KVM_PSCI_RET_DENIED PSCI_RET_DENIED +/* arm64-specific kvm_run::system_event flags */ +/* +* Reset caused by a PSCI v1.1 SYSTEM_RESET2 call. +* Valid only when the system event has a type of KVM_SYSTEM_EVENT_RESET. +*/ +#define KVM_SYSTEM_EVENT_RESET_FLAG_PSCI_RESET2 (1ULL << 0) + +/* run->fail_entry.hardware_entry_failure_reason codes. */ +#define KVM_EXIT_FAIL_ENTRY_CPU_UNSUPPORTED (1ULL << 0) +#endif #endif /* __ARM_KVM_H__ */
linux-headers/asm-generic/mman-common.h +2 -0
@@ -75,6 +75,8 @@#define MADV_POPULATE_READ 22/* populate (prefault) page tables readable */ #define MADV_POPULATE_WRITE 23/* populate (prefault) page tables writable */ +#define MADV_DONTNEED_LOCKED 24/* like DONTNEED, but drop locked pages too */ +/* compatibility flags */ #define MAP_FILE 0
linux-headers/asm-mips/mman.h +2 -0
@@ -101,6 +101,8 @@#define MADV_POPULATE_READ 22/* populate (prefault) page tables readable */ #define MADV_POPULATE_WRITE 23/* populate (prefault) page tables writable */ +#define MADV_DONTNEED_LOCKED 24/* like DONTNEED, but drop locked pages too */ +/* compatibility flags */ #define MAP_FILE 0
linux-headers/linux/kvm.h +21 -6
@@ -445,7 +445,11 @@ struct kvm_run {#define KVM_SYSTEM_EVENT_RESET 2#define KVM_SYSTEM_EVENT_CRASH 3__u32 type; -__u64 flags; +__u32 ndata; +union { +__u64 flags; +__u64 data[16 ]; + }; } system_event;/* KVM_EXIT_S390_STSI */ struct {
@@ -562,9 +566,12 @@ struct kvm_s390_mem_op {__u32 op;/* type of operation */ __u64 buf;/* buffer in userspace */ union { -__u8 ar;/* the access register number */ +struct { +__u8 ar;/* the access register number */ +__u8 key;/* access key, ignored if flag unset */ + };__u32 sida_offset;/* offset into the sida */ -__u8 reserved[32 ];/* should be set to 0 */ +__u8 reserved[32 ];/* ignored */ }; };/* types for kvm_s390_mem_op->op */
@@ -572,9 +579,12 @@ struct kvm_s390_mem_op {#define KVM_S390_MEMOP_LOGICAL_WRITE 1#define KVM_S390_MEMOP_SIDA_READ 2#define KVM_S390_MEMOP_SIDA_WRITE 3 +#define KVM_S390_MEMOP_ABSOLUTE_READ 4 +#define KVM_S390_MEMOP_ABSOLUTE_WRITE 5/* flags for kvm_s390_mem_op->flags */ #define KVM_S390_MEMOP_F_CHECK_ONLY (1ULL << 0)#define KVM_S390_MEMOP_F_INJECT_EXCEPTION (1ULL << 1) +#define KVM_S390_MEMOP_F_SKEY_PROTECTION (1ULL << 2)/* for KVM_INTERRUPT */ struct kvm_interrupt {
@@ -1134,6 +1144,12 @@ struct kvm_ppc_resize_hpt {#define KVM_CAP_VM_GPA_BITS 207#define KVM_CAP_XSAVE2 208#define KVM_CAP_SYS_ATTRIBUTES 209 +#define KVM_CAP_PPC_AIL_MODE_3 210 +#define KVM_CAP_S390_MEM_OP_EXTENSION 211 +#define KVM_CAP_PMU_CAPABILITY 212 +#define KVM_CAP_DISABLE_QUIRKS2 213 +/* #define KVM_CAP_VM_TSC_CONTROL 214 */ +#define KVM_CAP_SYSTEM_EVENT_DATA 215#ifdef KVM_CAP_IRQ_ROUTING
@@ -1624,9 +1640,6 @@ struct kvm_enc_region {#define KVM_S390_NORMAL_RESET _IO(KVMIO, 0xc3)#define KVM_S390_CLEAR_RESET _IO(KVMIO, 0xc4) -/* Available with KVM_CAP_XSAVE2 */ -#define KVM_GET_XSAVE2 _IOR(KVMIO, 0xcf, struct kvm_xsave) -struct kvm_s390_pv_sec_parm {__u64 origin;__u64 length;
@@ -1973,6 +1986,8 @@ struct kvm_dirty_gfn {#define KVM_BUS_LOCK_DETECTION_OFF (1 << 0)#define KVM_BUS_LOCK_DETECTION_EXIT (1 << 1) +#define KVM_PMU_CAP_DISABLE (1 << 0) +/** * struct kvm_stats_header - Header of per vm/vcpu binary statistics data. * @flags: Some extra information for header, always 0 for now.
linux-headers/linux/psci.h +4 -0
@@ -82,6 +82,10 @@#define PSCI_0_2_TOS_UP_NO_MIGRATE 1#define PSCI_0_2_TOS_MP 2 +/* PSCI v1.1 reset type encoding for SYSTEM_RESET2 */ +#define PSCI_1_1_RESET_TYPE_SYSTEM_WARM_RESET 0 +#define PSCI_1_1_RESET_TYPE_VENDOR_START 0x80000000U +/* PSCI version decoding (independent of PSCI version) */ #define PSCI_VERSION_MAJOR_SHIFT 16#define PSCI_VERSION_MINOR_MASK \
linux-headers/linux/userfaultfd.h +7 -1
@@ -32,7 +32,8 @@ UFFD_FEATURE_SIGBUS | \ UFFD_FEATURE_THREAD_ID | \ UFFD_FEATURE_MINOR_HUGETLBFS | \ - UFFD_FEATURE_MINOR_SHMEM) + UFFD_FEATURE_MINOR_SHMEM | \ + UFFD_FEATURE_EXACT_ADDRESS)#define UFFD_API_IOCTLS \ ((__u64)1 << _UFFDIO_REGISTER | \ (__u64)1 << _UFFDIO_UNREGISTER | \
@@ -189,6 +190,10 @@ struct uffdio_api {* * UFFD_FEATURE_MINOR_SHMEM indicates the same support as * UFFD_FEATURE_MINOR_HUGETLBFS, but for shmem-backed pages instead. +* +* UFFD_FEATURE_EXACT_ADDRESS indicates that the exact address of page +* faults would be provided and the offset within the page would not be +* masked. */ #define UFFD_FEATURE_PAGEFAULT_FLAG_WP (1<<0)#define UFFD_FEATURE_EVENT_FORK (1<<1)
@@ -201,6 +206,7 @@ struct uffdio_api {#define UFFD_FEATURE_THREAD_ID (1<<8)#define UFFD_FEATURE_MINOR_HUGETLBFS (1<<9)#define UFFD_FEATURE_MINOR_SHMEM (1<<10) +#define UFFD_FEATURE_EXACT_ADDRESS (1<<11)__u64 features;__u64 ioctls;
linux-headers/linux/vfio.h +195 -211
433 lines not on this page · raw message
linux-headers/linux/vhost.h +7 -0
@@ -150,4 +150,11 @@/* Get the valid iova range */ #define VHOST_VDPA_GET_IOVA_RANGE _IOR(VHOST_VIRTIO, 0x78, \ struct vhost_vdpa_iova_range) + +/* Get the config size */ +#define VHOST_VDPA_GET_CONFIG_SIZE _IOR(VHOST_VIRTIO, 0x79, __u32) + +/* Get the count of all virtqueues */ +#define VHOST_VDPA_GET_VQS_COUNT _IOR(VHOST_VIRTIO, 0x80, __u32) +#endif
Signature · 1 line
2.27.0
Quoted 14 lines · Thomas Huth
Hi!
The following changes since commit
ec11dc41eec5142b4776db1296972c6323ba5847:Merge tag 'pull-misc-2022-05-11' of git://repo.or.cz/qemu/armbru into staging (2022-05-11 09:00:26 -0700)are available in the Git repository at:
https://gitlab.com/thuth/qemu.git tags/pull-request-2022-05-12for you to fetch changes up to
98cdec27e4396a2982c85ed148f70770bb6600b4:vfio: tolerate migration protocol v1 uapi renames (2022-05-12 11:00:05 +0200)
Quoted 8 lines
----------------------------------------------------------------
* Update the linux headers to v5.18-rc6 (required for multiple patch series that are currently in flight)
* Fix the vfio code to compile again after the header updateI'm sending this as a separate pull request, so that the the patch series that are currently in flight do not have to deal each time with the ugly vfio macro rename anymore.
Replying to the 0/2 header to make sure that this gets seen before it gets merged: Please don't merge this series, as Avihai noticed correctly, this needs more work first.
Thomas