[Interest] Detemine Run into VM

Thiago Macieira thiago.macieira at intel.com
Wed Mar 27 20:41:27 CET 2019

systemd-detect-virt -v if you don't want to be told about being run inside 

Note that you can also use ConditionVirtualization in your systemd units if 
you need to start (or not start) a service.

On Wednesday, 27 March 2019 11:37:42 PDT Jérôme Godbout wrote:
> Nice, thanks Thiago!
> -----Original Message-----
> From: Interest <interest-bounces at qt-project.org> On Behalf Of Thiago
> Macieira
> Sent: March 27, 2019 2:05 PM
> To: interest at qt-project.org
> Subject: Re: [Interest] Detemine Run into VM
> On Wednesday, 27 March 2019 09:11:11 PDT Jérôme Godbout wrote:
> > Is there a way to detect the application run inside a VM from Qt?
> Run systemd-detect-virt.

Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel System Software Products

More information about the Interest mailing list