All of lore.kernel.org
 help / color / mirror / Atom feed
From: John-Mark Gurney <jmg@funkthat.com>
To: qemu-arm@nongnu.org, qemu-devel@nongnu.org
Subject: Detecting qemu from guest on arm/hvf (apple arm)
Date: Wed, 15 Feb 2023 15:48:46 -0800	[thread overview]
Message-ID: <20230215234846.GJ95670@funkthat.com> (raw)

Hello,

I was wondering what the best way to detect that FreeBSD is running
under qemu/hvf on Apple ARM?  FreeBSD doesn't see the ACPI FADT table,
so I'm wondering if keying off of something like the QEMU0002 device
in ACPI is the best way?  Or is there another option?

Thanks for your help.

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."

             reply	other threads:[~2023-02-16  2:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-15 23:48 John-Mark Gurney [this message]
2023-02-16 10:23 ` Detecting qemu from guest on arm/hvf (apple arm) Peter Maydell
2023-02-20 22:32   ` John-Mark Gurney
2023-02-21 10:06 ` Daniel P. Berrangé

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230215234846.GJ95670@funkthat.com \
    --to=jmg@funkthat.com \
    --cc=qemu-arm@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.