[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] No USB host controller and devices on virtualized gue

From: Eric Valette
Subject: Re: [Qemu-discuss] No USB host controller and devices on virtualized guest OS (on Arndale board)
Date: Thu, 05 Feb 2015 11:32:55 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:34.0) Gecko/20100101 Icedove/34.0

On 05/02/2015 11:15, Peter Maydell wrote:
On 5 February 2015 at 09:51, Eric Valette <address@hidden> wrote:
This is a pity :

KVM -> Cortex A15 (ok or A17 or A57) -> Host A15 -> Guest A15 -> NO USB

Right, but USB devices aren't a very common use case for servers,
which is what KVM has been primarily targeting.

Well, on Intel/AMD world virtualization is used on servers sure, but when using ARM for servers then I guess they would rather use arm V8 and 64 bits (A53/A57) not A15.

Virtualization on Intel/AMD world is also used to emulate different OS (windows on linux, android x86, ...) and there you need performance that you can only achieve using KVM...

I would like to emulate android on Linux mainly for securing the underlying host (more than with container)s and I need to get decent performances so I need KVM.

And seen in the doc the way you should pass the USB keyboard or Mouse to the
guest (which only emulates PS2), I'm wondering if you can get any input from
the graphic window (not even speaking about X11 at first, even command

This should definitely work. I don't seem to have a vexpress-a15
image with the pl050 support compiled in at the moment, but
I tested with versatilepb and vexpress-a9 images (which both
use the same pl050 keyboard/mouse setup as the vexpress-a15)
and keyboard input works fine.

It unfortunately does not. We do see the emulated PS2 keyboard and mouse in the Xorg.0.log guest log file so they seem to be correctly emulated but host input is not automatically redirected there. Host input is correctly redirected to the monitor part of the graphic qemu windows, not the guest part.

We manage to get the prompt on the tty1 console in the graphic
windows, by sending via monitor sendkey ctr-alt-f1 but do not manage to have
any input there.

This sounds like something is broken (maybe a guest misconfiguration?
maybe a qemu bug?) but it has nothing to do with USB. The graphic
window console just takes key input from your host OS (like any
other window in your host OS) and sends it to the guest keyboard
and mouse, which in this case is PS/2.

OK. No specific options to pass to qemu? Then we need to debug it because it does not work. Any hint?

Thanks for your time.

-- eric

reply via email to

[Prev in Thread] Current Thread [Next in Thread]