xhci: add xhci_init_epctx
commit003e15a180373048f0c1f4df0bfe303746eb2676
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 24 Apr 2013 08:11:22 +0000 (24 10:11 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 3 Jun 2013 09:37:51 +0000 (3 11:37 +0200)
tree3f341e74536591fe07a14865c5f518adde08e88d
parent492b21f63fa655e0271abef4784cc337dd1d3fe7
xhci: add xhci_init_epctx

Factor out endpoint context initialization 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