Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1590721
The first patch is a small improvement ("bugfix") for an obscure corner case that is triggerable on the current code base (@ 0687cea6a86e). It is not overly important in practice in itself, but it's a pre-requisite for patch#4. The other patches restrict the CPU topology options to { fully populated physical, 1 * N * 1 } -- currently it's too easy to create an inconsistent topology. These options are available through the GUI and the kernel command line; "fully populated physical" is made the default as well. Laszlo Laszlo Ersek (6): gui: check VCPU & memory limits upon showing the conversion dialog restrict vCPU topology to (a) fully populated physical, or (b) 1 * N * 1 gui: set row count from a running variable when populating tables gui: offer copying the vCPU topology from the fully populated physical one copy fully populated vCPU topology by default Makefile.am: set vCPU topology to 1*2*2 in the "p2v in a VM" tests Makefile.am | 2 + cpuid.c | 39 ++++--- generate-p2v-config.pl | 45 ++++--- gui-gtk3-compat.h | 8 +- gui.c | 123 ++++++++++++++------ main.c | 8 +- p2v.h | 6 + physical-xml.c | 54 ++++----- test-virt-p2v-cmdline.sh | 5 +- 9 files changed, 182 insertions(+), 108 deletions(-) _______________________________________________ Libguestfs mailing list Libguestfs@redhat.com https://listman.redhat.com/mailman/listinfo/libguestfs