Richard W.M. Jones
55879b2f2c
v2v: Model machine type explicitly.
...
QEMU for x86 supports two machine types, "pc" (emulating the ancient
Intel i440FX chipset originally used by the Pentium Pro), and "q35"
(https://wiki.qemu.org/Features/Q35 ).
Currently virt-v2v does not set any machine type, so libvirt or the
target hypervisor will choose some default, probably i440fx. The
latest advice from the QEMU and libvirt communities is not to rely on
the default machine type but to specify what we need explicitly, but
it may also be that the libvirt configuration file has been changed to
set the default machine type to Q35 (either by the distro or the end
user).
None of this matters for reasonably new guests since they can boot
with either chipset. However there are some very old guests (notably
Windows XP) which cannot handle Q35.
This commit changes virt-v2v so it always tries to specify the machine
type explicitly (assuming the target supports that, and not all of
them do). For x86_64 guests this patch always selects i440fx (pc).
In future we hope to get the correct machine type for the guest from
libosinfo but this is not available yet.
For non-x86 architectures we select the "virt" model which will
probably only work for AArch64. More work is needed for POWER.
For secure boot we still have to force the machine type to Q35. In a
future version this forcing can be removed since any guest which is
using secure boot will be new enough that it'll be using Q35 anyway
(on x86).
2018-07-26 12:02:59 +01:00
..
2018-04-12 11:43:56 +02:00
2018-01-04 15:30:10 +00:00
2018-01-04 15:30:10 +00:00
2018-07-17 16:32:44 +01:00
2018-07-09 08:56:45 +01:00
2018-07-26 12:02:59 +01:00
2018-02-12 14:32:19 +01:00
2018-07-26 12:02:59 +01:00
2018-01-04 15:30:10 +00:00
2018-06-12 10:29:16 +01:00
2018-01-04 15:30:10 +00:00
2018-07-26 12:02:59 +01:00
2018-01-04 15:30:10 +00:00
2018-07-26 12:02:59 +01:00
2018-05-29 07:04:50 +02:00
2018-02-26 09:54:07 +00:00
2018-02-26 09:54:07 +00:00
2018-04-17 11:56:09 +01:00
2018-07-09 08:56:45 +01:00
2018-01-04 15:30:10 +00:00
2018-06-12 10:29:17 +01:00
2018-01-04 15:30:10 +00:00
2018-06-12 10:29:17 +01:00
2018-01-04 15:30:10 +00:00
2018-06-12 10:29:17 +01:00
2018-06-12 10:29:17 +01:00
2018-06-12 10:29:17 +01:00
2018-01-04 15:30:10 +00:00
2018-06-12 10:29:17 +01:00
2018-06-12 10:29:17 +01:00
2018-01-04 15:30:10 +00:00
2018-01-04 15:30:10 +00:00
2018-07-09 08:56:45 +01:00
2018-01-04 15:30:10 +00:00
2018-07-09 08:56:45 +01:00
2017-12-09 21:18:17 +00:00
2018-04-17 11:56:13 +01:00
2018-01-04 15:30:10 +00:00
2018-01-04 15:30:10 +00:00
2018-06-12 10:29:16 +01:00
2018-06-12 10:29:16 +01:00
2018-01-04 15:30:10 +00:00
2018-01-04 15:30:10 +00:00
2018-05-22 10:46:21 +02:00
2018-01-04 15:30:10 +00:00
2018-01-04 15:30:10 +00:00
2018-01-04 15:30:10 +00:00
2018-07-17 16:32:44 +01:00
2018-06-22 12:51:10 +01:00
2018-01-04 15:30:10 +00:00
2018-01-04 15:30:10 +00:00
2018-01-04 15:30:10 +00:00
2018-07-17 16:32:44 +01:00
2018-07-17 16:32:44 +01:00
2018-07-26 12:02:59 +01:00
2018-01-04 15:30:10 +00:00
2018-01-04 15:30:10 +00:00
2018-01-04 15:30:10 +00:00
2018-06-28 10:10:10 +02:00
2018-01-04 15:30:10 +00:00
2018-05-22 10:25:30 +02:00
2018-01-04 15:30:10 +00:00
2018-07-26 12:02:59 +01:00
2018-01-04 15:30:10 +00:00
2018-04-17 11:56:09 +01:00
2018-04-17 11:56:09 +01:00
2018-04-17 11:56:09 +01:00
2018-07-17 17:12:38 +02:00
2018-04-17 11:56:09 +01:00
2018-02-22 15:06:13 +00:00
2018-01-04 15:30:10 +00:00
2018-05-29 07:04:50 +02:00
2018-03-29 13:40:38 +01:00
2018-07-09 08:56:45 +01:00
2018-01-04 15:30:10 +00:00
2018-04-27 10:13:04 +01:00
2018-04-27 10:13:04 +01:00
2018-07-09 08:56:45 +01:00
2018-04-27 10:13:04 +01:00
2017-12-08 16:22:11 +00:00
2017-04-11 22:39:38 +01:00
2018-01-04 15:30:10 +00:00
2018-01-04 15:30:10 +00:00
2018-01-04 15:30:10 +00:00
2018-04-17 11:56:09 +01:00
2018-07-25 09:38:18 +01:00
2018-04-17 11:56:09 +01:00
2018-01-04 15:30:10 +00:00
2018-01-04 15:30:10 +00:00
2017-02-21 17:23:22 +00:00
2017-02-21 17:23:22 +00:00
2018-01-04 15:30:10 +00:00
2018-01-04 15:30:10 +00:00
2017-02-21 17:23:22 +00:00
2018-06-12 10:29:16 +01:00
2016-06-22 18:25:36 +01:00
2018-01-04 15:30:10 +00:00
2018-01-04 15:30:10 +00:00
2017-02-21 17:23:22 +00:00
2017-03-13 15:01:12 +00:00
2017-03-13 15:01:12 +00:00
2018-04-27 10:13:04 +01:00
2018-04-27 10:13:04 +01:00
2017-03-07 12:47:51 +00:00
2018-07-09 08:56:45 +01:00
2018-01-04 15:30:10 +00:00
2018-01-04 15:30:10 +00:00
2018-07-09 08:56:45 +01:00
2017-01-31 12:01:12 +00:00
2017-02-21 17:23:22 +00:00
2018-01-04 15:30:10 +00:00
2018-01-04 15:30:10 +00:00
2018-07-09 08:56:45 +01:00
2018-07-09 08:56:45 +01:00
2018-04-27 10:13:04 +01:00
2018-04-27 10:13:04 +01:00
2018-07-09 08:56:45 +01:00
2018-07-09 08:56:45 +01:00
2016-05-24 09:19:48 +01:00
2017-03-13 15:01:12 +00:00
2018-07-09 08:56:45 +01:00
2018-07-09 08:56:45 +01:00
2017-02-04 15:13:29 +00:00
2017-03-13 15:01:12 +00:00
2018-07-09 08:56:45 +01:00
2018-07-09 08:56:45 +01:00
2017-03-13 15:01:12 +00:00
2017-02-23 15:42:15 +00:00
2018-07-26 12:02:59 +01:00
2018-07-09 08:56:45 +01:00
2017-04-11 22:39:38 +01:00
2018-07-09 08:56:45 +01:00
2017-04-11 22:39:38 +01:00
2018-07-09 08:56:45 +01:00
2017-04-11 22:39:38 +01:00
2018-07-09 08:56:45 +01:00
2017-04-11 22:39:38 +01:00
2018-07-09 08:56:45 +01:00
2017-10-12 16:31:49 +01:00
2017-10-12 16:31:49 +01:00
2017-02-21 17:23:22 +00:00
2018-03-29 13:40:38 +01:00
2018-07-17 16:32:44 +01:00
2018-07-17 16:32:44 +01:00
2018-07-17 16:32:44 +01:00
2017-02-21 17:23:22 +00:00
2018-07-09 08:56:45 +01:00
2017-02-21 17:23:22 +00:00
2018-01-04 15:30:10 +00:00
2017-02-21 17:23:22 +00:00
2017-02-21 17:23:22 +00:00
2017-03-08 13:13:36 +01:00
2017-02-21 17:23:22 +00:00
2017-02-21 17:23:22 +00:00
2018-04-17 11:56:09 +01:00
2018-07-13 13:32:38 +01:00
2018-06-21 15:16:53 +01:00
2018-03-29 13:40:38 +01:00
2018-07-13 18:04:46 +02:00
2018-06-21 15:16:53 +01:00
2018-01-04 15:30:10 +00:00
2017-02-21 17:23:22 +00:00
2017-02-21 17:23:22 +00:00
2018-07-09 08:56:45 +01:00
2017-03-17 11:08:22 +00:00
2017-03-17 11:23:50 +00:00
2018-04-17 11:56:09 +01:00
2017-02-23 12:52:13 +00:00
2018-01-04 15:30:10 +00:00
2017-02-21 17:23:22 +00:00
2017-02-24 20:59:17 +00:00
2017-02-24 20:59:17 +00:00
2018-07-26 12:02:59 +01:00
2018-07-26 12:02:59 +01:00
2018-04-27 10:13:04 +01:00
2018-04-27 10:13:04 +01:00
2018-03-29 13:40:38 +01:00
2018-07-09 08:56:45 +01:00
2018-01-04 15:30:10 +00:00
2018-06-12 10:29:16 +01:00
2018-06-12 10:29:16 +01:00
2018-06-12 10:29:16 +01:00
2018-07-17 16:32:44 +01:00
2018-04-20 13:01:48 +01:00
2018-01-04 15:30:10 +00:00
2018-01-04 15:30:10 +00:00
2018-01-04 15:30:10 +00:00