* [Qemu-devel] Where to get precompiled qga-vss.dll from ? @ 2014-07-07 8:32 Puneet Bakshi 2014-07-07 21:57 ` [Qemu-devel] [libvirt] " Eric Blake 0 siblings, 1 reply; 4+ messages in thread From: Puneet Bakshi @ 2014-07-07 8:32 UTC (permalink / raw) To: libvir-list, qemu-devel, qemu-discuss [-- Attachment #1: Type: text/plain, Size: 347 bytes --] 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. Regards, ~Puneet [-- Attachment #2: Type: text/html, Size: 973 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [libvirt] Where to get precompiled qga-vss.dll from ? 2014-07-07 8:32 [Qemu-devel] Where to get precompiled qga-vss.dll from ? Puneet Bakshi @ 2014-07-07 21:57 ` Eric Blake 2014-07-08 5:12 ` Puneet Bakshi 0 siblings, 1 reply; 4+ messages in thread From: Eric Blake @ 2014-07-07 21:57 UTC (permalink / raw) To: Puneet Bakshi, libvir-list, qemu-devel, qemu-discuss [-- Attachment #1: Type: text/plain, Size: 1060 bytes --] 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 [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 604 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [libvirt] Where to get precompiled qga-vss.dll from ? 2014-07-07 21:57 ` [Qemu-devel] [libvirt] " Eric Blake @ 2014-07-08 5:12 ` Puneet Bakshi 2014-07-08 19:46 ` Tomoki Sekiyama 0 siblings, 1 reply; 4+ messages in thread From: Puneet Bakshi @ 2014-07-08 5:12 UTC (permalink / raw) To: spice-devel, qemu-devel, qemu-discuss; +Cc: tomoki.sekiyama [-- Attachment #1: Type: text/plain, Size: 3541 bytes --] 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@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@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@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 > > [-- Attachment #2: Type: text/html, Size: 6998 bytes --] ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [libvirt] Where to get precompiled qga-vss.dll from ? 2014-07-08 5:12 ` Puneet Bakshi @ 2014-07-08 19:46 ` Tomoki Sekiyama 0 siblings, 0 replies; 4+ messages in thread From: Tomoki Sekiyama @ 2014-07-08 19:46 UTC (permalink / raw) To: Puneet Bakshi, spice-devel@lists.freedesktop.org, qemu-devel@nongnu.org, qemu-discuss@nongnu.org >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 Is this 32bit or 64bit? FYI, qga-vss.dll must be built for corresponding architecture because it is loaded by the system. (32bit qemu-ga.exe itself can run on both architectures, but cannot load 64bit qga-vss.dll.) > > 1. Windows 2008 is running following services > > - QEMU Guest Agent > > - QEMU Guest Agent VSS Provider It looks odd because this service requires qga-vss.dll to be installed. > > 2. C:\> vssadmin list providers > ... > > Provider name: 'QEMU Guest Agent VSS Provider > > .... > > Version: 0.12.1 Officially fsfreeze using VSS is merged on qemu 1.7, but it seems older. Maybe back-ported from upstream? Where did you get this qemu-ga.exe binary? > > 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@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@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. Fedora 20 has all required mingw64 packages to build qemu-ga so you just need something like: # yum install mingw64-{gcc-c++,gettext,glib2,pixman,pkg-config,termcap,win-iconv,zlib} (or mingw32 for 32bit) to build the cross compile environment. >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@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 ><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.htm >l) >- 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 <tel:%2B1-919-301-3266> >Libvirt virtualization library http://libvirt.org > > > > ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-07-08 19:46 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-07-07 8:32 [Qemu-devel] Where to get precompiled qga-vss.dll from ? Puneet Bakshi 2014-07-07 21:57 ` [Qemu-devel] [libvirt] " Eric Blake 2014-07-08 5:12 ` Puneet Bakshi 2014-07-08 19:46 ` Tomoki Sekiyama
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.