From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BA21BC433ED for ; Tue, 6 Apr 2021 18:54:06 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2BA6161394 for ; Tue, 6 Apr 2021 18:54:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2BA6161394 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:44576 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTqpx-0006WQ-56 for qemu-devel@archiver.kernel.org; Tue, 06 Apr 2021 14:54:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36444) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTqpD-00067A-8R for qemu-devel@nongnu.org; Tue, 06 Apr 2021 14:53:19 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:58640) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTqpB-0004gj-Iq for qemu-devel@nongnu.org; Tue, 06 Apr 2021 14:53:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1617735196; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WWU2L+y6T8xFj2FdfkD78M+Ura6tMW1Wx/zONmwgOT8=; b=FC1czz/tjhTJkqgc2Ky0HAVZdf3gpQt7BgGcxcvrZaZ5HfKPCA9tDgY8hRqxcFoMR5idDt /cFSKQtOsajxdBucF7TmZvwGK8rwYBdOAwltAMrV+E6TDWY/H8z3X9f6JbD/M0FiPcHvka dwLCqgDv0T3ezYVyVO7oYxu31L/O0MQ= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-182-RVvFUgplP7eKTHIkupWi7A-1; Tue, 06 Apr 2021 14:53:11 -0400 X-MC-Unique: RVvFUgplP7eKTHIkupWi7A-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 32CDA801FCE; Tue, 6 Apr 2021 18:53:10 +0000 (UTC) Received: from localhost (unknown [10.40.208.10]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5A10B10023AC; Tue, 6 Apr 2021 18:53:09 +0000 (UTC) Date: Tue, 6 Apr 2021 20:53:07 +0200 From: Igor Mammedov To: Christian Ehrhardt =?UTF-8?B?7oO/?= <1915063@bugs.launchpad.net> Subject: Re: [Bug 1915063] Re: Windows 10 wil not install using qemu-system-x86_64 Message-ID: <20210406205307.755aec52@redhat.com> In-Reply-To: <161746873353.29047.7907960307448967364.malone@gac.canonical.com> References: <161281335451.16853.7070328699645987751.malonedeb@wampee.canonical.com> <161746873353.29047.7907960307448967364.malone@gac.canonical.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=imammedo@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=170.10.133.124; envelope-from=imammedo@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On Sat, 03 Apr 2021 16:52:13 -0000 Christian Ehrhardt =EE=83=BF <1915063@bugs.launchpad.net> wrote: > That is awesome David, > qemu64 is like a very low common denominator with only very basic CPU fea= tures. > While "copy host" means "enable all you can". Also it's worth to try setting real CPU topology for if EPYC cpu model is u= sed. i.e. use -smp with options that resemble a real EPYC cpu (for number of core complexes is configured with 'dies' option in QEMU) > We can surely work with that a bit, but until I get access to the same > HW I need you to do it. >=20 > > If you run in a console `$virsh domcapabilities` it will spew some XML at= you. One of the sections will be for "host-model". In my case that looks l= ike >=20 > > Skylake-Client-IBRS > Intel > > > > ... > >=20 >=20 > That means a names CPU type (the one that is closest to what you have) an= d some feature additionally enabled/disabled. >=20 > If you could please post the full output you have, that can be useful. > >From there you could go two steps. =20 > 1. as you see in my example it will list some cpu features on top of the = named type. > If you remove them one by one you might be able to identify the single= -cpu featute > that breaks in your case. > 2. The named CPU that you have also has a representation, it can be found= in > /usr/share/libvirt/cpu_map... > That ill list all the CPU features that make up the named type. > If #1 wasn't sufficient, you can now add those to your guest definitio= n one by one in disabled=20 > state, example > >=20 > A description of the underlying mechanism is here > https://libvirt.org/formatdomain.html#cpu-model-and-topology >=20 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7C6E2C433ED for ; Tue, 6 Apr 2021 21:05:06 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1C8A5613A3 for ; Tue, 6 Apr 2021 21:05:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1C8A5613A3 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bugs.launchpad.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:33700 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTssj-0007AR-2H for qemu-devel@archiver.kernel.org; Tue, 06 Apr 2021 17:05:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34108) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTsbN-0002Xe-Fj for qemu-devel@nongnu.org; Tue, 06 Apr 2021 16:47:13 -0400 Received: from indium.canonical.com ([91.189.90.7]:36740) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lTsbL-0001i4-4j for qemu-devel@nongnu.org; Tue, 06 Apr 2021 16:47:09 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.86_2 #2 (Debian)) id 1lTsbI-0008DV-3t for ; Tue, 06 Apr 2021 20:47:04 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 0A2F62E8187 for ; Tue, 6 Apr 2021 20:47:03 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Tue, 06 Apr 2021 18:53:07 -0000 From: Igor <1915063@bugs.launchpad.net> To: qemu-devel@nongnu.org X-Launchpad-Notification-Type: bug X-Launchpad-Bug: product=qemu; status=New; importance=Undecided; assignee=None; X-Launchpad-Bug: distribution=ubuntu; sourcepackage=qemu; component=main; status=Confirmed; importance=Undecided; assignee=None; X-Launchpad-Bug-Tags: apport-collected focal X-Launchpad-Bug-Information-Type: Public X-Launchpad-Bug-Private: no X-Launchpad-Bug-Security-Vulnerability: no X-Launchpad-Bug-Commenters: dober60 imammedo markrhpearson paelzer sergiodj ubuntu-kernel-bot X-Launchpad-Bug-Reporter: David Ober (dober60) X-Launchpad-Bug-Modifier: Igor (imammedo) References: <161281335451.16853.7070328699645987751.malonedeb@wampee.canonical.com> <161746873353.29047.7907960307448967364.malone@gac.canonical.com> Message-ID: <20210406205307.755aec52@redhat.com> Subject: Re: [Bug 1915063] Re: Windows 10 wil not install using qemu-system-x86_64 X-Launchpad-Message-Rationale: Subscriber (QEMU) @qemu-devel-ml X-Launchpad-Message-For: qemu-devel-ml Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="57f1f603f707b9cfa764cae8dd0f3999026b4763"; Instance="production" X-Launchpad-Hash: 7d9b8eb7bfdec383e38834a37e8ace79bd98ac94 Received-SPF: none client-ip=91.189.90.7; envelope-from=bounces@canonical.com; helo=indium.canonical.com X-Spam_score_int: -65 X-Spam_score: -6.6 X-Spam_bar: ------ X-Spam_report: (-6.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bug 1915063 <1915063@bugs.launchpad.net> Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Message-ID: <20210406185307.TScd7yqiMRwYqLf0unBL6_c-tTNx0SS_zjn0EDB43Zg@z> On Sat, 03 Apr 2021 16:52:13 -0000 Christian Ehrhardt =EE=83=BF <1915063@bugs.launchpad.net> wrote: > That is awesome David, > qemu64 is like a very low common denominator with only very basic CPU fea= tures. > While "copy host" means "enable all you can". Also it's worth to try setting real CPU topology for if EPYC cpu model is u= sed. i.e. use -smp with options that resemble a real EPYC cpu (for number of core complexes is configured with 'dies' option in QEMU) > We can surely work with that a bit, but until I get access to the same > HW I need you to do it. > = > > If you run in a console `$virsh domcapabilities` it will spew some XML at= you. One of the sections will be for "host-model". In my case that looks l= ike > = > > Skylake-Client-IBRS > Intel > > > > ... > > = > = > That means a names CPU type (the one that is closest to what you have) an= d some feature additionally enabled/disabled. > = > If you could please post the full output you have, that can be useful. > >From there you could go two steps. = > 1. as you see in my example it will list some cpu features on top of the = named type. > If you remove them one by one you might be able to identify the single= -cpu featute > that breaks in your case. > 2. The named CPU that you have also has a representation, it can be found= in > /usr/share/libvirt/cpu_map... > That ill list all the CPU features that make up the named type. > If #1 wasn't sufficient, you can now add those to your guest definitio= n one by one in disabled = > state, example > > = > A description of the underlying mechanism is here > https://libvirt.org/formatdomain.html#cpu-model-and-topology > -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1915063 Title: Windows 10 wil not install using qemu-system-x86_64 Status in QEMU: New Status in qemu package in Ubuntu: Confirmed Bug description: Steps to reproduce install virt-manager and ovmf if nopt already there copy windows and virtio iso files to /var/lib/libvirt/images Use virt-manager from local machine to create your VMs with the disk, CPU= s and memory required Select customize configuration then select OVMF(UEFI) instead of seab= ios set first CDROM to the windows installation iso (enable in boot optio= ns) add a second CDROM and load with the virtio iso change spice display to VNC Always get a security error from windows and it fails to launch the ins= taller (works on RHEL and Fedora) I tried updating the qemu version from Focals 4.2 to Groovy 5.0 which was= of no help --- = ProblemType: Bug ApportVersion: 2.20.11-0ubuntu27.14 Architecture: amd64 CasperMD5CheckResult: skip CurrentDesktop: ubuntu:GNOME DistributionChannelDescriptor: # This is the distribution channel descriptor for the OEM CDs # For more information see http://wiki.ubuntu.com/DistributionChannelDes= criptor canonical-oem-sutton-focal-amd64-20201030-422+pc-sutton-bachman-focal-am= d64+X00 DistroRelease: Ubuntu 20.04 InstallationDate: Installed on 2021-01-20 (19 days ago) InstallationMedia: Ubuntu 20.04 "Focal" - Build amd64 LIVE Binary 2020103= 0-14:39 MachineType: LENOVO 30E102Z NonfreeKernelModules: nvidia_modeset nvidia Package: linux (not installed) ProcEnviron: TERM=3Dxterm-256color PATH=3D(custom, no user) XDG_RUNTIME_DIR=3D LANG=3Den_US.UTF-8 SHELL=3D/bin/bash ProcFB: 0 EFI VGA ProcKernelCmdLine: BOOT_IMAGE=3D/boot/vmlinuz-5.6.0-1042-oem root=3DUUID= =3D389cd165-fc52-4814-b837-a1090b9c2387 ro locale=3Den_US quiet splash vt.h= andoff=3D7 ProcVersionSignature: Ubuntu 5.6.0-1042.46-oem 5.6.19 RelatedPackageVersions: linux-restricted-modules-5.6.0-1042-oem N/A linux-backports-modules-5.6.0-1042-oem N/A linux-firmware 1.187.8 RfKill: = Tags: focal Uname: Linux 5.6.0-1042-oem x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip docker kvm libvirt lpadmin plugdev sambashare s= udo _MarkForUpload: True dmi.bios.date: 07/29/2020 dmi.bios.vendor: LENOVO dmi.bios.version: S07KT08A dmi.board.name: 1046 dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.type: 3 dmi.chassis.vendor: LENOVO dmi.chassis.version: None dmi.modalias: dmi:bvnLENOVO:bvrS07KT08A:bd07/29/2020:svnLENOVO:pn30E102Z:= pvrThinkStationP620:rvnLENOVO:rn1046:rvrNotDefined:cvnLENOVO:ct3:cvrNone: dmi.product.family: INVALID dmi.product.name: 30E102Z dmi.product.sku: LENOVO_MT_30E1_BU_Think_FM_ThinkStation P620 dmi.product.version: ThinkStation P620 dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1915063/+subscriptions