This lets us exercise both states of the "p2v.vcpu.phys_topo" switch
sensibly via the in-VM GUI.
Bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=1590721
Signed-off-by: Laszlo Ersek <lersek(a)redhat.com>
Acked-by: Richard W.M. Jones <rjones(a)redhat.com>
---
Notes:
v2:
- pick up Rich's A-b
- s/dense_topo/phys_topo/ in the commit message [Rich]
Makefile.am | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Makefile.am b/Makefile.am
index f2fe0e3efc99..19c5f04c2fab 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -268,6 +268,7 @@ run-virt-p2v-in-a-vm: virt-p2v.img $(PHYSICAL_MACHINE)
$(shell guestfish get-hv) \
-M pc,accel=kvm:tcg \
-cpu host \
+ -smp sockets=1,cores=2,threads=2 \
-m 2048 \
-drive id=hd0,file=$(PHYSICAL_MACHINE),format=raw,if=ide \
-device qemu-xhci \
@@ -287,6 +288,7 @@ run-virt-p2v-in-an-nvme-vm: virt-p2v.img $(PHYSICAL_MACHINE)
$(BLANK_DISK)
$(shell guestfish get-hv) \
-M pc,accel=kvm:tcg \
-cpu host \
+ -smp sockets=1,cores=2,threads=2 \
-m 2048 \
-boot menu=on \
\