Re: [Qemu-devel] [PATCH] virtio-input: Fix device introspection on non-Linux hosts

2015-10-06 Thread Gerd Hoffmann
On Di, 2015-10-06 at 11:19 +0200, Markus Armbruster wrote: > Fix by compiling the "virtio-FOO-pci" exactly when compiling the > "virtio-FOO-device": compile "virtio-keyboard-device", > "virtio-mouse-device", "virtio-tablet-device" regardless of > CONFIG_LINUX, and compile "virtio-input-host-pci" on

[Qemu-devel] [PATCH] virtio-input: Fix device introspection on non-Linux hosts

2015-10-06 Thread Markus Armbruster
When CONFIG_LINUX is off, devices "virtio-keyboard-device", "virtio-mouse-device", "virtio-tablet-device" and "virtio-input-host-device" aren't compiled in, yet "virtio-keyboard-pci", "virtio-mouse-pci", "virtio-tablet-pci" and "virtio-input-host-pci" still are. Attempts to introspect them crash,