qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v4 7/9] sockets: allow SocketAddress 'fd' to ref


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH v4 7/9] sockets: allow SocketAddress 'fd' to reference numeric file descriptors
Date: Tue, 6 Feb 2018 08:48:43 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2

On 02/06/2018 03:13 AM, Daniel P. Berrangé wrote:

+++ b/qapi/sockets.json
@@ -123,6 +123,13 @@
   #
   # @unix:  Unix domain socket
   #
+# @vsock: VMCI address
+#
+# @fd: decimal is for file descriptor number, otherwise a file descriptor name.
+#      Named file descriptors are permitted in monitor commands, in combination
+#      with the 'getfd' command. Decimal file descriptors are permitted at
+#      startup or other contexts where no monitor context is active.
+#
   # Since: 2.9

There doesn't seem to be any way to introspect if we support decimal fds
from the command line; is that going to be a problem?

Libvirt needs to know when it can use it, so any suggestions ?

Patch 9/9 modified qemu_chardev_opts; does that change reflect through query-command-line-options? Not all QemuOpts changes are introspectible yet, and Markus has been trying to tackle that, but if this particular one works, we can use that as our witness (after all, if I understand correctly, the new feature you are adding here is NOT affecting the QMP usage, but is an enhancement for command-line usage).

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org



reply via email to

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