]> Git Repo - qemu.git/blobdiff - tests/postcopy-test.c
iotests: Add preallocated growth test for qcow2
[qemu.git] / tests / postcopy-test.c
index de35a18903aacb6c0dae7e4c13348365461d9772..8142f2ab90723bc8e2beab0310dcbf412bd7b56c 100644 (file)
@@ -16,7 +16,7 @@
 #include "qemu/option.h"
 #include "qemu/range.h"
 #include "qemu/sockets.h"
-#include "sysemu/char.h"
+#include "chardev/char.h"
 #include "sysemu/sysemu.h"
 #include "hw/nvram/chrp_nvram.h"
 
@@ -41,7 +41,7 @@ static bool ufd_version_check(void)
     struct uffdio_api api_struct;
     uint64_t ioctl_mask;
 
-    int ufd = ufd = syscall(__NR_userfaultfd, O_CLOEXEC);
+    int ufd = syscall(__NR_userfaultfd, O_CLOEXEC);
 
     if (ufd == -1) {
         g_test_message("Skipping test: userfaultfd not available");
This page took 0.022909 seconds and 4 git commands to generate.