From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 2002:ac2:4c03:0:0:0:0:0 with SMTP id t3csp5683035lfq; Tue, 22 Dec 2020 07:43:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJxrDFUH3j0ngrc0R/3Y4IvyRHofHcmkHpVYWNeI14CW1pluNqlziI18u5I7A6noMGOrZ25K X-Received: by 2002:a25:da89:: with SMTP id n131mr30422176ybf.67.1608651813775; Tue, 22 Dec 2020 07:43:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608651813; cv=none; d=google.com; s=arc-20160816; b=tkZXZQrP5LUNioMr/SbLTAHVum1bhlgveolCr5Nkt8y4reYhzbnB+ZpY1nd2J8c+aT OEIsy+DDU3+UQWc45j4ja6XL60MTOQR7jqNH72YMWL8d90uG5xbBnZurV+GJ4GzjWo+l sMbi12mkXFEdYFcS7mMwGiNi34BK/qPCRJrERg99lKD7aOeUq3WAsEKL/kQAKIiZzTSo xzv2kfAuz7ZjMsS6CzfSt9mmqc+TDORkLRhXHkNDembEqNbizpsLy1mXllE5a13bX+a8 DaEPHavIHw7uUHbtYR6m53Ca8MKtJfdjIh+kwMLE0V2Pti5PKG0U8VbYPo9/lxjD3oeI pp7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version:message-id:date :references:in-reply-to:subject:to:from:dkim-signature; bh=LFD0A2X4TMUbtyFRDOFItG6qd8ec+TRassHkQlzzbVc=; b=osfl/9pAxca5rF3ojtHENE6zEehdJb+s/NYqQ8ImiDrQ99APyJ06L/7Aucms2LW2/u aFlWbD4z+UG9zq9nx85xbCRSiXQd5sf0HjWbRb8DRAm/RjbmV8meB0Mp8jkJab07KTGE zstMh4HBO5tGJIOTt2aXoaL4jWjrhzxgOvkttT+Mh8FhU0z5UM7nJf2SoG5Wv1N21EKf 1qd/fmDeeI/J0XZhBFhoUIjyj21EunjwzhqgJwgbShdQY9zVU6NgoJTNAEj31hrlccob iXT/4yofJ5AgRnU0DdAGgFLrCIfzZYEZdguBDY7iBCLE65D95WwG+P0Lsl0WcJbP/ysx watg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mutex.one header.s=default header.b=DeMVnAvO; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id r38si6630484ybd.19.2020.12.22.07.43.33 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 22 Dec 2020 07:43:33 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@mutex.one header.s=default header.b=DeMVnAvO; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org" Received: from localhost ([::1]:50070 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1krjoz-0001q0-55 for alex.bennee@linaro.org; Tue, 22 Dec 2020 10:43:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38884) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krjoZ-0001po-9J; Tue, 22 Dec 2020 10:43:07 -0500 Received: from mail.mutex.one ([62.77.152.124]:46758) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krjoX-0008Bh-LM; Tue, 22 Dec 2020 10:43:07 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.mutex.one (Postfix) with ESMTP id 3F81FBF40375; Tue, 22 Dec 2020 17:43:01 +0200 (EET) X-Virus-Scanned: Debian amavisd-new at mail.mutex.one Received: from mail.mutex.one ([127.0.0.1]) by localhost (mail.mutex.one [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id moyrh-Txwy5l; Tue, 22 Dec 2020 17:43:00 +0200 (EET) Received: [127.0.0.1] (localhost [127.0.0.1])nknown [79.112.42.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mutex.one (Postfix) with ESMTPSA id 72086BF402FC; Tue, 22 Dec 2020 17:43:00 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mutex.one; s=default; t=1608651780; bh=4c0z7GikZQtp0+kQ7r75UvNRsiKRmFYSiLZyq241zTw=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=DeMVnAvOL9Cj5FJaRlCgo+1tLSeJUjy9xBr8Lkob8kLuAh6RQ7ipyKVGSh++1q2dE NiCrSN99gr3aFPz2YxVuolvoULFKH4XQTnsTipP9NkepxrAQROWPv/HVMUsyCEURN8 NILlK0E5+3G5+83MnEitJUpw7PgT2sp84pdgf3+Y= From: Marian Posteuca To: Michael Tokarev , qemu-devel@nongnu.org Subject: Re: [PATCH v2] acpi: Permit OEM ID and OEM table ID fields to be changed In-Reply-To: References: <20201222113353.31224-1-posteuca@mutex.one> Date: Tue, 22 Dec 2020 17:39:29 +0200 Message-ID: <87eejh4zpq.fsf@mutex.one> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=62.77.152.124; envelope-from=posteuca@mutex.one; helo=mail.mutex.one X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-arm@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Eduardo Habkost , Ben Warren , "Michael S. Tsirkin" , Richard Henderson , Dongjiu Geng , Shannon Zhao , Xiang Zheng , qemu-arm@nongnu.org, Igor Mammedov , Paolo Bonzini , Xiao Guangrong Errors-To: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: "Qemu-arm" X-TUID: 1BHEYRL+xKyA Michael Tokarev writes: > 22.12.2020 14:33, 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'm not against this patch in any way, not at all, - having this ability > is good for other purpose too. But I think we can't won in this "detect > if we're running under qemu" battle easily. And the next version of the > same game will have a more sofisticated detection method and we won't > even know which way they used. People gaming in a virtualized environment, are a very small fraction of windows gamers, so I would assume that these companies do the bare minimum to detect QEMU(an exception might be online games where they have an incentive to prevent cheating). Also I suppose this change could also be helpful for malware analysis(since it prevents one way of detecting if windows is running in a VM)? Would you like a more generic commit message which doesn't references gaming? > > Thanks, > > /mjt