Re: [Qemu-devel] Questions about VFIO enabling MSIX vector

2019-01-17 Thread Heyi Guo
On 2019/1/17 23:21, Alex Williamson wrote: On Thu, 17 Jan 2019 20:55:05 +0800 Heyi Guo wrote: On 2019/1/16 0:18, Alex Williamson wrote: On Tue, 15 Jan 2019 11:21:51 +0800 Heyi Guo wrote: Hi Alex, Really appreciate your comments. I have some more questions below. On 2019/1/15 0:07,

Re: [Qemu-devel] Questions about VFIO enabling MSIX vector

2019-01-17 Thread Alex Williamson
On Thu, 17 Jan 2019 20:55:05 +0800 Heyi Guo wrote: > On 2019/1/16 0:18, Alex Williamson wrote: > > On Tue, 15 Jan 2019 11:21:51 +0800 > > Heyi Guo wrote: > > > >> Hi Alex, > >> > >> Really appreciate your comments. I have some more questions below. > >> > >> > >> On 2019/1/15 0:07, Alex Willia

Re: [Qemu-devel] Questions about VFIO enabling MSIX vector

2019-01-17 Thread Heyi Guo
On 2019/1/16 0:18, Alex Williamson wrote: On Tue, 15 Jan 2019 11:21:51 +0800 Heyi Guo wrote: Hi Alex, Really appreciate your comments. I have some more questions below. On 2019/1/15 0:07, Alex Williamson wrote: On Sat, 12 Jan 2019 10:30:40 +0800 Heyi Guo wrote: Hi folks, I have so

Re: [Qemu-devel] Questions about VFIO enabling MSIX vector

2019-01-15 Thread Alex Williamson
On Tue, 15 Jan 2019 11:21:51 +0800 Heyi Guo wrote: > Hi Alex, > > Really appreciate your comments. I have some more questions below. > > > On 2019/1/15 0:07, Alex Williamson wrote: > > On Sat, 12 Jan 2019 10:30:40 +0800 > > Heyi Guo wrote: > > > >> Hi folks, > >> > >> I have some questions

Re: [Qemu-devel] Questions about VFIO enabling MSIX vector

2019-01-14 Thread Heyi Guo
Hi Alex, Really appreciate your comments. I have some more questions below. On 2019/1/15 0:07, Alex Williamson wrote: On Sat, 12 Jan 2019 10:30:40 +0800 Heyi Guo wrote: Hi folks, I have some questions about vfio_msix_vector_do_use() in hw/vfio/pci.c, could you help to explain? We can see

Re: [Qemu-devel] Questions about VFIO enabling MSIX vector

2019-01-14 Thread Alex Williamson
On Sat, 12 Jan 2019 10:30:40 +0800 Heyi Guo wrote: > Hi folks, > > I have some questions about vfio_msix_vector_do_use() in > hw/vfio/pci.c, could you help to explain? > > We can see that when guest tries to enable one specific MSIX vector > by unmasking MSIX Vector Control, the access will be

Re: [Qemu-devel] Questions about VFIO enabling MSIX vector

2019-01-14 Thread Auger Eric
Hi, On 1/12/19 3:30 AM, Heyi Guo wrote: > Hi folks, > > I have some questions about vfio_msix_vector_do_use() in hw/vfio/pci.c, > could you help to explain? > > We can see that when guest tries to enable one specific MSIX vector by > unmasking MSIX Vector Control, the access will be trapped and