Re: [PATCH] Update qemu-kvm to allow a larger BIOS image.

2009-07-22 Thread Cristi Magherusan
On Thu, 2009-07-16 at 10:57 -0700, Jordan Justen wrote: > On Wed, Jul 15, 2009 at 10:37 PM, Sheng Yang wrote: > > Make sense to me. So what's mattered here is not bios, but qemu-kvm and kvm > > code. The user can replace bios binary by UEFI binary easily, but not with > > kvm > > related part. > >

Re: kvm-87 fails to compile under uClibc

2009-07-09 Thread Cristi Magherusan
On Thu, 2009-07-09 at 11:20 +0300, Avi Kivity wrote: > On 07/08/2009 08:34 PM, Cristi Magherusan wrote: > > Also, what is extboot used for? > > Booting a guest from virtio and scsi. > > > Can I ommit it from my build? > > > > If you like. It's o

Re: KVM for Linux 2.6.16?

2009-07-09 Thread Cristi Magherusan
On Thu, 2009-07-09 at 16:49 +, Fischer, Anna wrote: > Hi, I am trying to compile the kvm-87 module for Linux 2.6.16. I thought that > it has been back-ported to such an old kernel. However, I don't seem to be > able to compile the module on my kernel. I get the following error: > > CCt

Re: kvm-87 fails to compile under uClibc

2009-07-08 Thread Cristi Magherusan
On Wed, 2009-07-08 at 20:07 +0300, Avi Kivity wrote: > On 07/08/2009 07:59 PM, Cristi Magherusan wrote: > >> You can reduce qemu size by not compiling tcg; that'll save you a lot > >> more than the kernel. > >> > > How do I disable it? is it t

Re: kvm-87 fails to compile under uClibc

2009-07-08 Thread Cristi Magherusan
On Tue, 2009-07-07 at 14:43 +0300, Avi Kivity wrote: > On 07/07/2009 02:31 PM, Cristi Magherusan wrote: > > The kernel will be 2.6.24 because it's smaller. I know this mismatch may > > not be good, but I have to get to a compromise. The kernel needs to be > > as sma

Re: kvm-87 fails to compile under uClibc

2009-07-08 Thread Cristi Magherusan
On Wed, 2009-07-08 at 08:13 +0200, Natanael Copa wrote: > On Tue, 2009-07-07 at 05:42 +0300, Cristi Magherusan wrote: > > Hi there, > > > > I'm trying to compile kvm using uClibc instead of glibc. > > I upgraded to kvm-87 yesterday. It compiles, kvm is enabled,

Re: kvm-87 fails to compile under uClibc

2009-07-07 Thread Cristi Magherusan
On Tue, 2009-07-07 at 10:31 -0500, Javier Guerra wrote: > On Tue, Jul 7, 2009 at 6:31 AM, Cristi > Magherusan wrote: > > The kernel will be 2.6.24 because it's smaller. I know this mismatch may > > not be good, but I have to get to a compromise. The kernel needs to be &

Re: kvm-87 fails to compile under uClibc

2009-07-07 Thread Cristi Magherusan
On Tue, 2009-07-07 at 12:12 +0300, Avi Kivity wrote: > On 07/07/2009 05:42 AM, Cristi Magherusan wrote: > > Hi there, > > > > I'm trying to compile kvm using uClibc instead of glibc. > > > > Besides the fact that kvm needs "--extra-ldflags=-lrt&quo

Re: kvm-87 fails to compile under uClibc

2009-07-07 Thread Cristi Magherusan
On Tue, 2009-07-07 at 09:34 +0200, Bernhard Reutner-Fischer wrote: > On Mon, Jul 06, 2009 at 11:21:03PM -0400, Mike Frysinger wrote: > >On Monday 06 July 2009 22:42:46 Cristi Magherusan wrote: > >> /home/cristi/devel/avatt/buildroot/build_i586/kvm-87/qemu-kvm-x86.c:1538: > &

kvm-87 fails to compile under uClibc

2009-07-06 Thread Cristi Magherusan
Hi there, I'm trying to compile kvm using uClibc instead of glibc. Besides the fact that kvm needs "--extra-ldflags=-lrt" (otherwise there are some missing symbols), there's an error caused by another missing symbol that I was unable to fix yet. It's about ioperm, and this is the error I get: /h

