Is there a way to detect the application run inside a VM from Qt? I have a different behavior on how I need to handle a cdc_acm under VirtualBox (and possibly VMWare, but I haven't tested yet). I was looking at QSysInfo, but I'm nont sure I will be able to confirm this with it.
Else I can run a bash command: grep -q ^flags.*\ hypervisor /proc/cpuinfo && echo "This machine is a VM" But I'm looking at a more clean way to detect I run inside VirtualBox. Any idea? [36E56279] une compagnie [cid:[email protected]] RAPPROCHEZ LA DISTANCE Jérôme Godbout Développeur Logiciel Sénior / Senior Software Developer p: +1 (418) 800-1073 ext.:109 amotus.ca<http://www.amotus-solutions.com/> statum-iot.com<http://statum-iot.com/> [cid:[email protected]]<https://www.facebook.com/LesSolutionsAmotus/> [cid:[email protected]] <https://www.linkedin.com/company/amotus-solutions/> [cid:[email protected]] <https://twitter.com/AmotusSolutions> [cid:[email protected]] <https://www.youtube.com/channel/UCoYpQgsmj1iJZyDjTQ3x8Ig>
_______________________________________________ Interest mailing list [email protected] https://lists.qt-project.org/listinfo/interest
