Skip to contentSkip to conversation

commit 0be63901d2a33a6ed25caa5df3f530df75338f6a breaks "-kernel"

Qemu-devel Gabriel L. Somlo 2 participants 2 messages Mar 2, 2015

lore
Share & tools
lore
#0 lore raw

Using "-kenel <file>" results in a segmentation fault (at least with qemu-system-x86_64). Bisect says the breakage was introduced by commit

commit 0be63901d2a33a6ed25caa5df3f530df75338f6a

Author: Gonglei <[email protected]>
Date:   Thu Jan 29 15:08:51 2015 +0800

qdev: support to get a device firmware path directly

commit 6b1566c (qdev: Introduce FWPathProvider interface) did a good job for supproting to get firmware path on some different architectures.

Moreover further more, we can use the interface to get firmware path name for a device which isn't attached a specific bus, such as virtio-bus, scsi-bus etc.

When the device (such as vhost-scsi) realize the TYPE_FW_PATH_PROVIDER interface, we should introduce a new function to get the correct firmware path name for it.

Reverting the commit seems to fix the problem for me, as a temporary solution.

Thanks,
--Gabriel

#1 lore raw
Quoted 21 lines · Gabriel L. Somlo

Using "-kenel <file>" results in a segmentation fault (at least with qemu-system-x86_64). Bisect says the breakage was introduced by commit

commit 0be63901d2a33a6ed25caa5df3f530df75338f6a

Author: Gonglei <[email protected]>
Date:   Thu Jan 29 15:08:51 2015 +0800

qdev: support to get a device firmware path directly

commit 6b1566c (qdev: Introduce FWPathProvider interface) did a good job for supproting to get firmware path on some different architectures.

Moreover further more, we can use the interface to get firmware path name for a device which isn't attached a specific bus, such as virtio-bus, scsi-bus etc.

When the device (such as vhost-scsi) realize the TYPE_FW_PATH_PROVIDER interface, we should introduce a new function to get the correct firmware path name for it.

Quoted 5 lines

Reverting the commit seems to fix the problem for me, as a temporary solution.

Gonglei sent a patch for this, and it's in my pull request from this morning.

Paolo