]> Git Repo - qemu.git/commit - bootdevice.c
qdev: support to get a device firmware path directly
authorGonglei <[email protected]>
Thu, 29 Jan 2015 07:08:51 +0000 (15:08 +0800)
committerPaolo Bonzini <[email protected]>
Wed, 11 Feb 2015 20:47:51 +0000 (21:47 +0100)
commit0be63901d2a33a6ed25caa5df3f530df75338f6a
tree646c8bc5c70c485cd6db1ab64f295c6875f6621c
parentedecf5eced082cb45e213cb4e791b2fcf9f867c1
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.

Signed-off-by: Gonglei <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
bootdevice.c
hw/core/qdev.c
include/hw/qdev-core.h
This page took 0.026133 seconds and 4 git commands to generate.