Re: Hermetic virtio-vsock in QEMU

2024-05-08 Thread Roman Kiryanov
Hi Stefano, On Tue, May 7, 2024 at 1:10 AM Stefano Garzarella wrote: > I have no experience with Windows, but what we need for vhost-user is: > > - AF_UNIX and be able to send file descriptors using ancillary data >(i.e. SCM_RIGHTS) As far as I understand, Windows does NOT support

Re: QEMU headers in C++

2024-05-02 Thread Roman Kiryanov
Hi Paolo, thank you for looking. On Thu, May 2, 2024 at 8:19 AM Paolo Bonzini wrote: > > Anyway, just out of curiosity I tried to see what it would take to > compile edu.c as C++ code, which I think lets us give a more informed > answer. > > There were a bunch of conflicts with C++ keyword,

QEMU headers in C++

2024-05-01 Thread Roman Kiryanov
Hi QEMU, I work in Android Studio Emulator and we would like to develop devices in C++. Unfortunately, QEMU headers cannot be used with C++ as is (e.g. they use C++ keywords as variable names or implicitly cast void* to T*). Will QEMU be open to accept patches from us to make QEMU headers C++

Re: Hermetic virtio-vsock in QEMU

2024-04-17 Thread Roman Kiryanov
n libvhost-user.h and I think it is not used in libvhost-user. Regards, Roman. On Mon, Apr 15, 2024 at 4:20 AM Daniel P. Berrangé wrote: > On Wed, Apr 03, 2024 at 02:30:33PM -0700, Roman Kiryanov wrote: > > Hi Peter, Alex and QEMU, > > > > I work in Android Studio E

Hermetic virtio-vsock in QEMU

2024-04-03 Thread Roman Kiryanov
Hi Peter, Alex and QEMU, I work in Android Studio Emulator and we use virtio-vsock to emulate devices (e.g. sensors) which live in the Emulator binary. We need to run on Windows and in environments without CONFIG_VHOST_VSOCK, that is why we cannot use vhost-vsock and invented our implementation.

Re: [Qemu-devel] [PATCH] vmstate: Add VMSTATE_OPAQUE to save/load complex data structures

2019-05-24 Thread Roman Kiryanov via Qemu-devel
Hi Peter, > In any case, migration state on the wire needs to be > architecture/endianness/ Could you please point how the proposed change is architecture/endianness/ dependent? > implementation-independent, Could you please elaborate, what "implementation" you mean here? > so you can't just

Re: [Qemu-devel] [PATCH] vmstate: Add VMSTATE_OPAQUE to save/load complex data structures

2019-05-23 Thread Roman Kiryanov via Qemu-devel
Hi Dave, thank you for looking. > Can you give me an example of where you would use it? We use it in our host memory sharing device. I used the existing macros for all fields I could, but unfortunately some state does not fit into them. We use this new macro to save/load memory allocators (for