How enable multiple MSI interrupt in PCI driver

2021-05-30 Thread Bilal, Muhammad
Hi, I want to enable 2 MSI interrupt in my pci driver for x86_64 machine model. I initiated 2 MSI interrupt with below code int r = msi_init(pci_dev, 0x0, 2, true, true, NULL); assert(!r || r == -ENOTSUP); But when booted the kernel and give lspci -vvv command it shows only one MSI interrupt i

RE: How to get host virtual address from guest physical address?

2021-05-30 Thread ckim
Hello, Peter Maydell, Thanks for the help. I've seen that I can read the guest physical memory using cpu_physical_memory_read function. I followed the function, but couldn't find a nicely cut 'guest physical to host virtual' address conversion function. But I found I can do what I need (passing