[Spice-devel] [libvirt] Where to get precompiled qga-vss.dll from ?

Puneet Bakshi bakshi.puneet at gmail.com
Mon Jul 7 22:12:38 PDT 2014


​
Hi,

[Rephrasing my earlier post with more clarity.]

I need to work with "guest-fsfreeze-*" commands in Windows 2008 guest VM
(Host is CentOS 6.4) to quisce the applications.

*Windows 2008 Guest Machine*

    1. Windows 2008 is running following services
        - QEMU Guest Agent
        - QEMU Guest Agent VSS Provider

    2. C:\> vssadmin list providers
          ...
          Provider name: 'QEMU Guest Agent VSS Provider
               ....
               Version: 0.12.1

          Provider name: 'Microsoft Software Shadow Copy provider 1.0'
                ....
                Version: 1.0.0.7



*Host (CentOS 6.4)*
    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.

[root at sdsr720-14 Downloads]# virsh qemu-agent-command vm_win_06 '{
"execute": "guest-fsfreeze-status"}'
{"error":{"class":"Unsupported","desc":"this feature or command is not
currently supported","data":{}}}

[root at sdsr720-14 Downloads]# virsh qemu-agent-command vm_win_06 '{
"execute": "guest-fsfreeze-freeze"}'
{"error":{"class":"Unsupported","desc":"this feature or command is not
currently supported","data":{}}}


*Is missing qga-vss.dll the reason?*
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

http://lists.gnu.org/archive/html/qemu-devel/2013-02/msg01963.html.

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.


*What I need *
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.

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?

Regards,
~Puneet


On Tue, Jul 8, 2014 at 3:27 AM, Eric Blake <eblake at redhat.com> wrote:

> On 07/07/2014 02:32 AM, Puneet Bakshi wrote:
> > Hi,
> >
> > I want to work with "guest-fsfreeze-*" commands in Windows 2008 guest VM.
> > Host is CentOS 6.4.
> >
> > Windows 2008 is running QEMU VSS provider. When "guest-fsfreeze-*"
> commands
> > are invoked from host, response received is "This is not supported".
> >
> > I am following
> > http://lists.gnu.org/archive/html/qemu-devel/2013-02/msg01963.html.
>
> The libvirt list is the wrong place to be asking this question; qemu is
> better.
>
> The spice-devel list has done some pre-packaged virt stack builds for
> Windows; maybe they might be a better resource to ask (for example, see
> http://lists.freedesktop.org/archives/spice-devel/2014-February/016100.html
> )
> - but I don't follow that list closely enough to know if they have
> pre-built qga.
>
> You could always download the mingw cross-compiler and try to build qga
> yourself, instead of relying on someone else to provide a pre-built binary.
>
> --
> Eric Blake   eblake redhat com    +1-919-301-3266
> Libvirt virtualization library http://libvirt.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20140708/882d4b0d/attachment.html>


More information about the Spice-devel mailing list