public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* qemu-kvm-0.12 bug?
@ 2009-12-22 12:02 Thomas Treutner
  2009-12-22 12:25 ` Thomas Treutner
  0 siblings, 1 reply; 16+ messages in thread
From: Thomas Treutner @ 2009-12-22 12:02 UTC (permalink / raw)
  To: kvm

Hi, 

I've switched from -0.11.0 to -0.12 and from 2.6.31.6 to 2.6.32.2 to try the 
new virtio-memory-API introduced in latest libvirt from git. I can start VMs 
f.e. by kvm -cdrom $someiso --enable-kvm but my domain configs to not work 
anymore. 


Domain config: http://pastebin.com/f66324669

Qemu log when doing "virsh start wp01":

LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin 
HOME=/root USER=root LOGNAME=root QEMU_AUDIO_DRV=none /usr/bin/kvm -S -M 
pc-0.11 -enable-kvm -m 1000 -smp 1 -name wp01 -uuid 
4c34e9aa-2bcd-fa8e-bc98-4417c1cb779a -chardev 
socket,id=monitor,path=/usr/local/var/lib/libvirt/qemu/wp01.monitor,server,nowait -monitor 
chardev:monitor -boot 
c -kernel /boot/vmlinuz-2.6.32.2 -initrd /boot/initrd.img-2.6.32.2 -append 
root=/dev/vdb noresume2 -drive 
file=/dev/disk/by-path/ip-10.0.1.1:3260-iscsi-iqn.2009-09.local:store.wp01-swap-lun-0,if=virtio,index=0,boot=on -drive 
file=/dev/disk/by-path/ip-10.0.1.1:3260-iscsi-iqn.2009-09.local:store.wp01-disk-lun-0,if=virtio,index=1 -net 
nic,macaddr=00:16:3e:00:01:01,vlan=0,model=virtio,name=virtio.0 -net 
tap,fd=18,vlan=0,name=tap.0 -chardev pty,id=serial0 -serial 
chardev:serial0 -parallel none -usb -vnc 0.0.0.0:0 -k de -vga cirrus
char device redirected to /dev/pts/3
Option 'ipv4': Use 'on' or 'off'
Failed to parse "yes" for "dummy.ipv4"
rom: requested regions overlap (rom vapic.bin. free=0x0000000000000600, 
addr=0x0000000000000000)
rom loading failed


Is this a bug or am I missing something?


Thanks, kr
tom


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: qemu-kvm-0.12 bug?
  2009-12-22 12:02 qemu-kvm-0.12 bug? Thomas Treutner
@ 2009-12-22 12:25 ` Thomas Treutner
  2009-12-23 15:05   ` Thomas Treutner
  0 siblings, 1 reply; 16+ messages in thread
From: Thomas Treutner @ 2009-12-22 12:25 UTC (permalink / raw)
  To: kvm

On Tuesday 22 December 2009 13:02:28 Thomas Treutner wrote:
> Hi,
>
> I've switched from -0.11.0 to -0.12 and from 2.6.31.6 to 2.6.32.2 to try
> the new virtio-memory-API introduced in latest libvirt from git. I can
> start VMs f.e. by kvm -cdrom $someiso --enable-kvm but my domain configs to
> not work anymore.

Just found the other bug report about this....

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: qemu-kvm-0.12 bug?
  2009-12-22 12:25 ` Thomas Treutner
@ 2009-12-23 15:05   ` Thomas Treutner
  2009-12-23 22:50     ` Bernhard Held
  0 siblings, 1 reply; 16+ messages in thread
From: Thomas Treutner @ 2009-12-23 15:05 UTC (permalink / raw)
  To: kvm

On Tuesday 22 December 2009 13:25:30 Thomas Treutner wrote:
> On Tuesday 22 December 2009 13:02:28 Thomas Treutner wrote:
> > Hi,
> >
> > I've switched from -0.11.0 to -0.12 and from 2.6.31.6 to 2.6.32.2 to try
> > the new virtio-memory-API introduced in latest libvirt from git. I can
> > start VMs f.e. by kvm -cdrom $someiso --enable-kvm but my domain configs
> > to not work anymore.
>
> Just found the other bug report about this....

