|
From: | Avi Kivity |
Subject: | Re: [Qemu-devel] [PATCH 0/3] Allow host_net_add monitor command accept file descriptors |
Date: | Tue, 07 Jul 2009 12:03:18 +0300 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2 |
On 07/07/2009 11:13 AM, Mark McLoughlin wrote:
Nice idea, certainly. However, since it's only currently useful for tap/socket networking, I'm happier with not adding two new monitor commands and only supporting a single fd for now.What happens when we do get more commands?Any specific ideas around what else might use it?
Migration, usb, passing around eventfds for interguest communication.
Do we then add the new commands and special-case fd=msgfd ?Sounds like a fine plan to me. We could name an fd passed via the current commands as "msgfd" and only the "getfd" command would have the ability to assign another name.
If we can't see ahead, it's fine to accumulate cruft. When we can however we should avoid it. The external interfaces are complicated enough.
-- error compiling committee.c: too many arguments to function
[Prev in Thread] | Current Thread | [Next in Thread] |