Re: [Qemu-devel] [PATCH V4 05/18] support NEC PC-9821 keyboard
+void pc98_kbd_init(void) +{ +ISADevice *dev; + +dev = isa_create("pc98-kbd"); +qdev_init_nofail(&dev->qdev); +} There is no need for such a wrapper. You can use isa_create_simple("pc98-kbd"); instead. Likewise for other devices (mouse, ...). cheers, Gerd
[Qemu-devel] [PATCH V4 05/18] support NEC PC-9821 keyboard
Signed-off-by: TAKEDA, toshiya --- hw/pc98kbd.c | 395 ++ 1 files changed, 395 insertions(+), 0 deletions(-) create mode 100644 hw/pc98kbd.c diff --git a/hw/pc98kbd.c b/hw/pc98kbd.c new file mode 100644 index 000..04e1fa5 --- /dev/nul