diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2020-11-12 11:37:41 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-11-13 07:36:33 +0100 |
commit | 172bc8520db1cb98d09b367360068a675fbc9413 (patch) | |
tree | da7d622eedff37ac674ffed9deefeab0ce32f690 /qobject/qstring.c | |
parent | e016a844ddfc94167fa25d55b46e1d1accafdec2 (diff) |
xhci: fix nec-usb-xhci properties
Storing properties directly in XHCIPciState.xhci doesn't work,
the object_initialize_child() call in xhci_instance_init() will
overwrite them.
This changes the defaults for some properties, which in turn breaks
live migration and possibly other things as well.
So add XHCINecState, store properties there, copy them over on
instance init.
Fixes: 8ddab8dd3d81 ("usb/hcd-xhci: Split pci wrapper for xhci base model")
Reported-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20201112103741.2335-1-kraxel@redhat.com
Diffstat (limited to 'qobject/qstring.c')
0 files changed, 0 insertions, 0 deletions