[Qemu-devel] Re: fdc: refactor device creation causes guest kernel panic

2011-03-12 Thread Blue Swirl
On Sat, Mar 12, 2011 at 2:58 PM, Stefan Hajnoczi wrote: > On Sat, Mar 12, 2011 at 10:53 AM, Blue Swirl wrote: >> The logic for calculating the drive state in pc.c does not match fdc.c >> logic. Please try this patch. >> >> diff --git a/hw/pc.c b/hw/pc.c >> index 5966bf1..4d67d9f 100644 >> --- a/h

[Qemu-devel] Re: fdc: refactor device creation causes guest kernel panic

2011-03-12 Thread Stefan Hajnoczi
On Sat, Mar 12, 2011 at 10:53 AM, Blue Swirl wrote: > The logic for calculating the drive state in pc.c does not match fdc.c > logic. Please try this patch. > > diff --git a/hw/pc.c b/hw/pc.c > index 5966bf1..4d67d9f 100644 > --- a/hw/pc.c > +++ b/hw/pc.c > @@ -382,7 +382,7 @@ void pc_cmos_init(ra

[Qemu-devel] Re: fdc: refactor device creation causes guest kernel panic

2011-03-12 Thread Blue Swirl
On Wed, Mar 9, 2011 at 4:34 PM, Stefan Hajnoczi wrote: > The following kernel panic occurs when the RHEL6 installer starts on > qemu.git/master: > > BUG: unable to handle kernel NULL pointer dereference at (null) > IP: [] floppy_ready+0xfb/0x730 [floppy] > > For full details see http://pastebin.co