Unable to import Ubuntu virtual machine on Centos 7 kvm host
316
You're seeing this error because Ubuntu put their own customizations into its version of libvirt and qemu/KVM. RHEL, of course, did the same thing.
But there's always a machine type that will work, namely, pc
. This is always aliased to the latest i440fx machine type available on the hypervisor at the time the VM is defined.
Somewhere in the XML you'll find something like:
<type arch='x86_64' machine='pc-i440fx-trusty'>hvm</type>
Just change this to:
<type arch='x86_64' machine='pc'>hvm</type>
(And note that if you use the new pc-q35-xxx
machine types, the generic machine type is q35
.)
Related videos on Youtube
Author by
vik_nag
Updated on September 18, 2022Comments
-
vik_nag almost 2 years
I am new to Jenkins, my requirement is to use the Build parameters. Where I want to populate the choice parameter from a JSON file.
-
frag over 8 yearsThanx thanx thanx!
-
David Corsalini over 8 yearsof course on RHEL, the machine type best adjusted to run on the OS is the RHEL-7.