On Tue, Jan 31, 2012 at 01:49:11PM +0900, Taku Izumi wrote:
@@ -3156,6 +3159,26 @@ virDomainDiskDefParseXML(virCapsPtr caps
def-snapshot = VIR_DOMAIN_DISK_SNAPSHOT_NO;
}
+def-rawio = -1; /* unspecified */
+if (rawio) {
+if (def-device ==
On 01/31/2012 07:03 AM, Daniel P. Berrange wrote:
On Tue, Jan 31, 2012 at 01:49:11PM +0900, Taku Izumi wrote:
@@ -3156,6 +3159,26 @@ virDomainDiskDefParseXML(virCapsPtr caps
def-snapshot = VIR_DOMAIN_DISK_SNAPSHOT_NO;
}
+def-rawio = -1; /* unspecified */
+if (rawio) {
+
On 01/31/2012 11:53 AM, Laine Stump wrote:
I also found that make check wouldn't pass, which was mostly traced to
the concept of making the default value of rawio -1. The problem with
this is that there are other functions that create and fill-in domain
structures, and they hadn't been taught
This patch adds a new attribute rawio to the disk element
of domain XML. Valid values of rawio attribute are yes
and no.
rawio='yes' indicates the disk is desirous of CAP_SYS_RAWIO.
If you specify the following XML:
disk type='block' device='lun' rawio='yes'
...
/disk
the domain