sharing RTC device between 2 linux VMs

Mohamed Dawod <[email protected]> Mon, 26 Aug 2024 13:48:39 +0300
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <CADFpuPJnh3PR0hpVKnJ22XgTaYfiW-K6TMz=vB_pO+=bnHQaLA@mail.gmail.com>
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 -- [email protected]
To unsubscribe send an email to [email protected]
image.png (image/png, 14.3 KB) - not displayed
vm_hw_2VM_1.vbus (application/octet-stream, 314 B) - not displayed
vm_hw_2VM_2.vbus (application/octet-stream, 313 B) - not displayed
multiLinuxVMio_2VM.cfg (application/octet-stream, 830 B) - not displayed
io_2VM.cfg (application/octet-stream, 712 B) - not displayed