Hi Adam
Thank you for the information. but I couldn't find anything about the RTC package, how to use and configure it in the ned script ?
Best regards,
Mohamed
On Thu, Aug 29, 2024 at 8:54 PM Adam Lackorzynski <adam@l4re.org> wrote:
Hi Mohamed,
indeed, accessing the same device by two or more clients is not good.
There is an rtc package for exactly this: giving multiple clients/VMs
access to the rtc.
Adam
On Mon Aug 26, 2024 at 13:48:39 +0300, Mohamed Dawod wrote:
> Hi,
> I was trying to pass the RTC device from the host machine (qemu-arm46) to
> the guest machine linux VM on top of L4. and it was done successfully.
> Now I'm trying to share the same device between 2 linux VMs on top of L4.
> by duplicating the virtual device that describes the same physical device
> and also duplicating the virtual bus and passing one for each new vm.
>
> The issue if that one of the VMs is terminated because of the disability of
> binding the same IRQ as described in the screenshot below :
> [image: image.png]
>
> Please find attached all ned scripts I'm using for this experiment.
>
> Thank you,
> Regards
>
> --
> Mohamed Dawod
> *Software Engineer, *Avelabs Egypt
> *Cell Phone : (+20) 1117311726*
>
> --