Re: [Qemu-devel] [QEMU][RFC V2 10/10] xen: emulate IDE outside default device set

2012-08-23 Thread Stefano Stabellini
On Wed, 22 Aug 2012, Julien Grall wrote: > IDE can be emulate in a different QEMU that the default. > > This patch also fixes ide_get_geometry. When QEMU didn't emulate IDE, ^doesn't > it try to derefence a NULL bus. ^tries to dereference

[Qemu-devel] [QEMU][RFC V2 10/10] xen: emulate IDE outside default device set

2012-08-22 Thread Julien Grall
IDE can be emulate in a different QEMU that the default. This patch also fixes ide_get_geometry. When QEMU didn't emulate IDE, it try to derefence a NULL bus. Signed-off-by: Julien Grall --- hw/ide/qdev.c |8 +++- hw/pc_piix.c | 38 -- hw/xen.h