[Top][All Lists]

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

[Qemu-discuss] Start qemu with crontab

From: 邓尧
Subject: [Qemu-discuss] Start qemu with crontab
Date: Wed, 27 Aug 2014 11:00:18 +0800


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 ?

Deng Yao.

reply via email to

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