Re: [PATCH kvmtool v3 2/3] vfio-pci: Add new function for INTx one-time initialisation

2019-04-04 Thread Jean-Philippe Brucker
On 26/03/2019 07:41, Leo Yan wrote: > To support INTx enabling for multiple times, we need firstly to extract > one-time initialisation and move the related code into a new function > vfio_pci_init_intx(); if later disable and re-enable the INTx, we can > skip these one-time operations. > > This p

[PATCH kvmtool v3 2/3] vfio-pci: Add new function for INTx one-time initialisation

2019-03-26 Thread Leo Yan
To support INTx enabling for multiple times, we need firstly to extract one-time initialisation and move the related code into a new function vfio_pci_init_intx(); if later disable and re-enable the INTx, we can skip these one-time operations. This patch move below three main operations for INTx o