xhci: add xhci_alloc_epctx
commit492b21f63fa655e0271abef4784cc337dd1d3fe7
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 24 Apr 2013 07:33:35 +0000 (24 09:33 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 3 Jun 2013 09:37:51 +0000 (3 11:37 +0200)
tree318d3ea3ddea08f9052e15cf1117087d11e6c1f0
parent4034e6938a4cba090a8fac02499c8a9567201665
xhci: add xhci_alloc_epctx

Factor out endpoint context allocation to a separate function.
xhci live migration will need that too, in post_load.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/hcd-xhci.c