Re: [PATCH v9 11/16] vpci/header: reset the command register when adding devices

2023-09-21 Thread Roger Pau Monné
On Tue, Aug 29, 2023 at 11:19:45PM +, Volodymyr Babchuk wrote: > From: Oleksandr Andrushchenko > > 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

[PATCH v9 11/16] vpci/header: reset the command register when adding devices

2023-08-29 Thread Volodymyr Babchuk
From: Oleksandr Andrushchenko 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