On 12/03/2014 03:07 PM, Bryan D. Payne wrote: >> >> In addition to Fam's review, I have a question - does this code properly >> use qemu_open() so that I can use 'add-fd' to pass in a pre-opened >> socket fd into fdset 1, then call pmemaccess with '/dev/fdset/1'? If >> not, can you please fix it to allow this usage? >> > > I'm not familiar with this setup. Could you point me to an example of > where this is done properly somewhere else in the Qemu code base? Once I > figure this out, I'll be able to post the v3 patch.
Off the top of my head, I know the -tpm command line options (related to the 'query-tpm' QMP command) do this; look at hw/tpm/tpm_passthrough.c for that implementation. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature