aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/kvm/demand_paging_test.c
diff options
context:
space:
mode:
authorAndrew Jones <drjones@redhat.com>2020-12-18 15:17:33 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2021-01-07 18:07:30 -0500
commit1133e17ea7c9929ff7b90e81d8926f9e870748e9 (patch)
tree180f3532f2ee25af5fb92280b444c1454817a313 /tools/testing/selftests/kvm/demand_paging_test.c
parentKVM: selftests: Factor out guest mode code (diff)
downloadwireguard-linux-1133e17ea7c9929ff7b90e81d8926f9e870748e9.tar.xz
wireguard-linux-1133e17ea7c9929ff7b90e81d8926f9e870748e9.zip
KVM: selftests: Use vm_create_with_vcpus in create_vm
Reviewed-by: Ben Gardon <bgardon@google.com> Signed-off-by: Andrew Jones <drjones@redhat.com> Message-Id: <20201218141734.54359-3-drjones@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/testing/selftests/kvm/demand_paging_test.c')
-rw-r--r--tools/testing/selftests/kvm/demand_paging_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/kvm/demand_paging_test.c b/tools/testing/selftests/kvm/demand_paging_test.c
index 946161a9ce2d..b0c41de32e9b 100644
--- a/tools/testing/selftests/kvm/demand_paging_test.c
+++ b/tools/testing/selftests/kvm/demand_paging_test.c
@@ -7,7 +7,7 @@
* Copyright (C) 2019, Google, Inc.
*/
-#define _GNU_SOURCE /* for program_invocation_name and pipe2 */
+#define _GNU_SOURCE /* for pipe2 */
#include <stdio.h>
#include <stdlib.h>