Which solves this problem, but introduces the next. My VMs are stuck at boot, 
after "SeaBIOS...gPXE" nothing happens.

Domain config: http://pastebin.com/f66324669

I had to do ./configure --disable-xen due to some other bug at compilation, 
could that be related?


thx,kr
tom

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: qemu-kvm-0.12 bug?
  2009-12-23 15:05   ` Thomas Treutner
@ 2009-12-23 22:50     ` Bernhard Held
  2009-12-24 14:26       ` Avi Kivity
  0 siblings, 1 reply; 16+ messages in thread
From: Bernhard Held @ 2009-12-23 22:50 UTC (permalink / raw)
  To: kvm; +Cc: kvm

>>> I've switched from -0.11.0 to -0.12 and from 2.6.31.6 to 2.6.32.2 to try
>>> the new virtio-memory-API introduced in latest libvirt from git. I can
>>> start VMs f.e. by kvm -cdrom $someiso --enable-kvm but my domain configs
>>> to not work anymore.
>>
>> Just found the other bug report about this....
> 
> Which solves this problem, but introduces the next. My VMs are stuck at boot, 
> after "SeaBIOS...gPXE" nothing happens.
Similar problem here with 0.12.1.1.

I prefer to start my linux guests with -kernel, -append and -initrd.
With this options qemu-kvm stuck at boot.

Windows 2k8 or CDROM images work flawless.

0.12.0-rc2 didn't show this bug.

Bernhard


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: qemu-kvm-0.12 bug?
  2009-12-23 22:50     ` Bernhard Held
@ 2009-12-24 14:26       ` Avi Kivity
  2009-12-24 17:01         ` Thomas Treutner
  2009-12-25 18:28         ` Bernhard Held
  0 siblings, 2 replies; 16+ messages in thread
From: Avi Kivity @ 2009-12-24 14:26 UTC (permalink / raw)
  To: Bernhard Held; +Cc: kvm

On 12/24/2009 12:50 AM, Bernhard Held wrote:
>>>> I've switched from -0.11.0 to -0.12 and from 2.6.31.6 to 2.6.32.2 to try
>>>> the new virtio-memory-API introduced in latest libvirt from git. I can
>>>> start VMs f.e. by kvm -cdrom $someiso --enable-kvm but my domain configs
>>>> to not work anymore.
>>>>          
>>> Just found the other bug report about this....
>>>        
>> Which solves this problem, but introduces the next. My VMs are stuck at boot,
>> after "SeaBIOS...gPXE" nothing happens.
>>      
> Similar problem here with 0.12.1.1.
>
> I prefer to start my linux guests with -kernel, -append and -initrd.
> With this options qemu-kvm stuck at boot.
>
> Windows 2k8 or CDROM images work flawless.
>
> 0.12.0-rc2 didn't show this bug.
>
>    

I just posted a fix for this.  It will be included with 0.12.1.2 or 0.12.2.

-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: qemu-kvm-0.12 bug?
  2009-12-24 14:26       ` Avi Kivity
@ 2009-12-24 17:01         ` Thomas Treutner
  2009-12-29 10:33           ` Thomas Treutner
  2009-12-25 18:28         ` Bernhard Held
  1 sibling, 1 reply; 16+ messages in thread
From: Thomas Treutner @ 2009-12-24 17:01 UTC (permalink / raw)
  To: Avi Kivity; +Cc: Bernhard Held, kvm

On Thursday 24 December 2009 15:26:59 Avi Kivity wrote:
> On 12/24/2009 12:50 AM, Bernhard Held wrote:
> >> Which solves this problem, but introduces the next. My VMs are stuck at
> >> boot, after "SeaBIOS...gPXE" nothing happens.
> >
> > Similar problem here with 0.12.1.1.
> >
> > I prefer to start my linux guests with -kernel, -append and -initrd.
> > With this options qemu-kvm stuck at boot.
> >
> > Windows 2k8 or CDROM images work flawless.
> >
> > 0.12.0-rc2 didn't show this bug.
>
> I just posted a fix for this.  It will be included with 0.12.1.2 or 0.12.2.

Yep, fixed the bug for me. thx!


kr,t

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: qemu-kvm-0.12 bug?
  2009-12-24 14:26       ` Avi Kivity
  2009-12-24 17:01         ` Thomas Treutner
@ 2009-12-25 18:28         ` Bernhard Held
  1 sibling, 0 replies; 16+ messages in thread
From: Bernhard Held @ 2009-12-25 18:28 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm

>>> Which solves this problem, but introduces the next. My VMs are stuck
>>> at boot,
>>> after "SeaBIOS...gPXE" nothing happens.
>>>      
>> Similar problem here with 0.12.1.1.
>>
>> I prefer to start my linux guests with -kernel, -append and -initrd.
>> With this options qemu-kvm stuck at boot.
>>
>> Windows 2k8 or CDROM images work flawless.
>>
>> 0.12.0-rc2 didn't show this bug.
>>
> 
> I just posted a fix for this.  It will be included with 0.12.1.2 or 0.12.2.

Now everything works for me.

Thanks for the quick patch!

Bernhard

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: qemu-kvm-0.12 bug?
  2009-12-24 17:01         ` Thomas Treutner
@ 2009-12-29 10:33           ` Thomas Treutner
  2009-12-29 10:36             ` Avi Kivity
  0 siblings, 1 reply; 16+ messages in thread
From: Thomas Treutner @ 2009-12-29 10:33 UTC (permalink / raw)
  To: Avi Kivity; +Cc: Bernhard Held, kvm

On Thursday 24 December 2009 18:01:58 Thomas Treutner wrote:
> On Thursday 24 December 2009 15:26:59 Avi Kivity wrote:
> > On 12/24/2009 12:50 AM, Bernhard Held wrote:
> > >> Which solves this problem, but introduces the next. My VMs are stuck
> > >> at boot, after "SeaBIOS...gPXE" nothing happens.
> > >
> > > Similar problem here with 0.12.1.1.
> > >
> > > I prefer to start my linux guests with -kernel, -append and -initrd.
> > > With this options qemu-kvm stuck at boot.
> > >
> > > Windows 2k8 or CDROM images work flawless.
> > >
> > > 0.12.0-rc2 didn't show this bug.
> >
> > I just posted a fix for this.  It will be included with 0.12.1.2 or
> > 0.12.2.
>
> Yep, fixed the bug for me. thx!

...and made the next bug visible - I can't set the assigned memory by

$ virsh setmem domain kbyte

With -0.11, it works flawlessly. I tried 2.6.31.6, 2.6.32-rc5 and 2.6.32.2, it 
makes no difference. 

Is it a bug in KVM or are there some recent changes in KVM which aren't 
reflected by libvirt?


kr,tom

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: qemu-kvm-0.12 bug?
  2009-12-29 10:33           ` Thomas Treutner
@ 2009-12-29 10:36             ` Avi Kivity
  2009-12-29 10:54               ` Thomas Treutner
  0 siblings, 1 reply; 16+ messages in thread
From: Avi Kivity @ 2009-12-29 10:36 UTC (permalink / raw)
  To: Thomas Treutner; +Cc: Bernhard Held, kvm

On 12/29/2009 12:33 PM, Thomas Treutner wrote:
>
> ...and made the next bug visible - I can't set the assigned memory by
>
> $ virsh setmem domain kbyte
>
> With -0.11, it works flawlessly. I tried 2.6.31.6, 2.6.32-rc5 and 2.6.32.2, it
> makes no difference.
>
>
>    

What's this, the balloon driver?

-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: qemu-kvm-0.12 bug?
  2009-12-29 10:36             ` Avi Kivity
@ 2009-12-29 10:54               ` Thomas Treutner
  2009-12-29 11:10                 ` Avi Kivity
  0 siblings, 1 reply; 16+ messages in thread
From: Thomas Treutner @ 2009-12-29 10:54 UTC (permalink / raw)
  To: Avi Kivity; +Cc: Bernhard Held, kvm

On Tuesday 29 December 2009 11:36:03 Avi Kivity wrote:
> On 12/29/2009 12:33 PM, Thomas Treutner wrote:
> > ...and made the next bug visible - I can't set the assigned memory by
> >
> > $ virsh setmem domain kbyte
> >
> > With -0.11, it works flawlessly. I tried 2.6.31.6, 2.6.32-rc5 and
> > 2.6.32.2, it makes no difference.
>
> What's this, the balloon driver?

Yep, virtio_balloon is of course loaded.


kr,t

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: qemu-kvm-0.12 bug?
  2009-12-29 10:54               ` Thomas Treutner
