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

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
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):

How reproducible:

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@ 
Enter root's password for 
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'>
  <memory unit='KiB'>2097152</memory>
  <currentMemory unit='KiB'>2097152</currentMemory>
  <vcpu placement='static'>1</vcpu>
    <type arch='i686'>hvm</type>
  <clock offset='utc'/>
    <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'/>
    <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'/>
      <model type='vmvga' vram='8192' primary='yes'/>

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]
Comment 3 mxie@redhat.com 2017-08-03 02:00 EDT
Created attachment 1308546 [details]

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