About Inter-VM Communication - Shared Memory
Musa Ünal <umusasadik@...>
Hello all, Is it possible to configure one VM to have R/W privilege and another VM to only read. I couldn't find it in the documentation. https://projectacrn.github.io/latest/developer-guides/hld/ivshmem-hld.html Thanks |
|
Zou, Terry
Hi Musa, welcome to ACRN community : ) Specific to you question, do you mean R/W privilege for one storage/partition? One VM can R/W the storage and other VM can only read right. Or other resource you want to set privilege?
Best &Regards Terry From: acrn-users@... <acrn-users@...>
On Behalf Of Musa Ünal
Sent: Wednesday, September 1, 2021 3:59 AM To: acrn-users@... Subject: [acrn-users] About Inter-VM Communication - Shared Memory
Hello all, Is it possible to configure one VM to have R/W privilege and another VM to only read. I couldn't find it in the documentation. https://projectacrn.github.io/latest/developer-guides/hld/ivshmem-hld.html Thanks
|
|
Musa Ünal <umusasadik@...>
thank you for your reply, yes I would like to arrange that one vm can read/write to the shared memory (ivshmem) and one of them can only read from there. Zou, Terry <terry.zou@...>, 2 Eyl 2021 Per, 03:29 tarihinde şunu yazdı:
|
|
Zou, Terry
Wo, you mean ivshmem shared memory privilege for each VM, actually you already referred the doc : ) https://projectacrn.github.io/latest/developer-guides/hld/ivshmem-hld.html
Specific to ivshmem, actually it is a simple protocol for virtual VM communication from qemu, just mapping share memory as virtual PCI device in VM. There is no privilege control for each VM, so in ACRN inter-vm commutation, we also follow the same way, no difference for each VM of shared memory R/W. But if you have hard request for Write control, you can implement it in upper layer application or software right.
Best & Regards Terry
From: acrn-users@... <acrn-users@...>
On Behalf Of Musa Ünal
Sent: Thursday, September 2, 2021 1:19 PM To: acrn-users@... Subject: Re: [acrn-users] About Inter-VM Communication - Shared Memory
thank you for your reply, yes I would like to arrange that one vm can read/write to the shared memory (ivshmem) and one of them can only read from there.
Zou, Terry <terry.zou@...>, 2 Eyl 2021 Per, 03:29 tarihinde şunu yazdı:
|
|
Musa Ünal <umusasadik@...>
Thanks Terry, I will look about it Zou, Terry <terry.zou@...>, 2 Eyl 2021 Per, 11:48 tarihinde şunu yazdı:
|
|