dch8758@eml.cc
2012-Jan-11 19:10 UTC
pci-passthrough NIC works as expected @ PV DomU -- until shutdown/restart. then, ''device not available''. Dom0 restart required. ??
i have a xen 4.1.2/linux64 Guest running on a xen 4.1.2/linux64 host. i''ve passed through a PCI ethernet NIC to the Guest. at 1st DomU startup after Dom0 boot, the card appears in lspci and can be ifconfig''d successfully. the card functions as expected. if i shutdown, then restart, the Guest, the card STILL appears in lspci, but any attempt to init the card with ifconfig etc fails, with "Device not available" or similar messages. if i reboot the Dom0, then all''s well again @ the DomU -- until i, again, shutdown/restart. then, same problem. how might i go about finding/fixing this problem? i know i''ll need to provide info here ... as i don''t know, yet, what info is pertinent, i thought i''d ask first ... happy to provide any/all info i can. thanks. dch
dch8758@eml.cc
2012-Jan-13 15:58 UTC
Re: pci-passthrough NIC works as expected @ PV DomU -- until shutdown/restart. then, ''device not available''. Dom0 restart required. ??
On Wed, Jan 11, 2012, at 11:10 AM, dch8758@eml.cc wrote:> if i reboot the Dom0, then all''s well again @ the DomU -- until i, > again, shutdown/restart. then, same problem.apparently, after a shutdown of the DomU with the passedthrough pci NIC, if I REstart ''xend'' service at Dom0, and THEN start the DomU, the card is fully accessible/functional in the DomU. so, either a Dom0 reboot, or just a xend service restart, work to cure. i doubt having to restart xend is normal behavior. is there some additional step or config i need to add to the DomU shutdown/restart to avoid this problem?