I'm also coming to the conclusion that it's OpenBSD's fault. I tested some
other kinds of guests since I opened this bug, and none of them crash. I'm
testing various apps that I use after upgrading one of my machines to
jessie, and simply had the misfortune to choose OpenBSD as my qemu test
case. Since this problem doesn't affect other kinds of guests, my level of
concern is much lower.

While I think it would be nicer to see errors returned to the guest, rather
than just exiting, I suppose I'm not really that concerned about it,
really. I can deal with whatever you decide, but I didn't want this to go
unreported.

As far as "regression", I was using the qemu-kvm branch in 1.1.2. With
that, I have several virtio-scsi guests running. I don't currently have an
OpenBSD guest, but I've done so in the past with no trouble. I can run your
example command with "kvm" instead of "qemu-system-x86_64" ok on wheezy.

I won't argue if you want to close this as wontfix.


On Fri, Nov 7, 2014 at 11:40 PM, Michael Tokarev <m...@tls.msk.ru> wrote:

> [I forgot to add one comment]
>
> 08.11.2014 07:32, Michael Tokarev wrote:
> > Control: tag -1 + moreinfo confirmed
> >
> > [Adding qemu-devel@]
> >
> > 08.11.2014 04:28, Ray Kohler wrote:
> >>
> >> virtio-scsi is quite unreliable compared to the version in wheezy. I see
> >> many crashes, with this output:
> >>
> >> qemu-system-x86_64: wrong size for virtio-scsi headers
>
> So you're saying this is a regression compared with version 1.1.2.
> But the thing is -- did virtio-scsi _ever_ worked in 1.1?  I don't
> think it was.  At least I can't perform the same OpenBSD install
> in 1.1 verison at all -- the installer can't write anything to
> virtio-scsi, it fails for me right when writing a partition table,
> with "Invalid argument/Illegal Request" SCSI error code.
>
> So it looks like this is not a regression, quite the opposite...
>
> Unless, ofcourse, I'm doing something incorrectly.
>
>
> qemu-system-x86_64 -enable-kvm -m 1G \
>  -device virtio-scsi-pci,id=scsi \
>  -drive file=foo.img,if=none,cache=unsafe,id=d \
>  -device scsi-hd,drive=d \
>  -vga std -cpu host -cdrom cd56.iso -monitor stdio
>
> (for both 2.1 and 1.1.)
>
> Thanks,
>
> /mjt
>

Reply via email to