[gentoo-user] [OT] Problems with libvirt / qemu

2010-10-10 Thread Dan Johansson
I know this is of topic, but this is one of the few lists where you mostly get 
a competent answer.

I have a small problem with libvirt / qemu. I have created a guest (also 
gentoo) on a gentoo hosts and when I start it from the command-line the guests 
starts OK, but when I start the guest through libvirt with "virsh start" I get 
"Booting from Hard Disk...
Boot failed: not a bootable disk
No bootable device"

This is the command-line I use to start the guest (which works)
"cd /var/lib/kvm/Wilmer;  /usr/bin/qemu-system-x86_64 --enable-kvm \
-net nic,vlan=1,model=rtl8139,macaddr=DE:ED:BE:EF:01:03 -net 
tap,vlan=1,ifname=qtap13,script=no,downscript=no \  
 
-net nic,vlan=3,model=rtl8139,macaddr=DE:ED:BE:EF:03:03 -net 
tap,vlan=3,ifname=qtap33,script=no,downscript=no \  
 
-m 2048 -k de-ch -vnc :3 -daemonize \   

  
Wilmer.qcow2"


The libvirt XML-file was created using "virsh domxml-from-native qemu-argv" and 
this is the result of that conversion:

  wilmer
  a421968d-0573-1356-8cb7-32caff525a03
  2097152
  2097152
  2
  
hvm

  
  

  
  
  destroy
  restart
  destroy
  
/usr/bin/qemu-system-x86_64

  
  
  


  


  
  
  
  
  


  
  
  
  
  




  
  

  



Anyone seeing something obvious that I have missed?

 Regards,
-- 
Dan Johansson, 
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] [OT] Problems with libvirt / qemu

2010-10-11 Thread Ward Poelmans
On Sun, Oct 10, 2010 at 16:05, Dan Johansson  wrote:

>    
>      
>      
>      
>    

On my system, this section looks like:

  
  
  
  


Try adding "" to yours?

Ward



Re: [gentoo-user] [OT] Problems with libvirt / qemu

2010-10-11 Thread Dan Johansson
On Monday 11 October 2010 19.02:10 Ward Poelmans wrote:
> On Sun, Oct 10, 2010 at 16:05, Dan Johansson  wrote:
> 
> >
> >  
> >  
> >  
> >
> 
> On my system, this section looks like:
> 
>   
>   
>   
>function='0x0'/>
> 
> 
> Try adding "" to yours?
> 
Thanks, that did the trick!

Regards,
-- 
Dan Johansson, 
***
This message is printed on 100% recycled electrons!
***