Bug 1477852 - Can't dump physical pci device from vmware guest by virsh
Can't dump physical pci device from vmware guest by virsh
Status: ASSIGNED
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libvirt (Show other bugs)
7.4
x86_64 Unspecified
low Severity low
: rc
: ---
Assigned To: Michal Privoznik
mxie@redhat.com
:
Depends On: 1472719
Blocks:
  Show dependency treegraph
 
Reported: 2017-08-03 01:52 EDT by mxie@redhat.com
Modified: 2018-01-03 01:14 EST (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
vmware-guest-pci-device-1.png (deleted)
2017-08-03 01:52 EDT, mxie@redhat.com
no flags Details
vmware-guest-pci-device-2 (357.79 KB, image/png)
2017-08-03 01:56 EDT, mxie@redhat.com
no flags Details
vmware-guest-pci-device-1 (31.33 KB, image/png)
2017-08-03 02:00 EDT, mxie@redhat.com
no flags Details

  None (edit)
Description mxie@redhat.com 2017-08-03 01:52:45 EDT
Description of problem:
Can't dump physical pci device from vmware guest by virsh

Version-Release number of selected component (if applicable):
libvirt-3.2.0-14.el7_4.1.x86_64
qemu-kvm-rhev-2.9.0-16.el7_4.1.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Add physical pci device for vmware guest, pls refer to screenshot"vmware-guest-pci-device-1.png"
2.Power on the guest and could see the pci device in guest, pls refer to screenshot "vmware-guest-pci-device-2.png"
3.Using virsh to dump the vmware guest's xml, but physical pci device is not listed in xml
# virsh -c vpx://root@10.73.75.182/data/10.73.72.75/?no_verify=1 
Enter root's password for 10.73.75.182: 
Welcome to virsh, the virtualization interactive terminal.

Type:  'help' for help with commands
       'quit' to quit

virsh # dumpxml esx5.1-rhel6.7-i386
<domain type='vmware' xmlns:vmware='http://libvirt.org/schemas/domain/vmware/1.0'>
  <name>esx5.1-rhel6.7-i386</name>
  <uuid>564dfa80-b1c7-e8f2-15c2-91bdbba31e72</uuid>
  <memory unit='KiB'>2097152</memory>
  <currentMemory unit='KiB'>2097152</currentMemory>
  <vcpu placement='static'>1</vcpu>
  <cputune>
    <shares>1000</shares>
  </cputune>
  <os>
    <type arch='i686'>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='[esx5.1] esx5.1-rhel6.7-i386/esx5.1-rhel6.7-i386.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:0c:29:a3:1e:72'/>
      <source bridge='VM Network'/>
      <model type='vmxnet3'/>
    </interface>
    <video>
      <model type='vmvga' vram='8192' primary='yes'/>
    </video>
  </devices>
  <vmware:datacenterpath>data</vmware:datacenterpath>
</domain>




Actula results:
As above description

Expected results:
Can dump physical pci device from vmware guest by virsh


Additional info:
1.Can dump physical pci device from rhel5 xen guest by virsh
2.Can dump physical pci device from kvm guest by virsh
Comment 2 mxie@redhat.com 2017-08-03 01:56 EDT
Created attachment 1308545 [details]
vmware-guest-pci-device-2
Comment 3 mxie@redhat.com 2017-08-03 02:00 EDT
Created attachment 1308546 [details]
vmware-guest-pci-device-1

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