Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

qemu: change CID of VSOCK to uint64 #70

Closed
alicefr opened this issue Nov 29, 2018 · 0 comments
Closed

qemu: change CID of VSOCK to uint64 #70

alicefr opened this issue Nov 29, 2018 · 0 comments

Comments

@alicefr
Copy link
Member

alicefr commented Nov 29, 2018

The ContextID of VSOCK should be a uint64 not a uint32. That provokes an endianess issue in the kata-runtime. See kata-containers/runtime#947. Qemu requests an uint64:

$ qemu-system-x86_64 -device vhost-vsock-pci,help
[...]
vhost-vsock-pci.guest-cid=uint64
alicefr pushed a commit to alicefr/govmm that referenced this issue Nov 29, 2018
The correct type used by qemu and in kernel is uint64 and this leads to
an endianess problem with ioctl system call. See the issue
kata-containers/runtime#947

Fixes: kata-containers#70

Signed-off-by: Alice Frosi <afrosi@de.ibm.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant