Question about KVM domain not available on trusty

I forgot, on trusty, qemu-kvm doesn't exist as is, and when I try to create a template I get errors like: libvirt: QEMU Driver error : unsupported configuration: Domain requires KVM, but it is not available. Check that virtualization is enabled in the host BIOS, and host configuration is setup to load the kvm modules. So 2 issues there - in trusty get a proper qemu version to avoid messages error: internal error: process exited while connecting to monitor: Warning: Disabling some instructions which are not emulated by TCG (0x0, 0x4) qemu: hardware error: qemu: could not load LPAR rtas '(null)' - in kimchi, detect if kvm not a valid domain type then use qemu Does that sound an issue ? - do you want me to code that ? Thanks -- Thierry Fauck @ linux.vnet.ibm

On 06/02/2015 14:54, Thierry Fauck@linux.vnet.ibm.com wrote:
I forgot, on trusty, qemu-kvm doesn't exist as is,
and when I try to create a template I get errors like:
libvirt: QEMU Driver error : unsupported configuration: Domain requires KVM, but it is not available. Check that virtualization is enabled in the host BIOS, and host configuration is setup to load the kvm modules.
So 2 issues there - in trusty get a proper qemu version to avoid messages
error: internal error: process exited while connecting to monitor: Warning: Disabling some instructions which are not emulated by TCG (0x0, 0x4) qemu: hardware error: qemu: could not load LPAR rtas '(null)'
- in kimchi, detect if kvm not a valid domain type then use qemu
When kvm will not be a valid domain? Some dependency on package version?
Does that sound an issue ? - do you want me to code that ? Thanks -- Thierry Fauck @ linux.vnet.ibm
_______________________________________________ Kimchi-devel mailing list Kimchi-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/kimchi-devel

On 02/09/15 15:55, Aline Manera wrote:
On 06/02/2015 14:54, Thierry Fauck@linux.vnet.ibm.com wrote:
I forgot, on trusty, qemu-kvm doesn't exist as is,
and when I try to create a template I get errors like:
libvirt: QEMU Driver error : unsupported configuration: Domain requires KVM, but it is not available. Check that virtualization is enabled in the host BIOS, and host configuration is setup to load the kvm modules.
So 2 issues there - in trusty get a proper qemu version to avoid messages
error: internal error: process exited while connecting to monitor: Warning: Disabling some instructions which are not emulated by TCG (0x0, 0x4) qemu: hardware error: qemu: could not load LPAR rtas '(null)'
- in kimchi, detect if kvm not a valid domain type then use qemu
When kvm will not be a valid domain? Some dependency on package version?
yes - on trusty there is no qemu-kvm package by default and virsh capabilities show the domain type for arch ppc64 as qemu only - on utopic it shows kvm and qemu. The issue is the same for x86_64 arch. The question would be - should we use what'is in the release and adapt kimchi for it or should be build what's needed for the product to work ? Thanks
Does that sound an issue ? - do you want me to code that ? Thanks -- Thierry Fauck @ linux.vnet.ibm
_______________________________________________ Kimchi-devel mailing list Kimchi-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/kimchi-devel
-- Thierry Fauck (thierry@linux.vnet.ibm.com)

On x86_64, I get: # kvm-ok INFO: Your CPU does not support KVM extensions KVM acceleration can NOT be used and virsh capabilities <guest> <os_type>hvm</os_type> <arch name='x86_64'> <wordsize>64</wordsize> .... <machine maxCpus='255'>pc-0.13</machine> <domain type='qemu'> </domain> </arch> <features> <cpuselection/> <deviceboot/> <disksnapshot default='on' toggle='no'/> <acpi default='on' toggle='yes'/> <apic default='on' toggle='no'/> </features> </guest> On 02/09/2015 09:30 PM, Thierry Fauck ( thierry @ linux.vnet.ibm.com ) wrote:
On 02/09/15 15:55, Aline Manera wrote:
On 06/02/2015 14:54, Thierry Fauck@linux.vnet.ibm.com wrote:
I forgot, on trusty, qemu-kvm doesn't exist as is,
and when I try to create a template I get errors like:
libvirt: QEMU Driver error : unsupported configuration: Domain requires KVM, but it is not available. Check that virtualization is enabled in the host BIOS, and host configuration is setup to load the kvm modules.
So 2 issues there - in trusty get a proper qemu version to avoid messages
error: internal error: process exited while connecting to monitor: Warning: Disabling some instructions which are not emulated by TCG (0x0, 0x4) qemu: hardware error: qemu: could not load LPAR rtas '(null)'
- in kimchi, detect if kvm not a valid domain type then use qemu
When kvm will not be a valid domain? Some dependency on package version?
yes - on trusty there is no qemu-kvm package by default and virsh capabilities show the domain type for arch ppc64 as qemu only - on utopic it shows kvm and qemu. The issue is the same for x86_64 arch. The question would be - should we use what'is in the release and adapt kimchi for it or should be build what's needed for the product to work ? Thanks
Does that sound an issue ? - do you want me to code that ? Thanks -- Thierry Fauck @ linux.vnet.ibm
_______________________________________________ Kimchi-devel mailing list Kimchi-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/kimchi-devel
-- Thierry Fauck (thierry@linux.vnet.ibm.com)
_______________________________________________ Kimchi-devel mailing list Kimchi-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/kimchi-devel
-- Thierry Fauck @ linux.vnet.ibm

On 09/02/2015 18:30, Thierry Fauck ( thierry @ linux.vnet.ibm.com ) wrote:
On 02/09/15 15:55, Aline Manera wrote:
On 06/02/2015 14:54, Thierry Fauck@linux.vnet.ibm.com wrote:
I forgot, on trusty, qemu-kvm doesn't exist as is,
and when I try to create a template I get errors like:
libvirt: QEMU Driver error : unsupported configuration: Domain requires KVM, but it is not available. Check that virtualization is enabled in the host BIOS, and host configuration is setup to load the kvm modules.
So 2 issues there - in trusty get a proper qemu version to avoid messages
error: internal error: process exited while connecting to monitor: Warning: Disabling some instructions which are not emulated by TCG (0x0, 0x4) qemu: hardware error: qemu: could not load LPAR rtas '(null)'
- in kimchi, detect if kvm not a valid domain type then use qemu
When kvm will not be a valid domain? Some dependency on package version?
yes - on trusty there is no qemu-kvm package by default and virsh capabilities show the domain type for arch ppc64 as qemu only - on utopic it shows kvm and qemu. The issue is the same for x86_64 arch. The question would be - should we use what'is in the release and adapt kimchi for it or should be build what's needed for the product to work ? Thanks
Ok - I am OK to switch to qemu when kvm is not present but the default must continue to be kvm. You can use conn.getCapabilities() to get the available options for that according to arch.
Does that sound an issue ? - do you want me to code that ? Thanks -- Thierry Fauck @ linux.vnet.ibm
_______________________________________________ Kimchi-devel mailing list Kimchi-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/kimchi-devel
-- Thierry Fauck (thierry@linux.vnet.ibm.com)
participants (3)
-
Aline Manera
-
Thierry Fauck ( thierry @ linux.vnet.ibm.com )
-
Thierry Fauck@linux.vnet.ibm.com