mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 14:53:54 -06:00
Fix compilation when UFFDIO_REGISTER is not set.
Signed-off-by: Pierre Labatut <plabatut@google.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
b3175081a1
commit
bb30277273
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue