1. Copy “pv-driver” to the user’s virtual machine:
Because the virtual machine whose “pv-driver” has been uninstalled can’t connect with the external network, so we should connect the network firstly. Find the CNA where the user’s virtual machine at, and then execute “brctl show” command to view, we can see the user’s network card, the network card type which hasn’t installed the “pv-driver” is “tap”:
bridge name bridge id STP enabled interfaces
br1058 8000.781dba3142bc no tap80.0
Then, execute the following sentence at this CNA to add the “tap” network card on the firewall, and recently we can connect the network, we can copy “pv-driver” to the user’s virtual machine through sharing the directory.
iptables -A FORWARD -m physdev --physdev-in tap80.0 -j ACCEPT
iptables -A FORWARD -m physdev --physdev-out tap80.0 -j ACCEPT
2. Install the “pv-driver”: If install it failed, restart the virtual machine, if this isn’t useful, it may be the version is not right or the file has been damaged, we must install the appropriated “pv-driver”.
3. After installing the “pv-driver”, restart the virtual machine, if we can see the user’s disk but it notes that we don’t have the rights to access, then right-click at the disk and select the security in the attributes, then add the “administrator” right in the security; if the user’s disk has lose after installing the “pv-driver”, we should set the disk ID of the user’s disk manually.