@ 2009-12-29 11:10                 ` Avi Kivity
  2009-12-29 11:48                   ` [Qemu-devel] " Luiz Capitulino
  0 siblings, 1 reply; 16+ messages in thread
From: Avi Kivity @ 2009-12-29 11:10 UTC (permalink / raw)
  To: Thomas Treutner; +Cc: Bernhard Held, kvm, qemu-devel

On 12/29/2009 12:54 PM, Thomas Treutner wrote:
> On Tuesday 29 December 2009 11:36:03 Avi Kivity wrote:
>    
>> On 12/29/2009 12:33 PM, Thomas Treutner wrote:
>>      
>>> ...and made the next bug visible - I can't set the assigned memory by
>>>
>>> $ virsh setmem domain kbyte
>>>
>>> With -0.11, it works flawlessly. I tried 2.6.31.6, 2.6.32-rc5 and
>>> 2.6.32.2, it makes no difference.
>>>        
>> What's this, the balloon driver?
>>      
> Yep, virtio_balloon is of course loaded.
>
>
>    

Hm, I get "The balloon device has not been activated by the guest" in 
the qemu monitor.

-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [Qemu-devel] Re: qemu-kvm-0.12 bug?
  2009-12-29 11:10                 ` Avi Kivity
@ 2009-12-29 11:48                   ` Luiz Capitulino
  2009-12-29 12:08                     ` Thomas Treutner
  2009-12-29 12:11                     ` Avi Kivity
  0 siblings, 2 replies; 16+ messages in thread
From: Luiz Capitulino @ 2009-12-29 11:48 UTC (permalink / raw)
  To: Avi Kivity; +Cc: Thomas Treutner, Bernhard Held, qemu-devel, kvm

On Tue, 29 Dec 2009 13:10:36 +0200
Avi Kivity <avi@redhat.com> wrote:

> On 12/29/2009 12:54 PM, Thomas Treutner wrote:
> > On Tuesday 29 December 2009 11:36:03 Avi Kivity wrote:
> >    
> >> On 12/29/2009 12:33 PM, Thomas Treutner wrote:
> >>      
> >>> ...and made the next bug visible - I can't set the assigned memory by
> >>>
> >>> $ virsh setmem domain kbyte
> >>>
> >>> With -0.11, it works flawlessly. I tried 2.6.31.6, 2.6.32-rc5 and
> >>> 2.6.32.2, it makes no difference.
> >>>        
> >> What's this, the balloon driver?
> >>      
> > Yep, virtio_balloon is of course loaded.
> >
> >
> >    
> 
> Hm, I get "The balloon device has not been activated by the guest" in 
> the qemu monitor.

 Is the "-balloon virtio" parameter passed on the command-line?

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [Qemu-devel] Re: qemu-kvm-0.12 bug?
  2009-12-29 11:48                   ` [Qemu-devel] " Luiz Capitulino
@ 2009-12-29 12:08                     ` Thomas Treutner
  2009-12-29 12:24                       ` Luiz Capitulino
  2009-12-29 12:11                     ` Avi Kivity
  1 sibling, 1 reply; 16+ messages in thread
From: Thomas Treutner @ 2009-12-29 12:08 UTC (permalink / raw)
  To: Luiz Capitulino; +Cc: Avi Kivity, Bernhard Held, qemu-devel, kvm

On Tuesday 29 December 2009 12:48:39 Luiz Capitulino wrote:
> On Tue, 29 Dec 2009 13:10:36 +0200 Avi Kivity <avi@redhat.com> wrote:
> > Hm, I get "The balloon device has not been activated by the guest" in
> > the qemu monitor.
>
>  Is the "-balloon virtio" parameter passed on the command-line?

# grep balloon /usr/local/var/log/libvirt/qemu/* | wc -l
0

