[libvirt] [PATCH] Support for SATA Disks in virDomainDiskBus

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I have just added support for SATA Disks in virDomainDiskBus and the patch for 
same is as below.

Regards,
Pritesh
commit 9d43b33fdd595db45d943d074fe6a071fe9cde8f
Author: pritesh <pritesh@krishna.(none)>
Date:   Thu Nov 12 14:00:50 2009 +0100

    libvirt: Support for SATA Harddisks.

diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 9e37452..8d9408c 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -104,7 +104,8 @@ VIR_ENUM_IMPL(virDomainDiskBus, VIR_DOMAIN_DISK_BUS_LAST,
               "virtio",
               "xen",
               "usb",
-              "uml")
+              "uml",
+              "sata")
 
 VIR_ENUM_IMPL(virDomainDiskCache, VIR_DOMAIN_DISK_CACHE_LAST,
               "default",
diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h
index f12c722..1fdb4fa 100644
--- a/src/conf/domain_conf.h
+++ b/src/conf/domain_conf.h
@@ -88,6 +88,7 @@ enum virDomainDiskBus {
     VIR_DOMAIN_DISK_BUS_XEN,
     VIR_DOMAIN_DISK_BUS_USB,
     VIR_DOMAIN_DISK_BUS_UML,
+    VIR_DOMAIN_DISK_BUS_SATA,
 
     VIR_DOMAIN_DISK_BUS_LAST
 };
diff --git a/src/qemu/qemu_conf.c b/src/qemu/qemu_conf.c
index 5f492dd..62b42fe 100644
--- a/src/qemu/qemu_conf.c
+++ b/src/qemu/qemu_conf.c
@@ -63,7 +63,8 @@ VIR_ENUM_IMPL(virDomainDiskQEMUBus, VIR_DOMAIN_DISK_BUS_LAST,
               "virtio",
               "xen",
               "usb",
-              "uml")
+              "uml",
+              "sata")
 
 
 VIR_ENUM_DECL(qemuDiskCacheV1)
--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]