This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
Bug 2130880 - [RFE]Can detect NVDIMM device from VMware guest by virsh
Summary: [RFE]Can detect NVDIMM device from VMware guest by virsh
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: libvirt
Version: 9.1
Hardware: x86_64
OS: Unspecified
low
medium
Target Milestone: rc
: ---
Assignee: Virtualization Maintenance
QA Contact: mxie@redhat.com
URL:
Whiteboard:
Depends On:
Blocks: 2130886
TreeView+ depends on / blocked
 
Reported: 2022-09-29 09:51 UTC by mxie@redhat.com
Modified: 2023-07-07 19:12 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-07 19:12:09 UTC
Type: Feature Request
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
vmware-guest-with-nvdimm (63.38 KB, image/png)
2022-09-29 09:51 UTC, mxie@redhat.com
no flags Details
esx7.0-rhel8.4-x86_64.vmx (3.28 KB, text/plain)
2022-09-29 10:04 UTC, Richard W.M. Jones
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker   RHEL-733 0 None None None 2023-07-07 19:12:08 UTC
Red Hat Issue Tracker RHELPLAN-135287 0 None None None 2022-09-29 09:59:38 UTC

Description mxie@redhat.com 2022-09-29 09:51:56 UTC
Created attachment 1914969 [details]
vmware-guest-with-nvdimm

Description of problem:
[RFE]Can detect NVDIMM device from VMware guest by virsh

Version-Release number of selected component (if applicable):
libvirt-8.7.0-1.el9.x86_64
qemu-img-7.1.0-1.el9.x86_64


How reproducible:
100%

Steps to Reproduce:
1.Prepare a guest which has NVDIMM device on VMware, please refer to screenshot 'vmware-guest-with-nvdimm'

2.Use virsh to dump the guest xml from VMware, found there is no nvdimm device listed in libvirt xml

# virsh -c vpx://root.227.27/data/10.73.225.34/?no_verify=1 dumpxml esx7.0-rhel8.4-x86_64-nvdimm
Enter root's password for 10.73.227.27: 
<domain type='vmware' xmlns:vmware='http://libvirt.org/schemas/domain/vmware/1.0'>
  <name>esx7.0-rhel8.4-x86_64-nvdimm</name>
  <uuid>4203f627-1106-4a47-9a3c-6a14139bcb0d</uuid>
  <memory unit='KiB'>2097152</memory>
  <currentMemory unit='KiB'>2097152</currentMemory>
  <vcpu placement='static'>1</vcpu>
  <cputune>
    <shares>1000</shares>
  </cputune>
  <os>
    <type arch='x86_64'>hvm</type>
  </os>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <disk type='file' device='disk'>
      <source file='[datastore2] esx7.0-rhel8.4-x86_64/esx7.0-rhel8.4-x86_64.vmdk'/>
      <target dev='sda' bus='scsi'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>
    <controller type='scsi' index='0' model='vmpvscsi'/>
    <interface type='bridge'>
      <mac address='00:50:56:b4:4e:19' type='generated'/>
      <source bridge='VM Network'/>
      <model type='vmxnet3'/>
    </interface>
    <video>
      <model type='vmvga' vram='8192' primary='yes'/>
    </video>
  </devices>
  <vmware:datacenterpath>data</vmware:datacenterpath>
  <vmware:moref>vm-122</vmware:moref>
</domain>



Actual results:
Can't detect NVDIMM device from VMware guest by virsh

Expected results:
As above description

Additional info:

Comment 1 Richard W.M. Jones 2022-09-29 10:04:52 UTC
Created attachment 1914982 [details]
esx7.0-rhel8.4-x86_64.vmx

VMX file.  Note nvdimm0* entries.


Note You need to log in before you can comment on or make changes to this bug.