Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-7390

[RFE]Detect nvme disks/controller from VMware by virsh

    • sst_virtualization_storage
    • ssg_virtualization
    • 5
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Enhancement
    • None

      Description of problem:
      [RFE]Detect nvme disks/controller from VMware by virsh

      Version-Release number of selected component (if applicable):
      libvirt-libs-8.1.0-1.el9.x86_64
      qemu-img-6.2.0-12.el9.x86_64

      How reproducible:
      100%

      Steps to Reproduce:
      1.Prepare a windows which nvme disk and nvme controller on VMware, please refer to screenshot
      2.Use virsh to dump the guest xml from VMware

      1. virsh -c vpx://root@10.73.198.169/data/10.73.199.217/?no_verify=1 dumpxml esx7.0-win2022-x86_64-uefi
        Enter root's password for 10.73.198.169:
        .....
        <devices>
        <disk type='file' device='disk'>
        <source file='[esx7.0-matrix] esx7.0-win2022-x86_64/esx7.0-win2022-x86_64-000001.vmdk'/>
        <target dev='sda' bus='scsi'/>
        <address type='drive' controller='0' bus='0' target='0' unit='0'/>
        </disk>
        <disk type='file' device='cdrom'>
        <source file='[tools] tools/os-installation-iso/en-us_windows_server_2022_x64_dvd_620d7eac.iso'/>
        <target dev='sda' bus='sata'/>
        <readonly/>
        <address type='drive' controller='0' bus='0' target='0' unit='0'/>
        </disk>
        <controller type='scsi' index='0' model='lsisas1068'/>
        <controller type='sata' index='0'/>
        <interface type='bridge'>
        <mac address='00:50:56:83:e9:6e' type='generated'/>
        <source bridge='VM Network'/>
        <model type='e1000e'/>
        </interface>
        <video>
        <model type='vmvga' vram='8192' primary='yes'/>
        </video>
        </devices>
        <vmware:datacenterpath>data</vmware:datacenterpath>
        <vmware:moref>vm-6329</vmware:moref>
        </domain>

      Actual results:
      Can't detect nvme disks/controller from VMware by virsh

      Expected results:
      As above description

      Additional info:

            virt-maint virt-maint
            mxie@redhat.com Ming Xie
            virt-maint virt-maint
            Ming Xie Ming Xie
            Votes:
            0 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated: