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=-0.9 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 3D531C04A6B for ; Fri, 10 May 2019 06:21:55 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1215D2175B for ; Fri, 10 May 2019 06:21:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1215D2175B 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 ([127.0.0.1]:37596 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hOyuo-0000UQ-8c for qemu-devel@archiver.kernel.org; Fri, 10 May 2019 02:21:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41479) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hOyta-0007iU-EW for qemu-devel@nongnu.org; Fri, 10 May 2019 02:20:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hOytZ-0003yl-C5 for qemu-devel@nongnu.org; Fri, 10 May 2019 02:20:38 -0400 Received: from indium.canonical.com ([91.189.90.7]:51336) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hOytZ-0003yK-6q for qemu-devel@nongnu.org; Fri, 10 May 2019 02:20:37 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.86_2 #2 (Debian)) id 1hOytY-00060C-F6 for ; Fri, 10 May 2019 06:20:36 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 691892E80C7 for ; Fri, 10 May 2019 06:20:36 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Fri, 10 May 2019 06:06:32 -0000 From: Jake Mikelson <1828508@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-Information-Type: Public X-Launchpad-Bug-Private: no X-Launchpad-Bug-Security-Vulnerability: no X-Launchpad-Bug-Commenters: alpha76 X-Launchpad-Bug-Reporter: Jake Mikelson (alpha76) X-Launchpad-Bug-Modifier: Jake Mikelson (alpha76) Message-Id: <155746839267.15002.8138674450166661929.malonedeb@wampee.canonical.com> 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="18962"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 7231140456ed6514edfeae7cbe80303ff9a7989e X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 91.189.90.7 Subject: [Qemu-devel] [Bug 1828508] [NEW] qemu-img created VMDK files lead to "Unsupported or invalid disk type 7" X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bug 1828508 <1828508@bugs.launchpad.net> Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Public bug reported: Using qemu-img version 3.1.50 (v3.1.0-13607-geb2db0f7ba-dirty) on a Windows 10 machine. Converting a VHD to VMDK. qemu-img.exe convert "c:\test\AppD-VM01.vhd" -O vmdk -o adapter_type=3Dbusl= ogic -p "c:\test\AppD-VM01.vmdk" I have also tried: qemu-img.exe convert "c:\test\AppD-VM01.vhd" -O vmdk -o adapter_type=3Dbusl= ogic,hwversion=3D6 -p "c:\test\AppD-VM01.vmdk" Attaching the VMDK to a VM in VMware produces the following error when powering on. Power On virtual machine:Failed to open disk scsi0:1: Unsupported or invali= d disk type 7. Ensure that the disk has been imported. Target: MyVM1 vCenter Server: VCENTER Error Stack An error was received from the ESX host while powering on VM MyVM1. Failed to start the virtual machine. Module DevicePowerOn power on failed. = Unable to create virtual SCSI device for scsi0:1, '/vmfs/volumes/5cca0155-b= dddf31d-2714-00215acbeb1e/AppD-VM01/AppDdisk1-VM01.vmdk' = Failed to open disk scsi0:1: Unsupported or invalid disk type 7. Ensure tha= t the disk has been imported. If I do not specify the adapter type, it creates an IDE VMDK which works pe= rfectly. ** Affects: qemu Importance: Undecided Status: New -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1828508 Title: qemu-img created VMDK files lead to "Unsupported or invalid disk type 7" Status in QEMU: New Bug description: Using qemu-img version 3.1.50 (v3.1.0-13607-geb2db0f7ba-dirty) on a Windows 10 machine. Converting a VHD to VMDK. qemu-img.exe convert "c:\test\AppD-VM01.vhd" -O vmdk -o adapter_type=3Dbu= slogic -p "c:\test\AppD-VM01.vmdk" I have also tried: qemu-img.exe convert "c:\test\AppD-VM01.vhd" -O vmdk -o adapter_type=3Dbu= slogic,hwversion=3D6 -p "c:\test\AppD-VM01.vmdk" Attaching the VMDK to a VM in VMware produces the following error when powering on. Power On virtual machine:Failed to open disk scsi0:1: Unsupported or inva= lid disk type 7. Ensure that the disk has been imported. Target: MyVM1 vCenter Server: VCENTER Error Stack An error was received from the ESX host while powering on VM MyVM1. Failed to start the virtual machine. Module DevicePowerOn power on failed. = Unable to create virtual SCSI device for scsi0:1, '/vmfs/volumes/5cca0155= -bdddf31d-2714-00215acbeb1e/AppD-VM01/AppDdisk1-VM01.vmdk' = Failed to open disk scsi0:1: Unsupported or invalid disk type 7. Ensure t= hat the disk has been imported. = If I do not specify the adapter type, it creates an IDE VMDK which works = perfectly. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1828508/+subscriptions