[opensuse-arm] KVM on RPi3
Hi guys! I would like to test virtual machines on my rpi3 (just for fun of course! with the limited memory...). I tried with a Leap 42.3 but I ran into some issue, mainly missing packages or not installed with the kvm_server pattern. So I had to add the "Virtualization" repo from OBS. But even with it, I get the following error when I try to create a VM: Initialization of device arm_gic failed: KVM with user space irqchip only works when the host kernel supports KVM_CAP_ARM_USER_IRQ I was able to execute a VM (YES!) after installing a 4.13 kernel from "Kernel Untested" repo. So, "simple" question: is it plan to add KVM_CAP_ARM_USER_IRQ in the official Leap 42.3 kernel? Or is it better to use Tumbleweed for KVM testing on rpi3? -- Loic -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On 09.10.17 16:37, Loic Devulder wrote:
Hi guys!
I would like to test virtual machines on my rpi3 (just for fun of course! with the limited memory...).
I tried with a Leap 42.3 but I ran into some issue, mainly missing packages or not installed with the kvm_server pattern. So I had to add the "Virtualization" repo from OBS.
But even with it, I get the following error when I try to create a VM: Initialization of device arm_gic failed: KVM with user space irqchip only works when the host kernel supports KVM_CAP_ARM_USER_IRQ
I was able to execute a VM (YES!) after installing a 4.13 kernel from "Kernel Untested" repo.
So, "simple" question: is it plan to add KVM_CAP_ARM_USER_IRQ in the official Leap 42.3 kernel? Or is it better to use Tumbleweed for KVM testing on rpi3?
It's there, but it only works with the Leap 42.3 QEMU version, as the patches weren't upstream by the time the kernel was done yet, so it uses non-upstream identifiers. In a nutshell, use 42.3 QEMU and kernel and it should work too :). Alex -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On 10/09/2017 04:39 PM, Alexander Graf wrote:
So, "simple" question: is it plan to add KVM_CAP_ARM_USER_IRQ in the official Leap 42.3 kernel? Or is it better to use Tumbleweed for KVM testing on rpi3?
It's there, but it only works with the Leap 42.3 QEMU version, as the patches weren't upstream by the time the kernel was done yet, so it uses non-upstream identifiers.
In a nutshell, use 42.3 QEMU and kernel and it should work too :).
I had to add the "Virtualization" repository because qemu-ipxe is missing, and so virt-manager showed me an error. So, I installed qemu-ipxe apart and try with 42.3 QEMU and kernel and it works :) Thanks. -- Loic Devulder - Senior QA Engineer email: ldevulder@suse.de Container & Storage Solutions Quality Assurance team (qa-css) SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
FI, I had an kernel warning with mmu.c, bug opened: https://bugzilla.suse.com/show_bug.cgi?id=1062383 On 10/09/2017 06:42 PM, Loic Devulder wrote:
On 10/09/2017 04:39 PM, Alexander Graf wrote:
So, "simple" question: is it plan to add KVM_CAP_ARM_USER_IRQ in the official Leap 42.3 kernel? Or is it better to use Tumbleweed for KVM testing on rpi3?
It's there, but it only works with the Leap 42.3 QEMU version, as the patches weren't upstream by the time the kernel was done yet, so it uses non-upstream identifiers.
In a nutshell, use 42.3 QEMU and kernel and it should work too :).
I had to add the "Virtualization" repository because qemu-ipxe is missing, and so virt-manager showed me an error.
So, I installed qemu-ipxe apart and try with 42.3 QEMU and kernel and it works :)
Thanks.
-- Loic Devulder - Senior QA Engineer email: ldevulder@suse.de Container & Storage Solutions Quality Assurance team (qa-css) SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Am 09.10.2017 um 18:42 schrieb Loic Devulder:
On 10/09/2017 04:39 PM, Alexander Graf wrote:
So, "simple" question: is it plan to add KVM_CAP_ARM_USER_IRQ in the official Leap 42.3 kernel? Or is it better to use Tumbleweed for KVM testing on rpi3?
It's there, but it only works with the Leap 42.3 QEMU version, as the patches weren't upstream by the time the kernel was done yet, so it uses non-upstream identifiers.
In a nutshell, use 42.3 QEMU and kernel and it should work too :).
I had to add the "Virtualization" repository because qemu-ipxe is missing, and so virt-manager showed me an error.
Sounds like we're missing an aggregate package for Leap. This is an x86-built firmware package: As quicker workaround you can just touch a file of the expected name. https://build.opensuse.org/package/view_file/openSUSE:Factory:ARM/qemu-aggre... Regards, Andreas
So, I installed qemu-ipxe apart and try with 42.3 QEMU and kernel and it works :)
Thanks.
-- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On 10/09/2017 10:23 PM, Andreas Färber wrote:
Sounds like we're missing an aggregate package for Leap. This is an x86-built firmware package: As quicker workaround you can just touch a file of the expected name. I tried to touch the file (/usr/share/qemu/efi-virtio.rom) but it's not working. If I installed the *real* file it's ok.
One other package is also missing during kvm_server pattern installation: libvirt-client is not installed. It should be installed with that pattern, no? -- Loic Devulder - Senior QA Engineer email: ldevulder@suse.de Container & Storage Solutions Quality Assurance team (qa-css) SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
participants (3)
-
Alexander Graf
-
Andreas Färber
-
Loic Devulder