netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* vsock CID questions
@ 2020-02-18 22:45 ted.h.kim
  2020-02-19 10:44 ` Stefano Garzarella
  2020-02-19 15:43 ` Stefan Hajnoczi
  0 siblings, 2 replies; 6+ messages in thread
From: ted.h.kim @ 2020-02-18 22:45 UTC (permalink / raw)
  To: sgarzare; +Cc: stefanha, netdev

Hi Stefano (and Stefan),

I have some questions about vsock CIDs, particularly when migration happens.

1. Is there an API to lookup CIDs of guests from the host side (in 
libvirt)?

2. In the vsock(7) man page, it says the CID might change upon 
migration, if it is not available.
Is there some notification when CID reassignment happens?

3. if CID reassignment happens, is this persistent? (i.e. will I see 
updated vsock definition in XML for the guest)

4. I would like to minimize the chance of CID collision. If I understand 
correctly, the CID is a 32-bit unsigned. So for my application, it might 
work to put an IPv4 address. But if I adopt this convention, then I need 
to look forward to possibly using IPv6. Anyway, would it be hard to 
potentially expand the size of the CID to 64 bits or even 128?

Thanks,
-ted

-- 
Ted H. Kim, PhD
ted.h.kim@oracle.com
+1 310-258-7515



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-02-25 11:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-18 22:45 vsock CID questions ted.h.kim
2020-02-19 10:44 ` Stefano Garzarella
2020-02-19 15:43 ` Stefan Hajnoczi
2020-02-20 16:09   ` Ján Tomko
2020-02-21 19:49     ` ted.h.kim
2020-02-25 11:30       ` Ján Tomko

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