Changes in -dev branch
Hi,
I've just pushed a new version of the virtio-fs-dev branch in
https://gitlab.com/virtio-fs/qemu
some things to note:
a) It's now rebased on upstream qemu 4.2-rc5
b) The virtiofsd is now in tools/virtiofsd rather than contrib (after a long discussion on qemu-devel about where people want it)
c) I've reformatted all the files to match qemu's coding style guidelines; mostly. This is a mostly automatic process with some hand tweaking. There's the possibility some stuff is screwed up so I need to check on it.
d) It now uses libcap-ng rather libcap; that's the way qemu is moving, allthough the change is a bit hairy.
e) If you're missing either libseccomp or libcapng during build it will omit virtiofsd rather than failing the build.
Dave
--
Dr. David Alan Gilbert / [email protected] / Manchester, UK
Hi Dave,
I've just checked the codebase and I can see it includes the libvhost- user fixes "libvhost-user: fix SLAVE_SEND_FD handling" and "libvhost-
user: introduce and use vu_has_protocol_feature()", that's great!
Unfortunately, through the virtio-fs development (based on previous libvhost-user code), a new bug has been introduced here:
https://gitlab.com/virtio-fs/qemu/blob/virtio-fs-dev/contrib/libvhost-user/libvhost-user.c#L2558
Instead, it needs to follow the new code format (which fixes the bug) like here:
https://gitlab.com/virtio-fs/qemu/blob/virtio-fs-dev/contrib/libvhost-user/libvhost-user.c#L1136
Do you think that's something we can quickly fix on your branch?
I can push a patch if you need me to :)
Thanks,
Sebastien
Quoted 22 lines · Dr. David Alan Gilbert
Hi,
I've just pushed a new version of the virtio-fs-dev branch in
https://gitlab.com/virtio-fs/qemusome things to note:
a) It's now rebased on upstream qemu 4.2-rc5
b) The virtiofsd is now intools/virtiofsdrather than contrib (after a long discussion on qemu-devel about where people want it)
c) I've reformatted all the files to match qemu's coding style guidelines; mostly. This is a mostly automatic process with some hand tweaking. There's the possibility some stuff is screwed up so I need to check on it.
d) It now uses libcap-ng rather libcap; that's the way qemu is moving, allthough the change is a bit hairy.
e) If you're missing either libseccomp or libcapng during build it will omit virtiofsd rather than failing the build.Dave
Quoted 8 lines
--
Dr. David Alan Gilbert / [email protected] / Manchester, UK_______________________________________________
Virtio-fs mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virtio-fs
---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company) Registered headquarters: "Les Montalets"- 2, rue de Paris, 92196 Meudon Cedex, France
Registration Number: 302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
Quoted 6 lines · * Boeuf, Sebastien ([email protected]) wrote:
Hi Dave,
I've just checked the codebase and I can see it includes the libvhost- user fixes "libvhost-user: fix
SLAVE_SEND_FDhandling" and "libvhost-
user: introduce and usevu_has_protocol_feature()", that's great!
Quoted 7 lines
Unfortunately, through the virtio-fs development (based on previous libvhost-user code), a new bug has been introduced here:
https://gitlab.com/virtio-fs/qemu/blob/virtio-fs-dev/contrib/libvhost-user/libvhost-user.c#L2558Instead, it needs to follow the new code format (which fixes the bug) like here:
https://gitlab.com/virtio-fs/qemu/blob/virtio-fs-dev/contrib/libvhost-user/libvhost-user.c#L1136
Oops!
Quoted 3 lines
Do you think that's something we can quickly fix on your branch?
I can push a patch if you need me to :)
Pushed; can you just check that's OK?
Dave
Quoted 41 lines
Thanks,
SebastienQuoted 22 lines · Dr. David Alan Gilbert
Hi,
I've just pushed a new version of the virtio-fs-dev branch in
https://gitlab.com/virtio-fs/qemusome things to note:
a) It's now rebased on upstream qemu 4.2-rc5
b) The virtiofsd is now intools/virtiofsdrather than contrib (after a long discussion on qemu-devel about where people want it)
c) I've reformatted all the files to match qemu's coding style guidelines; mostly. This is a mostly automatic process with some hand tweaking. There's the possibility some stuff is screwed up so I need to check on it.
d) It now uses libcap-ng rather libcap; that's the way qemu is moving, allthough the change is a bit hairy.
e) If you're missing either libseccomp or libcapng during build it will omit virtiofsd rather than failing the build.Dave
Quoted 8 lines
--
Dr. David Alan Gilbert / [email protected] / Manchester, UK_______________________________________________
Virtio-fs mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virtio-fs---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company) Registered headquarters: "Les Montalets"- 2, rue de Paris, 92196 Meudon Cedex, France
Registration Number: 302 456 199R.C.S. NANTERRE
Capital: 4,572,000 Euros
Quoted 4 lines
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
--
Dr. David Alan Gilbert / [email protected] / Manchester, UK
Quoted 18 lines · Dr. David Alan Gilbert
Quoted 8 lines · * Boeuf, Sebastien ([email protected]) wrote:
Hi Dave,
I've just checked the codebase and I can see it includes the libvhost-
user fixes "libvhost-user: fixSLAVE_SEND_FDhandling" and "libvhost-
user: introduce and usevu_has_protocol_feature()", that's great!Quoted 8 lines
Unfortunately, through the virtio-fs development (based on previous libvhost-user code), a new bug has been introduced here:
https://gitlab.com/virtio-fs/qemu/blob/virtio-fs-dev/contrib/libvhost-user/libvhost-user.c#L2558Instead, it needs to follow the new code format (which fixes the bug)
like here:
https://gitlab.com/virtio-fs/qemu/blob/virtio-fs-dev/contrib/libvhost-user/libvhost-user.c#L1136
Quoted 7 lines
Oops!
Quoted 3 lines
Do you think that's something we can quickly fix on your branch?
I can push a patch if you need me to :)
Pushed; can you just check that's OK?
Just checked, it looks good :)
I need to verify it, but I think the branch can now be directly used with Cloud-Hypervisor. I'll let you know if I run into any kind of trouble.
Thanks,
Sebastien
Quoted 45 lines
Dave
Quoted 42 lines
Thanks,
SebastienQuoted 22 lines · Dr. David Alan Gilbert
Hi,
I've just pushed a new version of the virtio-fs-dev branch in
https://gitlab.com/virtio-fs/qemusome things to note:
a) It's now rebased on upstream qemu 4.2-rc5
b) The virtiofsd is now intools/virtiofsdrather than contrib (after a long discussion on qemu-devel about where people want it)
c) I've reformatted all the files to match qemu's coding style guidelines; mostly. This is a mostly automatic process with some hand tweaking. There's the possibility some stuff is screwed up so I need to check on it.
d) It now uses libcap-ng rather libcap; that's the way qemu is moving, allthough the change is a bit hairy.
e) If you're missing either libseccomp or libcapng during build it will omit virtiofsd rather than failing the build.Dave
Quoted 8 lines
--
Dr. David Alan Gilbert / [email protected] / Manchester, UK_______________________________________________
Virtio-fs mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virtio-fs-----------------------------------------------------------------
----
Intel Corporation SAS (French simplified joint stock company) Registered headquarters: "Les Montalets"- 2, rue de Paris, 92196 Meudon Cedex, France
Registration Number: 302 456 199R.C.S. NANTERRE
Capital: 4,572,000 Euros
Quoted 9 lines
Quoted 6 lines
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.--
Dr. David Alan Gilbert / [email protected] / Manchester, UK
---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company) Registered headquarters: "Les Montalets"- 2, rue de Paris, 92196 Meudon Cedex, France
Registration Number: 302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.