qemu-discuss
[Top][All Lists]
Advanced

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

Re: [Qemu-discuss] Issue with fsfreeze with qemu agent.


From: Stanislav
Subject: Re: [Qemu-discuss] Issue with fsfreeze with qemu agent.
Date: Mon, 26 Sep 2016 07:27:14 -0700 (MST)

Hello!

For qemu 2.6.0 hack can be applied
Example qemu-ga patch for one docker mount point:
--- qga/commands-posix.c.old 2016-05-11 18:56:12.000000000 +0300
+++ qga/commands-posix.c 2016-09-26 18:39:38.229920145 +0300
@@ -776,6 +776,9 @@
             }
         }

+        if (!strncmp(line + dir_s,"/var/lib/docker/devicemapper",28)==0){
+          continue;
+        }
         mount = g_new0(FsMount, 1);
         mount->dirname = g_strdup(line + dir_s);
         mount->devtype = g_strdup(dash + type_s);
------
Stanislav


Christian Theune wrote
>> Is there a workaround to deal with btrfs?
> I had a non-BTRFS environment where I could get rid of the separate mount.
> Otherwise this should be an easy fix in the agent and maybe if I make a
> patch someone would review it. My C is quite rusty, though and I’m not
> sure about the process I would have to follow and the chances of my
> working making it in there. :)





--
View this message in context: 
http://qemu.11.n7.nabble.com/Issue-with-fsfreeze-with-qemu-agent-tp408459p435950.html
Sent from the Discuss mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]