[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] How to disconnect a network card in the Virtual machine?



Hi,

I develop windows pv driver make a WHQL test on it. Now i hit a problem when i pass WHQL NDISTest 6.5(manual). During this test, the user will be required to disconnect the network card, it is OK to unplug the network cable in physical environment. But in the virtual situation, it is difficult to simulate this situation.

I have an initial idea about how to realize this feature as following. Please point out if problems exist in my idea.

In the backend, adding a new value in xenstore, and front end can watch this value to detect network connection status. When users want to disconnect the network card, they can change the value in the xenstore. Then front end get this notification by watcher of this value, and do more process to realize function of disconnection.

Waiting more suggestions to realize this feature.......

Thanks
Annie.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.