qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] How to determine Q-id in VHOST_USER_SET_LOG_BASE in a Multi-Q setup ?
@ 2016-03-21 23:54 shesha Sreenivasamurthy (shesha)
  0 siblings, 0 replies; only message in thread
From: shesha Sreenivasamurthy (shesha) @ 2016-03-21 23:54 UTC (permalink / raw)
  To: qemu-devel@nongnu.org

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

Hi All,
I'm implementing VM migration support for open-VPP, an open source Vector Packet Processing (VPP) technology (https://wiki.fd.io/view/VPP) - A Linux foundation project. In lieu of it, I have hit an issue and I need some clarification.

In Qemu's vhost-user implementation, each queue is treated as a vhost-net device and during migration, vhost_user_set_log_base is invoked per device (queue). However, there is no information about the queue index in the API. How should the slave determine which queue the master is referring to ?

For example: If I have configured my guest with 4 queues, VHOST_USER_SET_LOG_BASE is invoked 4 times with different SHMFDs. How to map SHMFD to queue ID ?

--
- Thanks
char * (*shesha) (uint64_t cache, uint8_t F00D)
{ return 0x0000C0DE; }

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-03-21 23:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-21 23:54 [Qemu-devel] How to determine Q-id in VHOST_USER_SET_LOG_BASE in a Multi-Q setup ? shesha Sreenivasamurthy (shesha)

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