|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] High-speed KDNET transport for Xen guests
Hello all, You may have experienced difficulties with using hvm_serial for debugging Windows guests on Xen: it is incredibly slow and very difficult to do anything substantial (e.g. large scripts, complex commands) with it. KDNET with emulated NICs works, but then you cannot debug xenvif or xennet with it. I've prepared a custom KDNET transport, which works along with Windbg's KDNET functionality: https://github.com/xcp-ng/win-xenkd It can reach speeds over 30 MB/s, which is fast enough to do a kernel memory dump in a few seconds. It also reconnects cleanly whenever It uses the default console ring as a configuration channel, so you might want to patch that out of xenbus first. It requires a dummy PCI device (5853:C201 by default), which you can add to QEMU like so: -device xen-pvdevice,vendor-id=0x5853,device-id=0xc201 Finally, by default, Windows refuses to load testsigned KDNET transport DLLs even with testsigning enabled. That's a pain, but there are ways to work around it. -- Ngoc Tu Dinh | Vates XCP-ng Developer XCP-ng & Xen Orchestra - Vates solutions web: https://vates.tech
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |