Weekly Status Reports #7 & #8 - XEN HVM Guest Support

Bei Guan gbtju85 at gmail.com
Sat Aug 17 12:47:53 UTC 2013


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


More information about the soc-status mailing list