On 12/11/2012 04:07 AM, Chen Hanxiao wrote: > From: Chen Hanxiao <chenhanxiao@xxxxxxxxxxxxxx> > > Supporting SG_IO commands pass though, > introduce a new device type 'lun' > to keep pace with libvirt. > > Signed-off-by: Chen Hanxiao <chenhanxiao@xxxxxxxxxxxxxx> > --- > virtinst/VirtualDisk.py | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/virtinst/VirtualDisk.py b/virtinst/VirtualDisk.py > index 14986be..97e4843 100644 > --- a/virtinst/VirtualDisk.py > +++ b/virtinst/VirtualDisk.py > @@ -307,9 +307,10 @@ class VirtualDisk(VirtualDevice): > CACHE_MODE_WRITEBACK] > > DEVICE_DISK = "disk" > + DEVICE_LUN = "lun" > DEVICE_CDROM = "cdrom" > DEVICE_FLOPPY = "floppy" > - devices = [DEVICE_DISK, DEVICE_CDROM, DEVICE_FLOPPY] > + devices = [DEVICE_DISK, DEVICE_LUN, DEVICE_CDROM, DEVICE_FLOPPY] > > TYPE_FILE = "file" > TYPE_BLOCK = "block" > Thanks Chen, added you to AUTHORS and pushed! - Cole _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list