Re: [Qemu-devel] Assigning a new virtio block device (-drive)

2011-10-28 Thread Markus Armbruster
"Leib, David" writes: > Hi, > I am trying to assign a new virtio block device in addition to a normal > virtio block device who are accessing exactly the same cdrom drive > ("/dev/sr0") because I additionaly want to access the block device in my way > by manually calling the virtqueue_pop and

Re: [Qemu-devel] Assigning a new virtio block device (-drive)

2011-10-27 Thread Paolo Bonzini
On 10/27/2011 02:47 PM, Leib, David wrote: and insert the same data like the normal virtio block device (“file=/dev/sr0” and “if=virtio”) in qemu_config.c. I'm not sure what you are doing wrong exactly, but try using if=none and creating the device separately with -device. You shouldn't need

[Qemu-devel] Assigning a new virtio block device (-drive)

2011-10-27 Thread Leib, David
Hi, I am trying to assign a new virtio block device in addition to a normal virtio block device who are accessing exactly the same cdrom drive ("/dev/sr0") because I additionaly want to access the block device in my way by manually calling the virtqueue_pop and virtqueue_push and not the normal