Okay - revised patch attached. Thanks, Dave Keir Fraser wrote: > > On 2 May 2006, at 15:58, David Lively wrote: > >> I've been getting a "Failed VMEntry" when trying to boot a second >> VMX guest (while the first one is still running, but is no longer in >> real mode). This patch fixes it. > > > Please `or' the vmread/vmwrite error returns together into an error > variable and BUG_ON(error) just once at the bottom of the function. > Also extend the comment a little to explicitly explain that this is > working around a VMENTRY validation check. > > Apart from that it looks good. > > -- Keir >