Memory Initialization

2021-11-19 Thread abhijeet inamdar
Hi, 1) I have a total of four memories: RAM, Flash, DDR and Shared. I initialised the flash and ram like the follows: MemoryRegion *flash = g_new(MemoryRegion, 1); int flash_size = board->flash_size_kb * 1024; memory_region_init_ram(flash, NULL, "machine.flash", flash_size, &error_fatal);

Re: Memory Initialization

2021-11-19 Thread abhijeet inamdar
And it's QEMU-4.2.0 and even parallely trying on QEMU-6.0.0. BR. Abhijeet. On Fri, 19 Nov, 2021, 13:02 abhijeet inamdar, wrote: > Hi, > > 1) I have a total of four memories: RAM, Flash, DDR and Shared. I > initialised the flash and ram like the follows: > > MemoryRegion *flash = g_new(MemoryR

Re: spin loop 100x faster in user mode (CPL=3) than superuser (CPL=0)?

2021-11-19 Thread Garrick Toubassi
I debugged this a bit more and am closer to an explanation. Some crude rdtsc cycle profiling led me to the fact that notdirty_write is called a ton in the slow case, and, in aggregate, takes up most of the time. Running qemu with "-trace memory_notdirty_write_access" shows that in the slow case it

Hda and error 43 go hand in hand when I try to virtualize windows 10 with bhyve on FreeBSD

2021-11-19 Thread Mario Marietto
Hello, We are a team composed of 2 hypervisor programmers,one system administrator and one nvidia developer and we are working together to improve the bhyve hypervisor for freebsd. We have been able to enable the passthrough for the most powerful nVidia graphic cards within Linux as guest os and n