[VIRTIO] Misc fixes (#7283)

- Add bugcodes dependency, fixes a rare build failure
- Fix for the sync part of commit 823fdb19d7, somehow it didn't pick up the change from the upstream commit https://github.com/virtio-win/kvm-guest-drivers-windows/commit/b22efbb8b80f76a81627396ed54bfbf4b02f80dc
This commit is contained in:
Adam Słaboń
2024-08-30 10:26:55 +03:00
committed by GitHub
parent 03d41008d4
commit c3560c6830
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ list(APPEND SOURCE
VirtIORing-Packed.c)
add_library(virtio ${SOURCE})
add_dependencies(virtio xdk)
add_dependencies(virtio bugcodes xdk)
if(NOT MSVC)
target_compile_options(virtio PRIVATE
+1 -1
View File
@@ -62,7 +62,7 @@
/* v1.0 compliant. */
#define VIRTIO_F_VERSION_1 32
#define VIRTIO_F_IOMMU_PLATFORM 33
#define VIRTIO_F_ACCESS_PLATFORM 33
/* This feature indicates support for the packed virtqueue layout. */
#define VIRTIO_F_RING_PACKED 34