> +typedef struct XHCIPciState {
> +/*< private >*/
> +PCIDevice parent_obj;
> +/*< public >*/
> +XHCIState *xhci;
Better embed the struct instead of storing a pointer.
> struct XHCIState {
> -/*< private >*/
> -PCIDevice parent_obj;
> -/*< public >*/
> -
> +Devic
On Mon, Mar 02, 2020 at 03:05:24PM +0530, Sai Pavan Boddu wrote:
> This patch sets the base to use xhci as sysbus model, for which pci
> specific hooks are moved to hcd-xhci-pci.c. As a part of this requirment
> msi/msix interrupts handling is moved under XHCIPCIState. Made required
> changes for q