qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [patch 18/18] qemu: PCI device, disk and host network h


From: Avi Kivity
Subject: Re: [Qemu-devel] [patch 18/18] qemu: PCI device, disk and host network hot-add / hot-remove
Date: Wed, 04 Feb 2009 17:59:37 +0200
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

Anthony Liguori wrote:

It doesn't support this today but additional patches to enable that are certainly welcome. The best way would be a generic mechanism to send a file descriptor to QEMU that could then be used anywhere fd= is valid. For instance:

(qemu) receivefd unix:foo.sock,server
fd=5
(qemu) closefd 5

(qemu) receivefd myfd
// qemu receives an fd over the monitor, and attaches it to the tag 'myfd'
(qemu) closefd myfd
// qemu closes the fd attached to tag 'myfd'

Advantages:
- no runtime handshaking with a new socket
- work with names, not numbers you need to read off the monitor

--
error compiling committee.c: too many arguments to function





reply via email to

[Prev in Thread] Current Thread [Next in Thread]