These logs include some history - so the parameter isn't used by libvirt even 
when ballooning works?


kr,t

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [Qemu-devel] Re: qemu-kvm-0.12 bug?
  2009-12-29 11:48                   ` [Qemu-devel] " Luiz Capitulino
  2009-12-29 12:08                     ` Thomas Treutner
@ 2009-12-29 12:11                     ` Avi Kivity
  1 sibling, 0 replies; 16+ messages in thread
From: Avi Kivity @ 2009-12-29 12:11 UTC (permalink / raw)
  To: Luiz Capitulino; +Cc: Thomas Treutner, Bernhard Held, qemu-devel, kvm

On 12/29/2009 01:48 PM, Luiz Capitulino wrote:
>
>> Hm, I get "The balloon device has not been activated by the guest" in
>> the qemu monitor.
>>      
>   Is the "-balloon virtio" parameter passed on the command-line?
>    

With this parameter, everything works.

-- 
error compiling committee.c: too many arguments to function


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [Qemu-devel] Re: qemu-kvm-0.12 bug?
  2009-12-29 12:08                     ` Thomas Treutner
@ 2009-12-29 12:24                       ` Luiz Capitulino
  2009-12-30  9:36                         ` Thomas Treutner
  0 siblings, 1 reply; 16+ messages in thread
From: Luiz Capitulino @ 2009-12-29 12:24 UTC (permalink / raw)
  To: Thomas Treutner; +Cc: Avi Kivity, Bernhard Held, qemu-devel, kvm

On Tue, 29 Dec 2009 13:08:26 +0100
Thomas Treutner <thomas@scripty.at> wrote:

> On Tuesday 29 December 2009 12:48:39 Luiz Capitulino wrote:
> > On Tue, 29 Dec 2009 13:10:36 +0200 Avi Kivity <avi@redhat.com> wrote:
> > > Hm, I get "The balloon device has not been activated by the guest" in
> > > the qemu monitor.
> >
> >  Is the "-balloon virtio" parameter passed on the command-line?
> 
> # grep balloon /usr/local/var/log/libvirt/qemu/* | wc -l
> 0
> 
> These logs include some history - so the parameter isn't used by libvirt even 
> when ballooning works?

 This parameter is new in qemu-0.12.

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [Qemu-devel] Re: qemu-kvm-0.12 bug?
  2009-12-29 12:24                       ` Luiz Capitulino
@ 2009-12-30  9:36                         ` Thomas Treutner
  0 siblings, 0 replies; 16+ messages in thread
From: Thomas Treutner @ 2009-12-30  9:36 UTC (permalink / raw)
  To: Luiz Capitulino; +Cc: Avi Kivity, Bernhard Held, qemu-devel, kvm

On Tuesday 29 December 2009 13:24:36 Luiz Capitulino wrote:
> > >  Is the "-balloon virtio" parameter passed on the command-line?
> >
> > # grep balloon /usr/local/var/log/libvirt/qemu/* | wc -l
> > 0
> >
> > These logs include some history - so the parameter isn't used by libvirt
> > even when ballooning works?
>
>  This parameter is new in qemu-0.12.

Ah, thx! I informed the libvirt guys.

kr,t

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2009-12-30  9:36 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-22 12:02 qemu-kvm-0.12 bug? Thomas Treutner
2009-12-22 12:25 ` Thomas Treutner
2009-12-23 15:05   ` Thomas Treutner
2009-12-23 22:50     ` Bernhard Held
2009-12-24 14:26       ` Avi Kivity
2009-12-24 17:01         ` Thomas Treutner
2009-12-29 10:33           ` Thomas Treutner
2009-12-29 10:36             ` Avi Kivity
2009-12-29 10:54               ` Thomas Treutner
2009-12-29 11:10                 ` Avi Kivity
2009-12-29 11:48                   ` [Qemu-devel] " Luiz Capitulino
2009-12-29 12:08                     ` Thomas Treutner
2009-12-29 12:24                       ` Luiz Capitulino
2009-12-30  9:36                         ` Thomas Treutner
2009-12-29 12:11                     ` Avi Kivity
2009-12-25 18:28         ` Bernhard Held

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox