e1000
) driver is also supported as an emulated driver choice. To use the e1000
driver, replace virtio
in the procedure below with e1000
. For the best performance it is recommended to use the virtio
driver.
virsh
command (where GUEST
is the guest's name):
# virsh edit GUEST
virsh edit
command uses the $EDITOR
shell variable to determine which editor to use.
<interface type='network'>
[output truncated]
<model type='rtl8139' />
</interface>
'rtl8139'
to 'virtio'
. This will change the driver from the rtl8139 driver to the e1000 driver.
<interface type='network'>
[output truncated]
<model type='virtio'
/>
</interface>
Guest1
):
# virsh dumpxmlGuest1
> /tmp/guest-template
.xml
# cp /tmp/guest-template
.xml /tmp/new-guest
.xml # vi /tmp/new-guest
.xml
<interface type='network'>
[output truncated]
<model type='virtio' />
</interface>
# virsh define /tmp/new-guest.xml # virsh start new-guest