Skip to contentSkip to conversation

9p crash bugs

Qemu-devel Markus Armbruster 2 participants 3 messages Oct 8, 2010 – Oct 11, 2010

lore
Share & tools
lore
#0 lore raw

No idea how this stuff works, just playing with the options. Crashes left & right:

* -device virtio-9p-pci
Virtio-9p device couldn't find fsdev with the id (null)

Passes null pointer for %s, crash on some systems.

By the way, shouldn't fsdev work more like netdev, drive, chr? I.e. make the property a pointer to fsdev, not its name.

* -fsdev id=fsd0

qemu_fsdev_add() passes null pointer to strcmp().

* -fsdev local,id=fsd0,security_model=

qemu_fsdev_add() passes null pointer to qemu_strdup().

Brown paper bags anyone?

#1 lore raw

Markus, thanks for looking into it.

Will look into the errors and fix them asap..at least it should fail gracefully if the arguments
are not correct/insufficient.

BTW, we added a setup help page under QEMU documentation..and it can get you started..

http://wiki.qemu.org/Documentation/9psetup

Thanks,
JV

Quoted 21 lines · Markus Armbruster

No idea how this stuff works, just playing with the options. Crashes left & right:

* -device virtio-9p-pci
Virtio-9p device couldn't find fsdev with the id (null)

Passes null pointer for %s, crash on some systems.

By the way, shouldn't fsdev work more like netdev, drive, chr? I.e. make the property a pointer to fsdev, not its name.

* -fsdev id=fsd0

qemu_fsdev_add() passes null pointer to strcmp().

* -fsdev local,id=fsd0,security_model=

qemu_fsdev_add() passes null pointer to qemu_strdup().

Brown paper bags anyone?

#2 lore raw
Quoted 5 lines · Venkateswararao Jujjuri (JV)

Markus, thanks for looking into it.

Will look into the errors and fix them asap..at least it should fail gracefully if the arguments
are not correct/insufficient.

Thanks!

Quoted 4 lines

BTW, we added a setup help page under QEMU documentation..and it can get you started..

http://wiki.qemu.org/Documentation/9psetup

Looks useful.