All of lore.kernel.org
 help / color / mirror / Atom feed
* qemu-kvm.git BUG - 'Two devices with same boot index 0'
@ 2011-01-19 14:01 Lucas Meneghel Rodrigues
  2011-01-25 14:39 ` Gleb Natapov
  0 siblings, 1 reply; 2+ messages in thread
From: Lucas Meneghel Rodrigues @ 2011-01-19 14:01 UTC (permalink / raw)
  To: KVM mailing list; +Cc: Avi Kivity, Gleb Natapov, Marcelo Tosatti

Hi guys, I've noticed the following regression on qemu.git HEAD:

VMCreateError: VM creation command failed:
"/root/autotest/client/tests/kvm/qemu
-name 'vm1'
-monitor
unix:'/tmp/monitor-humanmonitor1-20110119-083240-ocD9',server,nowait
-serial unix:'/tmp/serial-20110119-083240-ocD9',server,nowait
-drive
file='/tmp/kvm_autotest_root/images/f14-64.qcow2',index=0,if=virtio,cache=none,boot=on 
device virtio-net-pci,netdev=idyBlEoF,mac='9a:52:ec:f7:49:f4' -netdev
user,id=idyBlEoF,hostfwd=tcp::5000-:22,hostfwd=tcp::5001-:12323
-m 512
-smp 2
-drive
file='/tmp/kvm_autotest_root/isos/linux/Fedora-14-x86_64-DVD.iso',media=cdrom,index=2
-drive
file='/tmp/kvm_autotest_root/images/f14-64/ks.iso',media=cdrom,index=1
-kernel '/tmp/kvm_autotest_root/images/f14-64/vmlinuz'
-initrd '/tmp/kvm_autotest_root/images/f14-64/initrd.img'
-vnc :1
-boot d
--append 'ks=cdrom nicdelay=60 console=ttyS0,115200 console=tty0'"
(status: 1,    output: 'Two devices with same boot index 0\n')

I took the liberty of splitting up the qemu-kvm command line into blocks
so I could verify the problem. So, after looking at the command line
components, it is evident that kvm autotest constructed a valid, correct
command line and somehow during the processing of the command line
qemu-kvm thinks 2 devices have the same boot index, when in reality they
don't.

Please let's look into this. I am available for any further
clarifications.

Cheers!

Lucas


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

* Re: qemu-kvm.git BUG - 'Two devices with same boot index 0'
  2011-01-19 14:01 qemu-kvm.git BUG - 'Two devices with same boot index 0' Lucas Meneghel Rodrigues
@ 2011-01-25 14:39 ` Gleb Natapov
  0 siblings, 0 replies; 2+ messages in thread
From: Gleb Natapov @ 2011-01-25 14:39 UTC (permalink / raw)
  To: Lucas Meneghel Rodrigues; +Cc: KVM mailing list, Avi Kivity, Marcelo Tosatti

On Wed, Jan 19, 2011 at 12:01:04PM -0200, Lucas Meneghel Rodrigues wrote:
> Hi guys, I've noticed the following regression on qemu.git HEAD:
> 
Please drop use of boot=on for virtio from autotest.

> VMCreateError: VM creation command failed:
> "/root/autotest/client/tests/kvm/qemu
> -name 'vm1'
> -monitor
> unix:'/tmp/monitor-humanmonitor1-20110119-083240-ocD9',server,nowait
> -serial unix:'/tmp/serial-20110119-083240-ocD9',server,nowait
> -drive
> file='/tmp/kvm_autotest_root/images/f14-64.qcow2',index=0,if=virtio,cache=none,boot=on 
> device virtio-net-pci,netdev=idyBlEoF,mac='9a:52:ec:f7:49:f4' -netdev
> user,id=idyBlEoF,hostfwd=tcp::5000-:22,hostfwd=tcp::5001-:12323
> -m 512
> -smp 2
> -drive
> file='/tmp/kvm_autotest_root/isos/linux/Fedora-14-x86_64-DVD.iso',media=cdrom,index=2
> -drive
> file='/tmp/kvm_autotest_root/images/f14-64/ks.iso',media=cdrom,index=1
> -kernel '/tmp/kvm_autotest_root/images/f14-64/vmlinuz'
> -initrd '/tmp/kvm_autotest_root/images/f14-64/initrd.img'
> -vnc :1
> -boot d
> --append 'ks=cdrom nicdelay=60 console=ttyS0,115200 console=tty0'"
> (status: 1,    output: 'Two devices with same boot index 0\n')
> 
> I took the liberty of splitting up the qemu-kvm command line into blocks
> so I could verify the problem. So, after looking at the command line
> components, it is evident that kvm autotest constructed a valid, correct
> command line and somehow during the processing of the command line
> qemu-kvm thinks 2 devices have the same boot index, when in reality they
> don't.
> 
> Please let's look into this. I am available for any further
> clarifications.
> 
> Cheers!
> 
> Lucas

--
			Gleb.

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

end of thread, other threads:[~2011-01-25 14:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-19 14:01 qemu-kvm.git BUG - 'Two devices with same boot index 0' Lucas Meneghel Rodrigues
2011-01-25 14:39 ` Gleb Natapov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.