All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] strange bug with virtio-blk-pci properties
@ 2010-05-24 10:51 Gleb Natapov
  0 siblings, 0 replies; only message in thread
From: Gleb Natapov @ 2010-05-24 10:51 UTC (permalink / raw)
  To: qemu-devel

Running:

$ qemu-system-x86_64  -device virtio-blk-pci,logical_block_size=4096,physical_block_size=4096,drive=boot
-drive file=/tmp/a.qcow2,if=none,id=boot

gives me: Floating point exception

The crash is in hw/virtio-blk.c:505 blkcfg.blk_size is zero because
s->conf->logical_block_size is zero.

Running:

$ qemu-system-x86_64  -device virtio-blk-pci,physical_block_size=4096,logical_block_size=4096,drive=boot
-drive file=/tmp/a.qcow2,if=none,id=boot

works.

--
			Gleb.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-05-24 10:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-24 10:51 [Qemu-devel] strange bug with virtio-blk-pci properties Gleb Natapov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.