HI Oleksandr, > On 19 Jul 2022, at 6:42 pm, Oleksandr Tyshchenko <[email protected]> wrote: > > From: Oleksandr Andrushchenko <[email protected]> > > Reset the command register when assigning a PCI device to a guest: > according to the PCI spec the PCI_COMMAND register is typically all 0's > after reset, but this might not be true for the guest as it needs > to respect host's settings. > For that reason, do not write 0 to the PCI_COMMAND register directly, > but go through the corresponding emulation layer (cmd_write), which > will take care about the actual bits written. > > Signed-off-by: Oleksandr Andrushchenko <[email protected]>
Reviewed-by: Rahul Singh <[email protected]> Regards, Rahul
