On Wed, 10 Oct 2018 01:47:10 +
"Wuzongyong (Euler Dept)" wrote:
>
> You're right. The initial states are not identical.
> I found the function vfio_pci_pre_reset in qemu.
> /*
> * Stop any ongoing DMA by disconecting I/O, MMIO, and bus master.
> * Also put INTx Disable in known
> > > Hi,
> > >
> > > I start a virtual machine with commandline:
> > > /usr/libexec/qemu-kvm --enable-kvm -smp 8 -m 8192 -device
> > > vfio-pci,host=:81:00.0
> > >
> > > Then I pause the qemu process before executing the main_loop
> > > function by
> > gdb.
> > > At this moment, lspci
> > Hi,
> >
> > I start a virtual machine with commandline:
> > /usr/libexec/qemu-kvm --enable-kvm -smp 8 -m 8192 -device
> > vfio-pci,host=:81:00.0
> >
> > Then I pause the qemu process before executing the main_loop function by
> gdb.
> > At this moment, lspci shows the regions are
On Tue, 9 Oct 2018 12:11:29 +
"Wuzongyong (Euler Dept)" wrote:
> Hi,
>
> I start a virtual machine with commandline:
> /usr/libexec/qemu-kvm --enable-kvm -smp 8 -m 8192 -device
> vfio-pci,host=:81:00.0
>
> Then I pause the qemu process before executing the main_loop function by
Hi,
I start a virtual machine with commandline:
/usr/libexec/qemu-kvm --enable-kvm -smp 8 -m 8192 -device
vfio-pci,host=:81:00.0
Then I pause the qemu process before executing the main_loop function by gdb.
At this moment, lspci shows the regions are disabled like below:
81:00.0 3D