qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Marian Posteuca <posteuca@mutex.one>,
	Michael Tokarev <mjt@tls.msk.ru>,
	qemu-devel@nongnu.org
Cc: Peter Maydell <peter.maydell@linaro.org>,
	Eduardo Habkost <ehabkost@redhat.com>,
	Ben Warren <ben@skyportsystems.com>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	Richard Henderson <richard.henderson@linaro.org>,
	Dongjiu Geng <gengdongjiu@huawei.com>,
	Shannon Zhao <shannon.zhaosl@gmail.com>,
	Xiang Zheng <zhengxiang9@huawei.com>,
	qemu-arm@nongnu.org, Igor Mammedov <imammedo@redhat.com>,
	Xiao Guangrong <xiaoguangrong.eric@gmail.com>
Subject: Re: [PATCH v2] acpi: Permit OEM ID and OEM table ID fields to be changed
Date: Tue, 22 Dec 2020 23:46:15 +0100	[thread overview]
Message-ID: <93c58d9d-63c6-b2d8-2b12-d7ed4aa1b171@redhat.com> (raw)
In-Reply-To: <87eejh4zpq.fsf@mutex.one>

On 22/12/20 16:39, Marian Posteuca wrote:
>>> Qemu's ACPI table generation sets the fields OEM ID and OEM table ID
>>> to "BOCHS " and "BXPCxxxx" where "xxxx" is replaced by the ACPI
>>> table name.
>>>
>>> Some games like Red Dead Redemption 2 seem to check the ACPI OEM ID
>>> and OEM table ID for the strings "BOCHS" and "BXPC" and if they are
>>> found, the game crashes(this may be an intentional detection
>>> mechanism to prevent playing the game in a virtualized environment).
>> This isn't a technical question/comment about the patch itself, but
>> about something different.  Do we really want to play this whack-a-mole
>> game? If we change ACPI table IDs, those who want to disallow running
>> their software inside qemu/kvm will find some other way to check for
>> this environment. We will change that, - just to be found again. And
>> so on.. is it productive? I don't think so.
>
> My personal opinion is that as long as it's not too difficult to mask
> that the guest is running in a virtualized environment we should try to
> do these changes. But I guess this can only be judged on per change basis.

I don't have any particular opinion against the "arms 
race"/"whack-a-mole" situation.  We played the game (and sort of won, 
they got tired of changing the drivers) against NVIDIA already.

For 6.0 I'm already planning to revamp a bunch of machine properties, 
for example making -acpitable file=xxx a synonym for "-machine 
acpi.tables.N.file=xxx".  Perhaps we could plan for that and make the 
option "-machine acpi.oem_id".

Paolo



  reply	other threads:[~2020-12-22 22:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-22 11:33 [PATCH v2] acpi: Permit OEM ID and OEM table ID fields to be changed Marian Posteuca
2020-12-22 12:43 ` Michael Tokarev
2020-12-22 15:39   ` Marian Posteuca
2020-12-22 22:46     ` Paolo Bonzini [this message]
2020-12-27 23:12       ` Marian Posteuca
2020-12-23 10:54 ` Igor Mammedov
2020-12-23 21:56   ` Marian Posteuca
2020-12-29 11:31     ` Igor Mammedov

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=93c58d9d-63c6-b2d8-2b12-d7ed4aa1b171@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=ben@skyportsystems.com \
    --cc=ehabkost@redhat.com \
    --cc=gengdongjiu@huawei.com \
    --cc=imammedo@redhat.com \
    --cc=mjt@tls.msk.ru \
    --cc=mst@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=posteuca@mutex.one \
    --cc=qemu-arm@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    --cc=shannon.zhaosl@gmail.com \
    --cc=xiaoguangrong.eric@gmail.com \
    --cc=zhengxiang9@huawei.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).