• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Is it possible to detect a virtual machine
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is it possible to detect a virtual machine


  • Subject: Re: Is it possible to detect a virtual machine
  • From: Matthew Kozak <email@hidden>
  • Date: Sat, 02 Mar 2013 13:49:48 -0500

This depends on the virtualization technology in question:
http://www.meetup.com/CocoaHeads-Stockholm/messages/boards/thread/26497882
-and-
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1009458
...the assumptions of which can each be their own moving targets (pardon the off-topic, but generically relevant, Windows reference):
http://stackoverflow.com/questions/1370586/detect-if-windows-is-running-from-within-parallels

Is there a more specific reason/goal, which might yield a more reliable and lasting testing method than trying to deduce a vm environment, generally?

Thanks,
-Matt

On Mar 2, 2013, at 11:58 AM, Jean Suisse wrote:

> I don't have the answer to your question, but here is a thought:
> Virtual machines, such as VMWare, present some generic hardware to the OS they run. Could you detect the available hardware, check the vendor, and then decide wether or not you are running in a virtual environment ?
>
> Jean
>
> -----------
> Jean Suisse
> Institut de Chimie Moléculaire de l’Université de Bourgogne
> (ICMUB) — UMR 6302
>
>
> On 2 mars 2013, at 17:17, Kjell Nilsson <email@hidden> wrote:
>
>> Hi
>>
>> I am wondering if it is possible to detect if my Cocoa Application is running in a virtual machine like VMWare, VirtualBox or Parallells Desktop from inside my app.
>>
>> Kind regards
>> --kerusan
>>
>>
>>
>> _______________________________________________
>>
>> Cocoa-dev mailing list (email@hidden)
>>
>> Please do not post admin requests or moderator comments to the list.
>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>>
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Is it possible to detect a virtual machine (From: Kjell Nilsson <email@hidden>)
 >Re: Is it possible to detect a virtual machine (From: Jean Suisse <email@hidden>)

  • Prev by Date: Re: Is it possible to detect a virtual machine
  • Next by Date: Re: Documents not opening from Finder
  • Previous by thread: Re: Is it possible to detect a virtual machine
  • Next by thread: Re: Is it possible to detect a virtual machine
  • Index(es):
    • Date
    • Thread