On Fri, Feb 27, 2015 at 12:05:27AM +0000, Ken Moffat wrote: > On Thu, Feb 26, 2015 at 09:46:14PM +0100, Pierre Labastie wrote: > > > > Only patches 1 and 2 are needed. They both are one line changes, so I think > > they could be included as sed's in the book: > > First one as already proposed by Ken. Second one could be: > > sed -i 's/ == -EINVAL//' hw/xfree86/drivers/modesetting/drmmode_display.c > > > > This last sed prevents the pointer to disappear, and I think I have seen it > > disappearing on 64 bit too (on another machine I do not have access to > > presently). Since the first one does no harm on 64 bit, I suggest that both > > be included in the book. > > > > Works for me. I've also tested this on x86_64 hardware (could not > see why anything would break, but easy enough to test) using both > ati_drv (which loads radeon_drv), and hiding those and falling back > to modesetting_drv. And running qemu from each, with both -vga std > and -vga vmware. > > Do you want to do this, or shall I ? >
And then I built a few more things on the host, ran a backup and updatedb, then tried to run qemu to create a new 64-bit guest. I'm getting ioctl(KVM_CREATE_VM) failed: 12 Cannot allocate memory failed to initialize KVM: Cannot allocate memory even if I only specify the 32-bit image I had been using for testing. Google was not helpful for this, so I've asked on the qemu list - but somehow, this cycle of testing is getting to be a pain. ĸen -- Nanny Ogg usually went to bed early. After all, she was an old lady. Sometimes she went to bed as early as 6 a.m. -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
