connect usb hardware to kvm

Since I’ve found really few documentation on connecting usb devices to kvm virtual machine without middle software like spice or libvirt I’ll post what I found here.   I’ve found two method but only the 2nd work with usb2serial adapter. [enlighter lang=”shell”] USBVIDPID=0403:6001 USBD=”” for line in $(lsusb | grep $USBVIDPID | sed -n “s/Bus …

querying Tivoli Workload Scheduler 8.5 (tws) using web services

Pubblico un esempio di client per l’interrogazione di tws mediante web services utilizzando perl… #!/bin/perl #ppm install SOAP::Lite #ppm install Crypt::SSLeay use SOAP::Lite #trace=>’all’ ; #use SOAP::Lite +trace => [qw(method fault headers result debug)]; my $username = ‘user’; my $password = ‘pass’; my $host     = ‘host’; sub SOAP::Transport::HTTP::Client::get_basic_credentials { return $username => $password; } $wsdl …