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*
--
*Driving Innovation! Visit our website www.avelabs.com http://www.avelabs.com/*, to read Avelabs Confidentiality Notice, follow this link: http://www.avelabs.com/email/disclaimer.html http://www.avelabs.com/email/disclaimer.html
_______________________________________________ l4-hackers mailing list -- l4-hackers@os.inf.tu-dresden.de To unsubscribe send an email to l4-hackers-leave@os.inf.tu-dresden.de