projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b317508
)
Fix compilation when UFFDIO_REGISTER is not set.
author
Pierre Labatut
<plabatut@google.com>
Thu, 28 Sep 2023 12:56:59 +0000
(12:56 +0000)
committer
Michael Tokarev
<mjt@tls.msk.ru>
Wed, 11 Oct 2023 21:37:39 +0000
(
00:37
+0300)
Signed-off-by: Pierre Labatut <plabatut@google.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
subprojects/libvhost-user/libvhost-user.c
patch
|
blob
|
history
diff --git
a/subprojects/libvhost-user/libvhost-user.c
b/subprojects/libvhost-user/libvhost-user.c
index 051a611da3c7850fc83351fa609743938dcac74e..ac6d5d01d3a0a18dd2747a6e6584c4b97e4f00d4 100644
(file)
--- a/
subprojects/libvhost-user/libvhost-user.c
+++ b/
subprojects/libvhost-user/libvhost-user.c
@@
-631,9
+631,9
@@
static bool
generate_faults(VuDev *dev) {
unsigned int i;
for (i = 0; i < dev->nregions; i++) {
+#ifdef UFFDIO_REGISTER
VuDevRegion *dev_region = &dev->regions[i];
int ret;
-#ifdef UFFDIO_REGISTER
struct uffdio_register reg_struct;
/*