Re: [libvirt] qemu-guest-agent windows
Quoting Michal Privoznik (2016-08-29 04:54:13) > On 29.08.2016 11:48, Umar Draz wrote: > > Hi Michal, > > > > well after the upgrade I am still getting the old version > > > > {"return":{"version":"0.12.1","supported_commands":[{"enabled":true,"name":"guest-set-user-password"},{"enabled":true,"name":"guest-set-vcpus"},{"enabled":true,"name":"guest-get-vcpus"},{"enabled":true,"name":"guest-network-get-interfaces"},{"enabled":true,"name":"guest-suspend-hybrid"},{"enabled":true,"name":"guest-suspend-ram"},{"enabled":true,"name":"guest-suspend-disk"},{"enabled":true,"name":"guest-fstrim"},{"enabled":true,"name":"guest-fsfreeze-thaw"},{"enabled":true,"name":"guest-fsfreeze-freeze"},{"enabled":true,"name":"guest-fsfreeze-status"},{"enabled":true,"name":"guest-file-flush"},{"enabled":true,"name":"guest-file-seek"},{"enabled":true,"name":"guest-file-write"},{"enabled":true,"name":"guest-file-read"},{"enabled":true,"name":"guest-file-close"},{"enabled":true,"name":"guest-file-open"},{"enabled":true,"name":"guest-shutdown"},{"enabled":true,"name":"guest-info"},{"enabled":true,"name":"guest-set-time"},{"enabled":true,"name":"guest-get-time"},{"enabled":t! ru! > > e,"name":"guest-ping"},{"enabled":true,"name":"guest-sync"},{"enabled":true,"name":"guest-sync-delimited"}]}} > > > > > > even I had install this qemu-ga on newly installed Windows 10, but that > > also showing the same version as above. > > Then you need to build the qemu-ga from the sources. FWIW, I recently started publishing newer win32 builds of qemu-ga here: https://github.com/mdroth/qemu/releases The one shipping with Fedora virtio-win is based on RHEL6 QEMU sources I think. > > Michal > > -- > libvir-list mailing list > libvir-list@redhat.com > https://www.redhat.com/mailman/listinfo/libvir-list > -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] qemu-guest-agent windows
HI Thanks Got it. On Mon, Aug 29, 2016 at 6:36 PM, Vasiliy Tolstov wrote: > 2016-08-29 16:20 GMT+03:00 Umar Draz : > > Well here is the xml of my linux virtual machines for qemu-guest-agent > > > > > > > > > > > > now what will be for freebsd ? > > > This is virtio-serial, on freebsd it does not exists. You can use > serial channel and run qemu-ga with this ttyS0.. > Sometimes ago we discuss in list about ability to assign some id to > serial channel to use it via libvirt for qemu-ga communication. But it > not ends with final decision. > > > -- > Vasiliy Tolstov, > e-mail: v.tols...@selfip.ru > -- Umar Draz Network Architect -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] qemu-guest-agent windows
2016-08-29 16:20 GMT+03:00 Umar Draz : > Well here is the xml of my linux virtual machines for qemu-guest-agent > > > > > > now what will be for freebsd ? This is virtio-serial, on freebsd it does not exists. You can use serial channel and run qemu-ga with this ttyS0.. Sometimes ago we discuss in list about ability to assign some id to serial channel to use it via libvirt for qemu-ga communication. But it not ends with final decision. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] qemu-guest-agent windows
Well here is the xml of my linux virtual machines for qemu-guest-agent now what will be for freebsd ? Br. Umar On Mon, Aug 29, 2016 at 6:06 PM, Michal Privoznik wrote: > On 29.08.2016 13:59, Umar Draz wrote: > > Hi Michal, > > > > Thanks, I have installed qemu-ga on FreeBSD. > > > > Now I just need a help regarding what will be the xml for my this > FreeBSD ? > > What do you mean? Domain XML? Domain XML is guest OS agnostic. So > whatever qemu-ga config you have in a domain that is working for you you > can copy it to BSD domains too. > > Michal > -- Umar Draz Network Architect -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] qemu-guest-agent windows
On 29.08.2016 13:59, Umar Draz wrote: > Hi Michal, > > Thanks, I have installed qemu-ga on FreeBSD. > > Now I just need a help regarding what will be the xml for my this FreeBSD ? What do you mean? Domain XML? Domain XML is guest OS agnostic. So whatever qemu-ga config you have in a domain that is working for you you can copy it to BSD domains too. Michal -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] qemu-guest-agent windows
Hi Michal, Thanks, I have installed qemu-ga on FreeBSD. Now I just need a help regarding what will be the xml for my this FreeBSD ? Br. Umar On Mon, Aug 29, 2016 at 3:30 PM, Michal Privoznik wrote: > On 29.08.2016 12:11, Umar Draz wrote: > > Ok then I will check that as well, > > > > Ok I have some FereeBSD vms as well, now I want qemu-guest-agent on them > as > > well, is it possible? > > > > Yes. There are two implementations for qemu-ga: one for POSIX-like > systems (where *BSD does belong to) and for Windows. So you should be > able to find qemu-ga for *BSD too. > > Michal > -- Umar Draz Network Architect -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] qemu-guest-agent windows
On 29.08.2016 12:11, Umar Draz wrote: > Ok then I will check that as well, > > Ok I have some FereeBSD vms as well, now I want qemu-guest-agent on them as > well, is it possible? > Yes. There are two implementations for qemu-ga: one for POSIX-like systems (where *BSD does belong to) and for Windows. So you should be able to find qemu-ga for *BSD too. Michal -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] qemu-guest-agent windows
Ok then I will check that as well, Ok I have some FereeBSD vms as well, now I want qemu-guest-agent on them as well, is it possible? Br. Umar On Mon, Aug 29, 2016 at 2:54 PM, Michal Privoznik wrote: > On 29.08.2016 11:48, Umar Draz wrote: > > Hi Michal, > > > > well after the upgrade I am still getting the old version > > > > {"return":{"version":"0.12.1","supported_commands":[{" > enabled":true,"name":"guest-set-user-password"},{"enabled" > :true,"name":"guest-set-vcpus"},{"enabled":true,"name":" > guest-get-vcpus"},{"enabled":true,"name":"guest-network- > get-interfaces"},{"enabled":true,"name":"guest-suspend- > hybrid"},{"enabled":true,"name":"guest-suspend-ram"},{" > enabled":true,"name":"guest-suspend-disk"},{"enabled": > true,"name":"guest-fstrim"},{"enabled":true,"name":"guest- > fsfreeze-thaw"},{"enabled":true,"name":"guest-fsfreeze- > freeze"},{"enabled":true,"name":"guest-fsfreeze-status"} > ,{"enabled":true,"name":"guest-file-flush"},{"enabled": > true,"name":"guest-file-seek"},{"enabled":true,"name":" > guest-file-write"},{"enabled":true,"name":"guest-file-read"} > ,{"enabled":true,"name":"guest-file-close"},{"enabled": > true,"name":"guest-file-open"},{"enabled":true,"name":" > guest-shutdown"},{"enabled":true,"name":"guest-info"},{" > enabled":true,"name":"guest-set-time"},{"enabled":true," > name":"guest-get-time"},{"enabled":true,"name":"guest- > ping"},{"enabled":true,"name":"guest-sync"},{"enabled":true, > "name":"guest-sync-delimited"}]}} > > > > > > even I had install this qemu-ga on newly installed Windows 10, but that > > also showing the same version as above. > > Then you need to build the qemu-ga from the sources. > > Michal > -- Umar Draz Network Architect -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] qemu-guest-agent windows
On 29.08.2016 11:48, Umar Draz wrote: > Hi Michal, > > well after the upgrade I am still getting the old version > > {"return":{"version":"0.12.1","supported_commands":[{"enabled":true,"name":"guest-set-user-password"},{"enabled":true,"name":"guest-set-vcpus"},{"enabled":true,"name":"guest-get-vcpus"},{"enabled":true,"name":"guest-network-get-interfaces"},{"enabled":true,"name":"guest-suspend-hybrid"},{"enabled":true,"name":"guest-suspend-ram"},{"enabled":true,"name":"guest-suspend-disk"},{"enabled":true,"name":"guest-fstrim"},{"enabled":true,"name":"guest-fsfreeze-thaw"},{"enabled":true,"name":"guest-fsfreeze-freeze"},{"enabled":true,"name":"guest-fsfreeze-status"},{"enabled":true,"name":"guest-file-flush"},{"enabled":true,"name":"guest-file-seek"},{"enabled":true,"name":"guest-file-write"},{"enabled":true,"name":"guest-file-read"},{"enabled":true,"name":"guest-file-close"},{"enabled":true,"name":"guest-file-open"},{"enabled":true,"name":"guest-shutdown"},{"enabled":true,"name":"guest-info"},{"enabled":true,"name":"guest-set-time"},{"enabled":true,"name":"guest-get-time"},{"enabled":tru! e,"name":"guest-ping"},{"enabled":true,"name":"guest-sync"},{"enabled":true,"name":"guest-sync-delimited"}]}} > > > even I had install this qemu-ga on newly installed Windows 10, but that > also showing the same version as above. Then you need to build the qemu-ga from the sources. Michal -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] qemu-guest-agent windows
Hi Michal, well after the upgrade I am still getting the old version {"return":{"version":"0.12.1","supported_commands":[{"enabled":true,"name":"guest-set-user-password"},{"enabled":true,"name":"guest-set-vcpus"},{"enabled":true,"name":"guest-get-vcpus"},{"enabled":true,"name":"guest-network-get-interfaces"},{"enabled":true,"name":"guest-suspend-hybrid"},{"enabled":true,"name":"guest-suspend-ram"},{"enabled":true,"name":"guest-suspend-disk"},{"enabled":true,"name":"guest-fstrim"},{"enabled":true,"name":"guest-fsfreeze-thaw"},{"enabled":true,"name":"guest-fsfreeze-freeze"},{"enabled":true,"name":"guest-fsfreeze-status"},{"enabled":true,"name":"guest-file-flush"},{"enabled":true,"name":"guest-file-seek"},{"enabled":true,"name":"guest-file-write"},{"enabled":true,"name":"guest-file-read"},{"enabled":true,"name":"guest-file-close"},{"enabled":true,"name":"guest-file-open"},{"enabled":true,"name":"guest-shutdown"},{"enabled":true,"name":"guest-info"},{"enabled":true,"name":"guest-set-time"},{"enabled":true,"name":"guest-get-time"},{"enabled":true,"name":"guest-ping"},{"enabled":true,"name":"guest-sync"},{"enabled":true,"name":"guest-sync-delimited"}]}} even I had install this qemu-ga on newly installed Windows 10, but that also showing the same version as above. Br. Umar On Mon, Aug 29, 2016 at 2:45 PM, Michal Privoznik wrote: > On 29.08.2016 10:27, Umar Draz wrote: > > Hi Michal > > > > well no luck :( > > What do you mean? I need more info. The update was successful, but the > qemu-ga is still not returning any IP addresses? What's the new version > of qemu-ga then? > What might work is to clone qemu.git and compile the qemu-ga from there > on your own. > > Michal > -- Umar Draz Network Architect -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] qemu-guest-agent windows
On 29.08.2016 10:27, Umar Draz wrote: > Hi Michal > > well no luck :( What do you mean? I need more info. The update was successful, but the qemu-ga is still not returning any IP addresses? What's the new version of qemu-ga then? What might work is to clone qemu.git and compile the qemu-ga from there on your own. Michal -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] qemu-guest-agent windows
Hi Michal well no luck :( br. Umar On Mon, Aug 29, 2016 at 11:55 AM, Michal Privoznik wrote: > On 29.08.2016 08:32, Umar Draz wrote: > > Hi Michal > > > > Thanks for your reply, how I can upgrade my guest agent on windows? > > I think if you download msi corresponding to your architecture from here > > https://fedorapeople.org/groups/virt/virtio-win/direct- > downloads/archive-qemu-ga/qemu-ga-win-7.3.2-1/ > > and run it it'll do the trick. > > Michal > -- Umar Draz Network Architect -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] qemu-guest-agent windows
On 29.08.2016 08:32, Umar Draz wrote: > Hi Michal > > Thanks for your reply, how I can upgrade my guest agent on windows? I think if you download msi corresponding to your architecture from here https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-qemu-ga/qemu-ga-win-7.3.2-1/ and run it it'll do the trick. Michal -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] qemu-guest-agent windows
Hi Michal Thanks for your reply, how I can upgrade my guest agent on windows? right now this is running on windows ("version":"0.12.1") Br. Umar On Mon, Aug 29, 2016 at 11:22 AM, Michal Privoznik wrote: > On 28.08.2016 16:53, Umar Draz wrote: > > Hello All, > > > > I have install qemu guest agent on windows 10, but unable to get the ip > > address using this command > > > > virsh qemu-agent-command myvm '{ "execute": > "guest-network-get-interfaces" > > }' > > > > I am getting the following error on above command. > > > > ibvirt: QEMU Driver error : internal error: unable to execute QEMU agent > > command 'guest-network-get-interfaces': this feature or command is not > > currently supported > > Right. The windows implementation for this qemu-ga command was > introduced in this commit: > > http://git.qemu.org/?p=qemu.git;a=commitdiff;h=d6c5528b0 > > and should be contained in 2.4 release. So updating your guest agent > should help you. On the other hand, I don't have Windows 10 installed > anywhere (nor a VM) to try this out. > > Michal > -- Umar Draz Network Architect -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] qemu-guest-agent windows
On 28.08.2016 16:53, Umar Draz wrote: > Hello All, > > I have install qemu guest agent on windows 10, but unable to get the ip > address using this command > > virsh qemu-agent-command myvm '{ "execute": "guest-network-get-interfaces" > }' > > I am getting the following error on above command. > > ibvirt: QEMU Driver error : internal error: unable to execute QEMU agent > command 'guest-network-get-interfaces': this feature or command is not > currently supported Right. The windows implementation for this qemu-ga command was introduced in this commit: http://git.qemu.org/?p=qemu.git;a=commitdiff;h=d6c5528b0 and should be contained in 2.4 release. So updating your guest agent should help you. On the other hand, I don't have Windows 10 installed anywhere (nor a VM) to try this out. Michal -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
[libvirt] qemu-guest-agent windows
Hello All, I have install qemu guest agent on windows 10, but unable to get the ip address using this command virsh qemu-agent-command myvm '{ "execute": "guest-network-get-interfaces" }' I am getting the following error on above command. ibvirt: QEMU Driver error : internal error: unable to execute QEMU agent command 'guest-network-get-interfaces': this feature or command is not currently supported but the same command successfully working on linux vms. Would you please help if there any other way to get the interfaces ip of windows vm Br. Umar -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list