qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] Start qemu with crontab


From: David Gosselin
Subject: Re: [Qemu-discuss] Start qemu with crontab
Date: Wed, 27 Aug 2014 06:43:29 -0400

Your invocation line says "ifname=qemu4", whereas you indicate that qemu1 
doesn't exist; is the problem here?

> On Aug 26, 2014, at 23:00, 邓尧 <address@hidden> wrote:
> 
> Hi
> 
> I tried to start qemu-system-i386 with the following command through crontab, 
> the command works perfectly under a console or a remote shell, but fails 
> under crontab:
> 
> /opt/App/qemu/bin/qemu-system-i386 -enable-kvm -m 3072 -daemonize -net 
> nic,model=virtio,macaddr=e2:bb:aa:00:00:04 -net 
> tap,ifname=qemu4,script=no,downscript=no -usb -usbdevice host:1.11 -kernel 
> /opt/vmhost/kernel/vmlinuz -initrd /opt/vmhost/kernel/initrd.img -append 
> "kernel command line" -vnc :4,lossy /opt/vmhost/image/drive.img
> 
> The following error message was recorded in /var/spool/mail/root:
> TAP interface qemu1 missing.
> 
> TAP interface is actually created, owned by the root user. Anyone know the 
> cause of the error ? and how to fix it ?
> 
> Thanks.
> Deng Yao.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]