Skip to contentSkip to conversation

virtio-scsi + iothread : segfault on drive_del

Qemu-devel Alexandre DERUMIER 2 participants 3 messages Apr 1, 2015

lore
Share & tools
lore
#0 lore raw

Hi,

I'm currently testing virtio-scsi and iothread,

and I'm seeing qemu segfault when I try to remove an scsi drive on top of an virtio-scsi controller with iothread enabled.

virtio-blk + iothread drive_del is supported since this patch

http://comments.gmane.org/gmane.comp.emulators.qemu/291562
"block: support drive_del with dataplane

This series makes hot unplug work with virtio-blk dataplane devices. It should also work with Fam's virtio-scsi dataplane patches."

I don't known about virtio-scsi ?

Regards,

Alexandre

#1 lore raw
Quoted 7 lines · Alexandre DERUMIER

I'm currently testing virtio-scsi and iothread,

and I'm seeing qemu segfault when I try to remove an scsi drive on top of an virtio-scsi controller with iothread enabled.

Quoted 7 lines

virtio-blk + iothread drive_del is supported since this patch

http://comments.gmane.org/gmane.comp.emulators.qemu/291562
"block: support drive_del with dataplane

This series makes hot unplug work with virtio-blk dataplane devices. It should also work with Fam's virtio-scsi dataplane patches."

virtio-scsi + iothread is experimental and not yet thread-safe.

Deadlocks or crashes are expected, and not really fixable without a lot of preparatory changes to core QEMU code. These are being done, but I don't expect it to be fixed before 2.5.

Paolo

#2 lore raw

Ok,

thanks paolo !

----- Mail original -----
De: "pbonzini" <[email protected]>
À: "aderumier" <[email protected]>, "qemu-devel" <[email protected]> Envoyé: Mercredi 1 Avril 2015 12:27:27
Objet: Re: virtio-scsi + iothread : segfault on drive_del

Quoted 7 lines · Alexandre DERUMIER

I'm currently testing virtio-scsi and iothread,

and I'm seeing qemu segfault when I try to remove an scsi drive on top of an virtio-scsi controller with iothread enabled.

Quoted 7 lines

virtio-blk + iothread drive_del is supported since this patch

http://comments.gmane.org/gmane.comp.emulators.qemu/291562
"block: support drive_del with dataplane

This series makes hot unplug work with virtio-blk dataplane devices. It should also work with Fam's virtio-scsi dataplane patches."

virtio-scsi + iothread is experimental and not yet thread-safe.

Deadlocks or crashes are expected, and not really fixable without a lot of preparatory changes to core QEMU code. These are being done, but I don't expect it to be fixed before 2.5.

Paolo