Re: Custom BIOS supported size

2009-05-04 Thread Cristi Magherusan
On Mon, 2009-05-04 at 16:48 +0300, Avi Kivity wrote: > Cristi Magherusan wrote: > > Hello, > > > > Which is the maximum size supported for a custom BIOS image(eg. > > coreboot-based)? I tried some 256K coreboot BIOS images and seemed to > > work fine, but it blo

Custom BIOS supported size

2009-05-03 Thread Cristi Magherusan
Hello, Which is the maximum size supported for a custom BIOS image(eg. coreboot-based)? I tried some 256K coreboot BIOS images and seemed to work fine, but it blowed up with a 3MB image (which by the way works on qemu just fine). Qemu also seems to fail with images greater than 4MB, and I'd appr

kvm-77-userspace compilation fails with --disable-aio

2008-10-17 Thread Cristi Magherusan
Hello, This is the compilation error: libqemu.a(qemu-kvm.o): In function `kvm_main_loop': qemu-kvm.c:(.text+0xe68): undefined reference to `qemu_eventfd' qemu-kvm.c:(.text+0xed3): undefined reference to `qemu_signalfd' collect2: ld returned 1 exit status It seems that the kvm_main_loop function

Re: Question about limiting KVM cpu usage

2008-09-11 Thread Cristi Magherusan
On Thu, 2008-09-11 at 20:18 +0300, FinnTux wrote: > 2008/9/11 Steve Lorimer <[EMAIL PROTECTED]>: > > Hello, all, > > I have what should be a simple question concerning KVM. Is there a way to > > limit cpu usage for a KVM guest? In other words, if I am running four guest > > servers and somethin

Re: trivial DNS issues

2008-09-01 Thread Cristi Magherusan
On Mon, 2008-09-01 at 15:37 +0300, Avi Kivity wrote: > Why? A local application will have exactly the same problems with a > broken dns server on localhost, as a virtual machine with that address > forwarded. And if the the dns server is later fixed, both the local > application and the guest

Re: trivial DNS issues

2008-09-01 Thread Cristi Magherusan
On Mon, 2008-09-01 at 14:14 +0300, Avi Kivity wrote: > Cristi Magherusan wrote: > > Those who have installed a local DNS server may need that stuff, but we > > can check every entries of resolv.conf and see if we can connect to > > their DNS server, and use in our VM the fi

Re: trivial DNS issues

2008-09-01 Thread Cristi Magherusan
Hello, On Mon, 2008-09-01 at 13:29 +0300, Avi Kivity wrote: > What does your /etc/resolv.conf look like? It used to look like this: nameserver 127.0.0.1 nameserver nameserver Inside the VM the DNS resolver was broken. After removing that line from the dhclient config now I have only my real DN

trivial DNS issues

2008-09-01 Thread Cristi Magherusan
Hello, It seems that qemu (and our kvm-qemu branch) and virtualbox suffer of this issue regarding the DNS resolver: http://www.virtualbox.org/ticket/421 I know it's mostly a DHCP client config problem, but we could try if the designated DNS servers are reachable before we pass them to our virtual

GSoC coreboot AVATT - help debugging kvm segfault in uclibc-based environment

2008-08-18 Thread Cristi Magherusan
Hello, It seems kvm compiled and linked against uclibc crashes in qemu/qemu-kvm.c:420 Can anyone please give me a hand in fixing this issue? I'd prefer IRC if possible, my nickname is "alien". Thanks! Best regards, Cristi signature.asc Description: This is a digitally signed message part

Re: uClibc compatibility or static linking support

2008-07-06 Thread Cristi Magherusan
Hello, On Sun, 2008-07-06 at 11:02 +0300, Avi Kivity wrote: > Cristi Magherusan wrote: > > Hello, > > > > As part of my GSoC project I'm working to create a small coreboot > > payload containing a KVM-enabled Linux kernel and the KVM tools. > > > > Th

uClibc compatibility or static linking support

2008-07-05 Thread Cristi Magherusan
Hello, As part of my GSoC project I'm working to create a small coreboot payload containing a KVM-enabled Linux kernel and the KVM tools. This involves either compiling and linking KVM against uClibc, or making a static binary linked against glibc. Has anyone tried compiling kvm against uClibc b