[RFC 5/6] test_driver: allow and ignore more flags in testDomainCoreDumpWithFormat

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

 



It doesn't make sense to honor them, so we may just allow them.
---
 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 a9c7dbaee1..2a31511e3e 100644
--- a/src/test/test_driver.c
+++ b/src/test/test_driver.c
@@ -2664,7 +2664,8 @@ static int testDomainCoreDumpWithFormat(virDomainPtr domain,
     virObjectEvent *event = NULL;
     int ret = -1;
 
-    virCheckFlags(VIR_DUMP_CRASH, -1);
+    virCheckFlags(VIR_DUMP_CRASH | VIR_DUMP_LIVE | VIR_DUMP_BYPASS_CACHE |
+                  VIR_DUMP_MEMORY_ONLY, -1);
 
 
     if (!(privdom = testDomObjFromDomain(domain)))
-- 
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