[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Question: why no VMEXIT occur when I read/write emulated pci devices's b
From: |
Wu Zongyong |
Subject: |
Question: why no VMEXIT occur when I read/write emulated pci devices's bar by mmap inside guest userspace? |
Date: |
Tue, 28 Mar 2023 11:52:45 +0800 |
User-agent: |
Mutt/1.9.4 (2018-02-28) |
Hi,
I create a VM with a virtual pci device "-net nic,model=e1000", and I
attemped to read/write the bar0 of the virtual nic inside the guest
userspace by mmap the "/sys/bus/pci/devices/xxxx:xx:xx.x/resource0" to
the userspace.
What I expected is a VMEXIT should occur when I read/write the bar but I
didn't see any VMEXIT event.
So I'm confused with this and any detailed analysis about mmio handle
routine would be appreciated.
Thanks
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Question: why no VMEXIT occur when I read/write emulated pci devices's bar by mmap inside guest userspace?,
Wu Zongyong <=