Date: Sat, 17 Aug 2013 20:47:50 +0800 From: Bei Guan <gbtju85@gmail.com> To: soc-status <soc-status@freebsd.org> Cc: "Justin T. Gibbs" <gibbs@freebsd.org> Subject: Weekly Status Reports #7 & #8 - XEN HVM Guest Support Message-ID: <CAEQjb-T8kNmtAZedgZRxVE-ELoA9t7-tRKG4U5dk1nwYYJ6zyw@mail.gmail.com>
index | next in thread | raw e-mail
In the past two weeks, the progress of the Xen PV USB driver is:
1. Add the PV USB Hub to FreeBSD HVM guest.
According to the Linux Xen USB front driver, the PV USB Hub descriptor is
set. Now, uhub1 is attached. The output of "devinfo" is like this:
...
uhci0
usbus0
uhub0
vgapci0
xenpci0
xenstore0
xctrl0
xenbusb_front0
xbd0
xn0
xu0
*usbus1*
*uhub1*
xenbusb_back0
...
2. Set the shared ring and event channel for Xen PV USB driver.
The xenstore entry for Xen FreeBSD is like this:
#xenstore-ls
5 = ""
vm = "/vm/1b002ded-b759-700c-60fe-5731a0716c7a"
device = ""
...
vusb = ""
0 = ""
state = "4"
backend-id = "0"
backend = "/local/domain/0/backend/vusb/5/0"
urb-ring-ref = "772"
conn-ring-ref = "771"
event-channel = "9"
...
Next, it will need to set the USB request and reply for PV driver.
--
Best Regards,
Bei Guan
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEQjb-T8kNmtAZedgZRxVE-ELoA9t7-tRKG4U5dk1nwYYJ6zyw>
