[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2] libxl: Fix bug in libxl_cdrom_insert, make more robust against bad xenstore data
On Fri, 2012-11-23 at 14:40 +0000, George Dunlap wrote: > # HG changeset patch > # User George Dunlap <george.dunlap@xxxxxxxxxxxxx> > # Date 1353681608 0 > # Node ID 54d1bcd211d14cfbae0782f2bf04f8942c2eb726 > # Parent ae6fb202b233af815466055d9f1a635802a50855 > libxl: Fix bug in libxl_cdrom_insert, make more robust against bad xenstore > data > > libxl_cdrom_insert was failing to initialize the backend type, > resulting in the wrong default backend. The result was not only that > the CD was not inserted properly, but also that some improper xenstore > entries were created, causing further block commands to fail. > > This patch fixes the bug by setting the disk backend type based on the > type of the existing device. > > It also makes the system more robust by checking to see that it has > got a valid path before proceeding to write a partial xenstore entry. > > v2: > - Remove the checks on read, pending a more robust fix in another patch. > > Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx> Acked + applied. Thanks. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |