# Change Network Driver for Existing Virtual Machines

**URL:** <https://forum.opennebula.io/t/change-network-driver-for-existing-virtual-machines/549>\
**Category:** Product Support\
**Created:** [April 4, 2015, 8:51pm UTC](https://forum.opennebula.io/t/change-network-driver-for-existing-virtual-machines/549 "2015-04-04T20:51:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rsvancara](https://avatars.discourse-cdn.com/v4/letter/r/9d8465/32.png) [@rsvancara](https://forum.opennebula.io/u/rsvancara)\
**Post date:** [April 4, 2015, 8:51pm UTC](https://forum.opennebula.io/t/change-network-driver-for-existing-virtual-machines/549/1 "2015-04-04T20:51:11Z")

</div>

I would like to change the driver for existing VMs to use virtio? What is the best way to accomplish this task?

---

<div class="post-metadata">

**Author:** ![rsvancara](https://avatars.discourse-cdn.com/v4/letter/r/9d8465/32.png) [@rsvancara](https://forum.opennebula.io/u/rsvancara)\
**Post date:** [April 4, 2015, 8:52pm UTC](https://forum.opennebula.io/t/change-network-driver-for-existing-virtual-machines/549/2 "2015-04-04T20:52:35Z")

</div>

One way I have done this is to use virsh edit vm-name on the node the vm is running on, and change the model=virtio. But I doubt this will persist the settings from the management node.

---

<div class="post-metadata">

**Author:** ![jfontan](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/jfontan/32/18_2.png) [@jfontan](https://forum.opennebula.io/u/jfontan)\
**Post date:** [April 6, 2015, 10:03am UTC](https://forum.opennebula.io/t/change-network-driver-for-existing-virtual-machines/549/3 "2015-04-06T10:03:49Z")

</div>

Currently you can not modify a running VM. The only two ways I can think of are:

- Hotplug a new virtio network interface
- Create a new VM that uses the same disks but the interfaces are virtio
