qemu-e2k/hw/ide
Gerd Hoffmann 47c0634030 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>
2010-01-19 16:31:04 -06:00
..
cmd646.c cmd646: symbolic names for pci registers 2009-12-23 16:35:00 +02:00
core.c ide: device version property 2010-01-19 16:31:04 -06:00
internal.h ide: device version property 2010-01-19 16:31:04 -06:00
isa.c IDE: Fix reset handling 2009-11-07 14:13:05 +00:00
macio.c IDE: Fix reset handling 2009-11-07 14:13:05 +00:00
microdrive.c Add "static" to please Sparse 2009-12-04 20:44:44 +00:00
mmio.c IDE: Fix reset handling 2009-11-07 14:13:05 +00:00
pci.c ide: port pci ide to vmstate 2009-10-27 12:28:46 -05:00
pci.h ide: port pci ide to vmstate 2009-10-27 12:28:46 -05:00
piix.c piix: symbolic constants 2009-12-23 16:35:00 +02:00
qdev.c ide: device version property 2010-01-19 16:31:04 -06:00