Re: [libvirt] qemu-agent-command via isa-serial for freebsd

2015-10-30 Thread Vasiliy Tolstov
2015-10-30 13:00 GMT+03:00 Michal Privoznik : > Oh right, libvirt only know how to deal with channels. ISA serials are > ignored when it comes to qemu-ga. The problem is that from looking at > we don't know which one is suppose to be for the agent. For > instance: > > > > >

Re: [libvirt] qemu-agent-command via isa-serial for freebsd

2015-10-30 Thread Vasiliy Tolstov
2015-10-30 13:57 GMT+03:00 Michal Privoznik : > Right now, qemu-ga has -p switch, that allows you to pass the path it > should listen to. In this case: > > qemu-ga -m isa-serial -p /dev/ttyS0 > > should do. I'm no *BSD-ian, but I bet it can be configured in their > startup scripts. > > So the only

Re: [libvirt] qemu-agent-command via isa-serial for freebsd

2015-10-30 Thread Michal Privoznik
On 30.10.2015 11:46, Martin Kletzander wrote: > On Fri, Oct 30, 2015 at 01:32:34PM +0300, Vasiliy Tolstov wrote: >> 2015-10-30 13:08 GMT+03:00 Michal Privoznik : >>> Yeah, something like that could work. Mind proposing patch? >> >> >> Maybe... >> Does it possible to get something like this: >> >>

Re: [libvirt] qemu-agent-command via isa-serial for freebsd

2015-10-30 Thread Vasiliy Tolstov
2015-10-30 13:46 GMT+03:00 Martin Kletzander : > That doesn't make sense to me. virtio channel can have a name, but > isa serial cannot, that name wouldn't make sense. Also, how would you > identify to which serial port to attach in the guest-agent? Hm.. interesting question =) On guest syde i

Re: [libvirt] qemu-agent-command via isa-serial for freebsd

2015-10-30 Thread Martin Kletzander
On Fri, Oct 30, 2015 at 01:32:34PM +0300, Vasiliy Tolstov wrote: 2015-10-30 13:08 GMT+03:00 Michal Privoznik : Yeah, something like that could work. Mind proposing patch? Maybe... Does it possible to get something like this: i'm not understand does target for serial can have name. q

Re: [libvirt] qemu-agent-command via isa-serial for freebsd

2015-10-30 Thread Vasiliy Tolstov
2015-10-30 13:08 GMT+03:00 Michal Privoznik : > Yeah, something like that could work. Mind proposing patch? Maybe... Does it possible to get something like this: i'm not understand does target for serial can have name. qemuFindAgentConfig uses if (STREQ_NULLABLE(channel->target.name,

Re: [libvirt] qemu-agent-command via isa-serial for freebsd

2015-10-30 Thread Michal Privoznik
On 30.10.2015 11:04, Vasiliy Tolstov wrote: > 2015-10-30 13:00 GMT+03:00 Michal Privoznik : >> Oh right, libvirt only know how to deal with channels. ISA serials are >> ignored when it comes to qemu-ga. The problem is that from looking at >> we don't know which one is suppose to be for the agent.

Re: [libvirt] qemu-agent-command via isa-serial for freebsd

2015-10-30 Thread Michal Privoznik
On 30.10.2015 08:32, Vasiliy Tolstov wrote: > 2015-10-29 18:40 GMT+03:00 Michal Privoznik : >> You need to have a virtio channel whose target name is >> "org.qemu.guest_agent.0". The source does not matter to libvirt - we can >> connect both to an unix socket or pty. > > > Can you helps me via pr

Re: [libvirt] qemu-agent-command via isa-serial for freebsd

2015-10-30 Thread Vasiliy Tolstov
2015-10-29 18:40 GMT+03:00 Michal Privoznik : > You need to have a virtio channel whose target name is > "org.qemu.guest_agent.0". The source does not matter to libvirt - we can > connect both to an unix socket or pty. Can you helps me via providing xml for this? Freebsd does not supports virtio-

Re: [libvirt] qemu-agent-command via isa-serial for freebsd

2015-10-29 Thread Michal Privoznik
On 28.10.2015 13:10, Vasiliy Tolstov wrote: > Hi! I'm need to control freebsd guest via qemu-ga, as i see qemu-ga > already supports isa-serial connection. > How i need to configure domain via libvirt to able virsh > qemu-agent-command to this guest vm? > You need to have a virtio channel whose t

[libvirt] qemu-agent-command via isa-serial for freebsd

2015-10-28 Thread Vasiliy Tolstov
Hi! I'm need to control freebsd guest via qemu-ga, as i see qemu-ga already supports isa-serial connection. How i need to configure domain via libvirt to able virsh qemu-agent-command to this guest vm? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru -- libvir-list mailing list libvir-list@redhat