[pve-devel] centos crash after livemigration fix

Alexandre DERUMIER aderumier at odiso.com
Fri Mar 2 10:39:47 CET 2012


yes, 
usb-hid-fix-tablet-activation.diff is a different problem. (tablet mouse pointer not selected by default) 


both patches are in the same serie, so I think they will be in the master tree in some weeks. 




I have compiled and retested pve-qemu-kvm, no more bug/crash for me. 
(tested centos,fedora,debian,ubuntu,win7 and win2008) 




----- Mail original -----

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Derumier Alexandre" <aderumier at odiso.com>, pve-devel at pve.proxmox.com 
Envoyé: Vendredi 2 Mars 2012 09:50:17 
Objet: RE: [pve-devel] centos crash after livemigration fix 

just pushed and update to the git repository - please test. 

Seems we still need usb-hid-fix-tablet-activation.diff? 

- Dietmar 

> -----Original Message----- 
> From: pve-devel-bounces at pve.proxmox.com [mailto:pve-devel- 
> bounces at pve.proxmox.com] On Behalf Of Derumier Alexandre 
> Sent: Freitag, 02. März 2012 09:18 
> To: pve-devel at pve.proxmox.com 
> Subject: [pve-devel] centos crash after livemigration fix 
> 
> Hi, I finnaly found a patch in the last patches serie from redhat developper. 
> (not yes apply in qemu or kvm tree,only in the mailing for the moment). 
> 
> This correct a bug in usb initialize which cause kvm segfault on random guest os. 
> 
> 
> 
> 
> 
> 
> 
> Check for dev->config being NULL in two places: 
> USB_REQ_GET_CONFIGURATION and USB_REQ_GET_STATUS. 
> 
> The behavior of USB_REQ_GET_STATUS is unspecified in the Default state, that 
> corresponds to dev->config being NULL (it defaults to NULL and is reset 
> whenever a SET_CONFIGURATION with value 0, or attachment). I implemented 
> it to correspond with the state before 
> ed5a83ddd8c1d8ec7b1015315530cf29949e7c48, the commit moving 
> SET_STATUS to usb-desc; if dev->config is not set we return whatever is in the 
> first configuration. 
> 
> The behavior of USB_REQ_GET_CONFIGURATION is also undefined before any 
> SET_CONFIGURATION, but here we just return 0 (same as specified for the 
> Address state). 
> 
> A win7 guest failed to initialize the device before this patch, segfaulting when 
> GET_STATUS was called with dev->config == NULL. With this patch the 
> passthrough device still doesn't work but the failure is unrelated. 
> 
> _______________________________________________ 
> pve-devel mailing list 
> pve-devel at pve.proxmox.com 
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 





-- 




	Alexandre D erumier 
Ingénieur Système 
Fixe : 03 20 68 88 90 
Fax : 03 20 68 90 81 
45 Bvd du Général Leclerc 59100 Roubaix - France 
12 rue Marivaux 75002 Paris - France 
	
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20120302/45641f88/attachment.htm>


More information about the pve-devel mailing list