Re: [Qemu-devel] virtio-blk broken after system reset

2010-11-15 Thread Anthony Liguori
On 11/13/2010 04:09 AM, Jan Kiszka wrote: There is also real hw out there that goes into an error state if it's misprogrammed. I think we have to remove all those premature exits. They also prevent handing the device inside the guest to an untrusted driver (relevant once we have IOMMU emulation

Re: [Qemu-devel] virtio-blk broken after system reset

2010-11-15 Thread Kevin Wolf
Am 13.11.2010 11:09, schrieb Jan Kiszka: > Am 13.11.2010 11:01, Michael Tokarev wrote: >> 13.11.2010 10:51, Jan Kiszka wrote: >>> Am 13.11.2010 08:49, Stefan Hajnoczi wrote: On Fri, Nov 12, 2010 at 10:02 PM, Jan Kiszka wrote: > Hi, > > both after hard and guest-initiated reset, so

Re: [Qemu-devel] virtio-blk broken after system reset

2010-11-13 Thread Jan Kiszka
Am 13.11.2010 11:54, Stefan Hajnoczi wrote: > On Sat, Nov 13, 2010 at 10:09 AM, Jan Kiszka wrote: >> Am 13.11.2010 11:01, Michael Tokarev wrote: >>> Why it is trying to print things to stderr is a different >>> matter, it should be using a proper error-reporting routine, >>> but this is a differen

Re: [Qemu-devel] virtio-blk broken after system reset

2010-11-13 Thread Stefan Hajnoczi
On Sat, Nov 13, 2010 at 10:09 AM, Jan Kiszka wrote: > Am 13.11.2010 11:01, Michael Tokarev wrote: >> 13.11.2010 10:51, Jan Kiszka wrote: >>> Am 13.11.2010 08:49, Stefan Hajnoczi wrote: On Fri, Nov 12, 2010 at 10:02 PM, Jan Kiszka wrote: > Hi, > > both after hard and guest-initiat

Re: [Qemu-devel] virtio-blk broken after system reset

2010-11-13 Thread Jan Kiszka
Am 13.11.2010 11:01, Michael Tokarev wrote: > 13.11.2010 10:51, Jan Kiszka wrote: >> Am 13.11.2010 08:49, Stefan Hajnoczi wrote: >>> On Fri, Nov 12, 2010 at 10:02 PM, Jan Kiszka wrote: Hi, both after hard and guest-initiated reset, something is seriously broken with virtio bloc

Re: [Qemu-devel] virtio-blk broken after system reset

2010-11-13 Thread Michael Tokarev
13.11.2010 10:51, Jan Kiszka wrote: > Am 13.11.2010 08:49, Stefan Hajnoczi wrote: >> On Fri, Nov 12, 2010 at 10:02 PM, Jan Kiszka wrote: >>> Hi, >>> >>> both after hard and guest-initiated reset, something is seriously broken >>> with virtio block devices. If I reset my Linux guest while still in

Re: [Qemu-devel] virtio-blk broken after system reset

2010-11-12 Thread Jan Kiszka
Am 13.11.2010 08:49, Stefan Hajnoczi wrote: > On Fri, Nov 12, 2010 at 10:02 PM, Jan Kiszka wrote: >> Hi, >> >> both after hard and guest-initiated reset, something is seriously broken >> with virtio block devices. If I reset my Linux guest while still in >> grub, the bios will simply fail to read

Re: [Qemu-devel] virtio-blk broken after system reset

2010-11-12 Thread Stefan Hajnoczi
On Fri, Nov 12, 2010 at 10:02 PM, Jan Kiszka wrote: > Hi, > > both after hard and guest-initiated reset, something is seriously broken > with virtio block devices. If I reset my Linux guest while still in > grub, the bios will simply fail to read from the disk after the reboot. If I > reset after

[Qemu-devel] virtio-blk broken after system reset

2010-11-12 Thread Jan Kiszka
Hi, both after hard and guest-initiated reset, something is seriously broken with virtio block devices. If I reset my Linux guest while still in grub, the bios will simply fail to read from the disk after the reboot. If I reset after Linux touched the device, qemu terminates: Breakpoint 1, 0x