]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Implement VIRTIO_BLK_T_GET_ID
authorSasha Levin <levinsasha928@gmail.com>
Sat, 16 Jul 2011 09:28:23 +0000 (12:28 +0300)
committerPekka Enberg <penberg@kernel.org>
Mon, 18 Jul 2011 08:38:14 +0000 (11:38 +0300)
commit6bf28d407813297e5a1c57f9c7c6154f878d9792
tree0f8c388b6b1b8683136b0f213f026bffdfa52939
parent8670504db624697cebfea2797adc63fa53d557df
kvm tools: Implement VIRTIO_BLK_T_GET_ID

Return device id when requested by virtio-blk.
Device id is currently based on the device information and the inode
number of the underlying disk image.

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/disk/core.c
tools/kvm/include/kvm/disk-image.h
tools/kvm/virtio/blk.c