{"ref":"refs/heads/usb","push_id":55526418,"commits":[{"sha":"045c4dc2da3934397651b5ed62dfeb01cec331eb","author":{"email":"48d8e836f47067491866d78fb5c88b41f859dc01@redhat.com","name":"Qingtang Zhou"},"url":"https://api.github.com/repos/zhouqt/autotest/commits/045c4dc2da3934397651b5ed62dfeb01cec331eb","message":"Virt: Make usb controller configable\n\nqemu-kvm support serival types of usb controller:\n\n|# qemu-kvm -device \\? 2>&1 | grep \"usb.*bus PCI\"\n|name \"ich9-usb-ehci1\", bus PCI\n|name \"usb-ehci\", bus PCI\n|name \"ich9-usb-uhci3\", bus PCI\n|name \"ich9-usb-uhci2\", bus PCI\n|name \"ich9-usb-uhci1\", bus PCI\n|name \"vt82c686b-usb-uhci\", bus PCI\n|name \"piix4-usb-uhci\", bus PCI\n|name \"piix3-usb-uhci\", bus PCI\n\nThis patch gets usb controller type from config file, instead of hardcode in\n script.\n\nThis patch also fix the max number for uhci controller, it should be 2.\n\nSigned-off-by: Qingtang Zhou <qzhou@redhat.com>"},{"sha":"7e357b7a5178ef424d57d186d4bd95f8a3c1ec0f","author":{"email":"48d8e836f47067491866d78fb5c88b41f859dc01@redhat.com","name":"Qingtang Zhou"},"url":"https://api.github.com/repos/zhouqt/autotest/commits/7e357b7a5178ef424d57d186d4bd95f8a3c1ec0f","message":"Virt: kvm_vm.py: Add a function for creating usb device\n\nThis 'add_usbdevice' function can add some types of usb device,\n\n On Fedora 16 host, qemu-kvm supports following usb device\n |# `qemu-kvm -device \\? 2>&1 | grep \"bus USB\"`\n |name \"usb-redir\", bus USB\n |name \"usb-ccid\", bus USB, desc \"CCID Rev 1.1 smartcard reader\"\n |name \"usb-bt-dongle\", bus USB\n |name \"usb-net\", bus USB\n |name \"usb-braille\", bus USB\n |name \"usb-serial\", bus USB\n |name \"usb-wacom-tablet\", bus USB, desc \"QEMU PenPartner Tablet\"\n |name \"usb-storage\", bus USB\n |name \"usb-kbd\", bus USB\n |name \"usb-mouse\", bus USB\n |name \"usb-tablet\", bus USB\n |name \"usb-host\", bus USB\n |name \"usb-hub\", bus USB\n\nNote: This function can't add usb storage device, this kind of device\nshould be added by add_drive() function.\n\nSigned-off-by: Qingtang Zhou <qzhou@redhat.com>"},{"sha":"d4bfcc2de1c1130ad3b569f312d2176260628929","author":{"email":"48d8e836f47067491866d78fb5c88b41f859dc01@redhat.com","name":"Qingtang Zhou"},"url":"https://api.github.com/repos/zhouqt/autotest/commits/d4bfcc2de1c1130ad3b569f312d2176260628929","message":"Virt: kvm_vm.py: Add some parameters for usb device\n\nThis patch adds 6 parameters for usb device, they are:\n\n* bootindex: specify boot order from qemu command line.\n* removable: specify USB storage's RMB (removable bit).\n\n* min_io_size: specify the minimal I/O size without performance impact,\n               this is typically set to the RAID chunk size for arrays.\n* opt_io_size: specify the optimal sustained I/O size,\n               this is typically the RAID stripe width for arrays.\n* physical_block_size: specify the smallest internal unit on which the device\n                       can operate\n* logical_block_size: specify the used externally to address a location on the\n                      device.\n\nFurther inforamtion about the last 4 options (*_size), please refer to:\nhttp://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/newstorage-iolimits.html\n\n\nSigned-off-by: Qingtang Zhou <qzhou@redhat.com>"},{"sha":"947806b9f8cb30cfcde4a097fd30eabd868ea90f","author":{"email":"48d8e836f47067491866d78fb5c88b41f859dc01@redhat.com","name":"Qingtang Zhou"},"url":"https://api.github.com/repos/zhouqt/autotest/commits/947806b9f8cb30cfcde4a097fd30eabd868ea90f","message":"Virt: kvm_vm.py: Add freq option to usb device\n\nUSB EHCI controller has a 'freq' option, it's used to specify controller\nWakeup frequency.  Effect is that ehci will batch the frame processing\nand process 4 frames per wakeup.  Reduces the cpu load, but also reduces\nusb performance.  Not guest-visible.\n\nThe default value of this option is 1000, which equals the usb frame rate.\nCan be reduced to -- for example -- 250.\n\nSigned-off-by: Qingtang Zhou <qzhou@redhat.com>"},{"sha":"c8b30337453a342c391ed5b80e10da84ad530c31","author":{"email":"48d8e836f47067491866d78fb5c88b41f859dc01@redhat.com","name":"Qingtang Zhou"},"url":"https://api.github.com/repos/zhouqt/autotest/commits/c8b30337453a342c391ed5b80e10da84ad530c31","message":"KVM Test: usb.py: Update usb case and make it can test block options\n\nMake this test test three kinds of option:\n\nserial: Test usb block device with/without serial.\nremovable: Check usb storage with removable = on/off.\nmin/opt io_size: Check these 2 option in monitor/guest.\n\nChanges from V1:\n - Update error context info in _verify_string()\n - Change explicit line continuation to implicit?\n - Change \"dmesg\" to \"dmesg -c\" when determine guest's io error msg\n\nSigned-off-by: Qingtang Zhou <qzhou@redhat.com>"},{"sha":"5d6fcf25d13ba3a153bc15daab4dd40bb58c2134","author":{"email":"48d8e836f47067491866d78fb5c88b41f859dc01@redhat.com","name":"Qingtang Zhou"},"url":"https://api.github.com/repos/zhouqt/autotest/commits/5d6fcf25d13ba3a153bc15daab4dd40bb58c2134","message":"KVM Test: subtest.cfg: Add config for testing options for usb device\n\nAdd a new subtest in usb_storage to test usb/block options.\n\nSigned-off-by: Qingtang Zhou <qzhou@redhat.com>"}],"head":"5d6fcf25d13ba3a153bc15daab4dd40bb58c2134","size":6}