xen-network-common.sh MAC address assignment

2020-04-08 Thread Neil Sikka
Hello, Why does git commit f400f2993b52e820d0da24a2e49a8fdfab0d2827, make xen-network-common.sh set a static MAC address for the virtual device as shown below? ip link set dev ${dev} address fe:ff:ff:ff:ff:ff || true I see the high order byte is 0xFE, which has the broadcast flag unset, thereby s

Locking in xl

2020-04-23 Thread Neil Sikka
Hello, I see that in the xl binary in xen 4.13.0, the acquire_lock() and release_lock() functions are only called from create_domain() in xl_vmcontrol.c, so I assume the lock provides inter-PROCESS synchronization in the case that multiple instances of xl are running and creating multiple domains c

OXenstored performance

2022-01-31 Thread Neil Sikka
Hello, I see oxenstored running at 100% CPU on a busy Xen host. This article ( https://xenproject.org/2014/05/01/9124/) says that the maximum number of VMs supported by oxenstore is 160. What is the technical reason for this limit? Doesn't the Xen hypervisor support more than 160 concurrent DomUs?

Crash when writing to x86 hardware debug registers

2022-09-15 Thread Neil Sikka
Hi All, I am running a userland debugger in Windows 10 HVM on Xen 4.16 on an Intel chip. I noticed when I set a hardware breakpoint (which writes to the DR0 register), Windows 10 crashes. This crash reproduces both with and without viridian enabled in the DomU cfg file. (XEN) Xen version 4.16.1 (n

Re: Crash when writing to x86 hardware debug registers

2022-09-15 Thread Neil Sikka
, 2022 at 12:33 PM Neil Sikka wrote: > Hi All, > I am running a userland debugger in Windows 10 HVM on Xen 4.16 on an Intel > chip. I noticed when I set a hardware breakpoint (which writes to the DR0 > register), Windows 10 crashes. This crash reproduces both with and without > viridian

Xen DomUs with empty state

2021-07-21 Thread Neil Sikka
Hello, I am running xen 4.13.0 hosting many DomUs started in a short amount of time, but not all of them are accounted for by xentop: 183 domains: 2 running, 0 blocked, 92 paused, 0 crashed, 0 dying, 0 shutdown Only 94 of the 183 VMs are accounted for, and the STATE column for many of the VMs s

Windows 10 Kernel Debugging on Xen

2021-06-22 Thread Neil Sikka
Hello, Has anyone gotten a Windows10 (Version 1709 of later) kernel debugger attached when running the Windows10 debugger VM and the Windows10 debugee VM on Xen 4.13.0 hypervisor? I am getting a "NIC hardware initialization failed" error. I tried the suggestions in the discussion here ( https://bug

Re: Windows 10 Kernel Debugging on Xen

2021-06-22 Thread Neil Sikka
that windbg can attach: > > https://github.com/intel/kernel-fuzzer-for-xen-project/blob/master/scripts/debug.cmd > . > > Tamas > > On Tue, Jun 22, 2021 at 12:01 PM Neil Sikka wrote: > > > > Hello, > > Has anyone gotten a Windows10 (Version 1709 of later) kernel

Re: Windows 10 Kernel Debugging on Xen

2021-06-22 Thread Neil Sikka
indbg will attach afterwards. Just make > sure both VMs have serial='pty' set in their config file. > > Tamas > > On Tue, Jun 22, 2021 at 12:33 PM Neil Sikka wrote: > > > > Thanks for the quick response, Tamas. I tried what you said and windbg > waits and the d

Re: Windows 10 Kernel Debugging on Xen

2021-06-22 Thread Neil Sikka
attach > windbg later it won't work. It worked for me but obviously YMMV. > > Tamas > > On Tue, Jun 22, 2021 at 2:07 PM Neil Sikka wrote: > > > > I tried that, but it seems like I'm getting an interrupt storm on the > debugger VM (CPU spends all its time in the ker