qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Is guest agent socket being closed upon reboot?
@ 2012-01-16 13:26 Michal Privoznik
  2012-01-16 15:11 ` Michael Roth
  0 siblings, 1 reply; 3+ messages in thread
From: Michal Privoznik @ 2012-01-16 13:26 UTC (permalink / raw)
  To: qemu-devel; +Cc: mdroth

Hi,

I'd like you to ask if/why is guest agent socked being closed upon guest
reboot. I am using virtserialport to talk to guest agent:

-chardev
socket,id=charchannel0,path=/var/lib/libvirt/qemu/f16x86_64.agent,server,nowait
-device
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0

I would understand if socket accept connection iff GA is up and running.
However, this is not the case. One is perfectly able to connect to GA
socket even without any GA inside guest.

I think that GA socket should be as persistent as monitor. Even despite
fact they address different areas. Application issuing monitor commands
shouldn't be forced to reconnect on every guest reboot, should they?

Or have I misunderstood the concept?

Michal

^ permalink raw reply	[flat|nested] 3+ messages in thread
* [Qemu-devel] Is guest agent socket being closed upon reboot?
@ 2012-01-16 13:11 Michal Privoznik
  0 siblings, 0 replies; 3+ messages in thread
From: Michal Privoznik @ 2012-01-16 13:11 UTC (permalink / raw)
  To: qemu-devel; +Cc: mdroth

Hi,

I'd like you to ask if/why is guest agent socked being closed upon guest
reboot. I am using virtserialport to talk to guest agent:

-chardev
socket,id=charchannel0,path=/var/lib/libvirt/qemu/f16x86_64.agent,server,nowait
-device
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0

I would understand if socket accept connection iff GA is up and running.
However, this is not the case. One is perfectly able to connect to GA
socket even without any GA inside guest.

I think that GA socket should be as persistent as monitor. Even despite
fact they address different areas. Application issuing monitor commands
shouldn't be forced to reconnect on every guest reboot, should they?

Or have I misunderstood the concept?

Michal

(Please keep me CC'ed as I am not registered to the mailing list)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-01-16 15:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-16 13:26 [Qemu-devel] Is guest agent socket being closed upon reboot? Michal Privoznik
2012-01-16 15:11 ` Michael Roth
  -- strict thread matches above, loose matches on Subject: below --
2012-01-16 13:11 Michal Privoznik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).