virtio: add virtio_bus_get_dev_path.
authorKONRAD Frederic <fred.konrad@greensocs.com>
Thu, 16 May 2013 17:06:07 +0000 (19:06 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 16 May 2013 19:18:38 +0000 (14:18 -0500)
commit6d46895b51103fa26c97ee0e0d895c004e9594d7
treeb9e9d76edbdb0c478b66a4e077ed8b74f174676f
parentc49fdf137f0ff74804e421f157297ab0ded5d012
virtio: add virtio_bus_get_dev_path.

This adds virtio_bus_get_dev_path to fix migration id string which is wrong
since the virtio refactoring.

Signed-off-by: KONRAD Frederic <fred.konrad@greensocs.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1368723967-21050-1-git-send-email-fred.konrad@greensocs.com
Cc: mdroth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio/virtio-bus.c