On Mon, Mar 08, 2010 at 09:46:14PM +0100, Soren Hansen wrote:
If a special cache strategy for a disk has been specified in a domain
definition, but no driverName has been set, virDomainGetXMLDesc will not
include the driver tag at all.
This patch makes sure that the driver tag is included if
If a special cache strategy for a disk has been specified in a domain
definition, but no driverName has been set, virDomainGetXMLDesc will not
include the driver tag at all.
This patch makes sure that the driver tag is included if any of the
settings it can contain has been set.
Signed-off-by:
On 03/08/2010 01:46 PM, Soren Hansen wrote:
If a special cache strategy for a disk has been specified in a domain
definition, but no driverName has been set, virDomainGetXMLDesc will not
include the driver tag at all.
...
-if (def-driverName) {
-virBufferVSprintf(buf,