qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 1576347] Re: Only one NVMe device is usable in Windows


From: Tom Yan
Subject: [Qemu-devel] [Bug 1576347] Re: Only one NVMe device is usable in Windows (10) guest
Date: Fri, 29 Apr 2016 03:29:44 -0000

I also tested WIndows installation ISOs instead as well.

Windows 10 Enterprise 10586:

qemu-system-x86_64 -enable-kvm -cpu host -smp cores=4 -m 4G -net bridge
-net nic -full-screen -drive file=ovmf_x64.bin,format=raw,if=pflash
-drive file=Downloads/10586.0.151029-1700
.TH2_RELEASE_CLIENTENTERPRISEEVAL_OEMRET_X64FRE_EN-US.ISO,media=cdrom
-drive file=disks/one.img,if=none,format=qcow2,id=one -drive
file=disks/two.img,if=none,format=qcow2,id=two -device
nvme,drive=one,serial=E86C3CFC43518D6F -device
nvme,drive=two,serial=2BDAC262CF831698

Windows Server 2016 Technical Preview 5:

qemu-system-x86_64 -enable-kvm -cpu host -smp cores=4 -m 4G -net bridge
-net nic -full-screen -drive file=ovmf_x64.bin,format=raw,if=pflash
-drive file=Downloads/14300.1000.160324-1723
.RS1_RELEASE_SVC_SERVER_OEMRET_X64FRE_EN-US.ISO,media=cdrom -drive
file=disks/one.img,if=none,format=qcow2,id=one -drive
file=disks/two.img,if=none,format=qcow2,id=two -device
nvme,drive=one,serial=E86C3CFC43518D6F -device
nvme,drive=two,serial=2BDAC262CF831698

Both of them shows only one of the NVMe drives.

I also tested with two versions of OVMF, which are "18419"
(https://github.com/tianocore/edk2/commit/ddd097e33f6e6829dc0413820e9971f3bf025f87)
and "18455"
(https://github.com/tianocore/edk2/commit/59844e126614fc8275aab083fafa5818cde0901c).

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1576347

Title:
  Only one NVMe device is usable in Windows (10) guest

Status in QEMU:
  New

Bug description:
  Full command: qemu-system-x86_64 -enable-kvm -cpu host -smp cores=4 -m
  4G -net bridge -net nic -full-screen -drive
  file=ovmf_x64.bin,format=raw,if=pflash -drive
  file=disks/win16_ide.img,format=raw,cache=none,aio=native -drive
  file=disks/one.img,if=none,format=qcow2,id=one -drive
  file=disks/two.img,if=none,format=qcow2,id=two -device
  nvme,drive=one,serial=E86C3CFC43518D6F -device
  nvme,drive=two,serial=2BDAC262CF831698

  QEMU version: 2.5.0

  Kernel: 4.5.1 (Arch Linux)

  When there are two NVMe devices specified, only the second one will be
  usable in Windows. The following error is shown under "Device status"
  of the failed NVMe controller in Device Manager:

  "This device cannot start. (Code 10)

  The I/O device is configured incorrectly or the configuration
  parameters to the driver are incorrect."

  The only thing seems suspicious to me is that the nvme emulation in
  qemu does not have WWN/EUI-64 set for the devices, though I have no
  idea at all whether that is mandatory:

  "C:\Windows\system32>sg_vpd -i PD1
  Device Identification VPD page:
    Addressed logical unit:
      designator type: SCSI name string,  code set: UTF-8
        SCSI name string:
        8086QEMU NVMe Ctrl                          00012BDAC262CF831698

  C:\Windows\system32>sg_vpd -p sn PD1
  Unit serial number VPD page:
    Unit serial number: 0000_0000_0000_0000."

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1576347/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]