Troubleshooting Sr-Iov - Red Hat ENTERPRISE LINUX 5 - VIRTUALIZATION GUIDE Manual

Hide thumbs Also See for ENTERPRISE LINUX 5 - VIRTUALIZATION GUIDE:
Table of Contents

Advertisement

c.
Open the XML configuration file with the virsh edit command. This example edits a guest
named MyGuest.
# virsh edit MyGuest
d.
The default text editor will open the libvirt configuration file for the guest. Add the new device
to the devices section of the XML configuration file.
<hostdev mode='subsystem' type='pci'>
<source>
<address bus='0x03' slot='0x10' function='0x01'/>
</source>
</hostdev>
e.
Save the configuration.
10. Restart
Restart the guest to complete the installation.
# virsh start MyGuest
The guest should start successfully and detect a new network interface card. This new card is the
Virtual Function of the SR-IOV device.

14.3. Troubleshooting SR-IOV

This section contains some issues and solutions for problems which may affect SR-IOV.
Error starting the guest
Start the configured vm , an error reported as follows:
# virsh start test
error: Failed to start domain test
error: internal error unable to start guest: char device redirected to
/dev/pts/2
get_real_device: -/sys/bus/pci/devices/0000:03:10.0/config: Permission denied
init_assigned_device: Error: Couldn't get real device (03:10.0)!
Failed to initialize assigned device host=03:10.0
This error is often caused by a device which is already assigned to another guest or to the host itself.
Troubleshooting SR-IOV
207

Advertisement

Table of Contents
loading

Table of Contents