summary refs log tree commit diff stats
path: root/hw/scsi-disk.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-01-14 14:44:12 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2010-01-19 16:31:04 -0600
commit47c063403065793ad6e1d2fdde27d69a00880752 (patch)
tree1126fed51a7c0d0a382bae6aa3f32e31b4b401b2 /hw/scsi-disk.c
parentf039a563f200beee80cc10fd70b21ea396979dab (diff)
downloadfocaccia-qemu-47c063403065793ad6e1d2fdde27d69a00880752.tar.gz
focaccia-qemu-47c063403065793ad6e1d2fdde27d69a00880752.zip
ide: device version property
This patch adds a new property named 'ver' to ide-drive which allows to
specify the version which the virtual disk/cdrom should report to the
guest.  By default this is the qemu version (i.e. 0.12).  usage:

  -drive if=none,id=disk,file=...
  -device ide-drive,bus=ide.0,unit=0,drive=disk,ver=42

You can also switch the version for all ide drives using:

  -global ide-drive.ver=42

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/scsi-disk.c')
0 files changed, 0 insertions, 0 deletions