<div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace"><div class="gmail_default" style="font-family:courier new,monospace">Hi,<br><br><div class="gmail_default" style="font-family:courier new,monospace">
[Rephrasing my earlier post with more clarity.]<br>
<br>
I need to work with "guest-fsfreeze-*" commands in Windows 2008 guest VM (Host is CentOS 6.4) to quisce the applications.
<br><br></div><div class="gmail_default" style="font-family:courier new,monospace"><u>Windows 2008 Guest Machine</u><br><br> 1. Windows 2008 is running following services<br></div><div class="gmail_default" style="font-family:courier new,monospace">
- QEMU Guest Agent<br></div><div class="gmail_default" style="font-family:courier new,monospace"> - QEMU Guest Agent VSS Provider<br></div><div class="gmail_default" style="font-family:courier new,monospace">
<br></div><div class="gmail_default" style="font-family:courier new,monospace"> 2. C:\> vssadmin list providers<br> ...<br></div><div class="gmail_default" style="font-family:courier new,monospace"> Provider name: 'QEMU Guest Agent VSS Provider<br>
</div><div class="gmail_default" style="font-family:courier new,monospace"> ....<br></div><div class="gmail_default" style="font-family:courier new,monospace"> Version: 0.12.1<br></div><div class="gmail_default" style="font-family:courier new,monospace">
<br> Provider name: 'Microsoft Software Shadow Copy provider 1.0'<br> ....<br></div><div class="gmail_default" style="font-family:courier new,monospace"> Version: 1.0.0.7<br>
</div><div class="gmail_default" style="font-family:courier new,monospace"><br><br></div><div class="gmail_default" style="font-family:courier new,monospace"><u>Host (CentOS 6.4)<br></u> <br></div><div class="gmail_default" style="font-family:courier new,monospace">
When "guest-fsfreeze-*"
commands are invoked from host, response received from guest is "This is not
supported". Since "QEMU Guest Agent VSS Provider" was already running in Guest VM, I was expecting these commands to succeed and quisce Windows applications, but they were reported as unsupported.<br><br>
[root@sdsr720-14 Downloads]# virsh qemu-agent-command vm_win_06 '{ "execute": "guest-fsfreeze-status"}'<br>{"error":{"class":"Unsupported","desc":"this feature or command is not currently supported","data":{}}}<br>
<br>[root@sdsr720-14 Downloads]# virsh qemu-agent-command vm_win_06 '{ "execute": "guest-fsfreeze-freeze"}'<br>{"error":{"class":"Unsupported","desc":"this feature or command is not currently supported","data":{}}}<br>
<br></div><div class="gmail_default" style="font-family:courier new,monospace"><u>Is missing qga-vss.dll the reason?<br></u><br></div><div class="gmail_default" style="font-family:courier new,monospace">I
searched my system for this dll and could not find it and suspected
that missing qga-vss.dll is the reason for this. I took suggestions from
following post which advised to cross-compile qemu code to get
qga-vss.dll<br>
<br></div><div class="gmail_default" style="font-family:courier new,monospace"><a rel="nofollow" href="http://lists.gnu.org/archive/html/qemu-devel/2013-02/msg01963.html">http://lists.gnu.org/archive/html/qemu-devel/2013-02/msg01963.html</a>.<br>
</div>
<div class="gmail_default" style="font-family:courier new,monospace">
</div></div><div class="gmail_default" style="font-family:courier new,monospace"><br>
But I faced a lot of issues while building i686-w64-mingw32-* in CentOS
6.4 and had to eventually give up building i686-w64-mingw32-* and move
to getting pre-compiled QEMU guest agent (with VSS support), which I can
install on Windows to quisce the applications.<br><br>
</div><div class="gmail_default" style="font-family:courier new,monospace"><u>What I need<br>
</u><br></div><div class="gmail_default" style="font-family:courier new,monospace">If
I can get pre-compiled qga-vss.dll, I can copy it to Windows8 guest VM
and hopefully work with guest-fsfreeze-* commands to quisce the
applications.<br><br></div><div class="gmail_default" style="font-family:courier new,monospace">Can
somebody point me to pre-compiled QEMU guest agent with VSS support
(and qga-vss.dll) so that I can quisce the Windows guest VM
applications?<br></div><div class="gmail_default" style="font-family:courier new,monospace"><br></div><div class="gmail_default" style="font-family:courier new,monospace"><div class="gmail_default" style="font-family:courier new,monospace">
Regards,<br></div>~Puneet</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 8, 2014 at 3:27 AM, Eric Blake <span dir="ltr"><<a href="mailto:eblake@redhat.com" target="_blank">eblake@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 07/07/2014 02:32 AM, Puneet Bakshi wrote:<br>
> Hi,<br>
><br>
> I want to work with "guest-fsfreeze-*" commands in Windows 2008 guest VM.<br>
> Host is CentOS 6.4.<br>
><br>
> Windows 2008 is running QEMU VSS provider. When "guest-fsfreeze-*" commands<br>
> are invoked from host, response received is "This is not supported".<br>
><br>
> I am following<br>
> <a href="http://lists.gnu.org/archive/html/qemu-devel/2013-02/msg01963.html" target="_blank">http://lists.gnu.org/archive/html/qemu-devel/2013-02/msg01963.html</a>.<br>
<br>
</div></div>The libvirt list is the wrong place to be asking this question; qemu is<br>
better.<br>
<br>
The spice-devel list has done some pre-packaged virt stack builds for<br>
Windows; maybe they might be a better resource to ask (for example, see<br>
<a href="http://lists.freedesktop.org/archives/spice-devel/2014-February/016100.html" target="_blank">http://lists.freedesktop.org/archives/spice-devel/2014-February/016100.html</a>)<br>
- but I don't follow that list closely enough to know if they have<br>
pre-built qga.<br>
<br>
You could always download the mingw cross-compiler and try to build qga<br>
yourself, instead of relying on someone else to provide a pre-built binary.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Eric Blake eblake redhat com <a href="tel:%2B1-919-301-3266" value="+19193013266">+1-919-301-3266</a><br>
Libvirt virtualization library <a href="http://libvirt.org" target="_blank">http://libvirt.org</a><br>
<br>
</font></span></blockquote></div><br></div>