qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* RFC: extending QGA guest-network-get-interfaces
@ 2021-11-24 14:00 Marc-André Lureau
  2021-11-24 15:15 ` Michal Prívozník
  0 siblings, 1 reply; 2+ messages in thread
From: Marc-André Lureau @ 2021-11-24 14:00 UTC (permalink / raw)
  To: QEMU; +Cc: oshoval, Michael Roth

[-- Attachment #1: Type: text/plain, Size: 938 bytes --]

Hi

Or Shoval filed two RFE for guest-network-get-interfaces:
- "Guest agent should report the interface Permanent address"
https://bugzilla.redhat.com/show_bug.cgi?id=2025303
- "Guest agent should report interfaces from non root network namespaces"
https://bugzilla.redhat.com/show_bug.cgi?id=2025296

They have in common that the implementation requires a bit more
system-specific calls than what is currently being done afaik, and may be
specific to Linux using a netlink socket.

Rather than extending guest-network-get-interfaces with system-specific and
more complex code (and re-implementing "ip" as we add more features), I am
wondering if it wouldn't make more sense to add some kind of
"guest-exec-linux-ip" command. Since "ip" can output its result as JSON
with -j, the response could be embedded, or let the client parse it from an
escaped "output" string.

Any opinion or idea?

-- 
Marc-André Lureau

[-- Attachment #2: Type: text/html, Size: 1770 bytes --]

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

end of thread, other threads:[~2021-11-24 15:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-24 14:00 RFC: extending QGA guest-network-get-interfaces Marc-André Lureau
2021-11-24 15:15 ` Michal Prívozník

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).