[PATCH 1/2] hyperv: XML parsing of storage volumes

Matt Coleman mcoleman at datto.com
Wed Nov 18 22:03:55 UTC 2020


> On Nov 18, 2020, at 1:48 PM, Matt Coleman <mcoleman at datto.com> wrote:
> 
> +    if (!(disk = virDomainDiskDefNew(priv->xmlopt))) {
> 
> +    if (!(disk = virDomainDiskDefNew(priv->xmlopt))) {

I forgot to include changes to hyperv_private.h in this commit. Please 
squash the following additional change with this patch...

Signed-off-by: Matt Coleman <matt at datto.com>

diff --git a/src/hyperv/hyperv_private.h b/src/hyperv/hyperv_private.h
index f400f58c3a..7a2a1d59ee 100644
--- a/src/hyperv/hyperv_private.h
+++ b/src/hyperv/hyperv_private.h
@@ -28,10 +28,12 @@
 #include "virerror.h"
 #include "hyperv_util.h"
 #include "capabilities.h"
+#include "domain_conf.h"
 
 typedef struct _hypervPrivate hypervPrivate;
 struct _hypervPrivate {
     hypervParsedUri *parsedUri;
     WsManClient *client;
     virCapsPtr caps;
+    virDomainXMLOptionPtr xmlopt;
 };




More information about the libvir-list mailing list