]> git.proxmox.com Git - qemu.git/commit
Add serial number support for virtio_blk
authorjohn cooper <john.cooper@redhat.com>
Mon, 22 Jun 2009 18:26:51 +0000 (14:26 -0400)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 24 Jun 2009 14:09:15 +0000 (09:09 -0500)
commitbf011293faaa7f87e4de83185931e7411b794128
tree4dca80354e9db089a43ac87aa41e220d51c32ad0
parent024589f182232c6e4f566ca4b30bd477f20b4257
Add serial number support for virtio_blk

[brought forward to current qemu-kvm.git]

This patch implements the missing qemu logic to
interpret a '-drive .. serial=XYZ ..' flag for
a virtio_blk device.

The serial number string is contained in a
skeletal IDENTIFY DEVICE data structure and
this structure is made available to the guest
virtio_blk driver via pci i/o region 0.

Signed-off-by: john cooper <john.cooper@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio-blk.c
hw/virtio-blk.h
sysemu.h