[RFC 3/6] test_driver: allow win-dmp format

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

 



Signed-off-by: Thanos Makatos <thanos.makatos@xxxxxxxxxxx>
---
 src/test/test_driver.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/test/test_driver.c b/src/test/test_driver.c
index ed0cdc0dab..c892ecefaa 100644
--- a/src/test/test_driver.c
+++ b/src/test/test_driver.c
@@ -2621,7 +2621,8 @@ static int testDomainCoreDumpWithFormat(virDomainPtr domain,
     }
 
     /* we don't support non-raw formats in test driver */
-    if (dumpformat != VIR_DOMAIN_CORE_DUMP_FORMAT_RAW) {
+    if (dumpformat != VIR_DOMAIN_CORE_DUMP_FORMAT_RAW
+            && dumpformat != VIR_DOMAIN_CORE_DUMP_FORMAT_WIN_DMP) {
         virReportError(VIR_ERR_OPERATION_UNSUPPORTED, "%s",
                        _("kdump-compressed format is not supported here"));
         goto cleanup;
-- 
2.30.2
_______________________________________________
Devel mailing list -- devel@xxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxx




[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]

  Powered by Linux