On 14.11.2013, at 15:28, Benjamin Herrenschmidt <b...@kernel.crashing.org> wrote:
> On Thu, 2013-11-14 at 08:04 -0500, Alexander Graf wrote: >> 2) -nodefaults >> >> This mode is meant to pass full control to a management stack which >> wants to implement its own cleverness. The less QEMU tries to be >> smart, the more consistent we are in our interface. This mode really >> is meant as to tell QEMU to allow you to shoot yourself in the foot. >> >> So in this case, the proper fix is to add the logic to libvirt. It >> asks for a machine without cleverness applied, so it needs to do all >> of the magic itself. It already does this for the mouse btw >> (-usbdevice tablet) to allow for an absolute pointer. It's only >> sensible to ask them to do the keyboard too. In this case, x86 is the >> inconsistent platform. > > I knew you were going to answer that :-) > > Note that this is inconsistent with x86 which always create a number > of devices with -nodefaults ... such as a keyboard controller. Yes. But I think it's the correct thing to do in this case. X86 also doesn't create a USB controller like we would have to. Our pseries platform just doesn't have a legacy PC/AT keyboard controller. Alex