<div dir="ltr">I tried running qemu-system-x86_64 -help" command manually. But it seems that it work normally. Here is the output. Kindly guide me.<br><br>spanhal1@seclab2:/usr/bin$ <span style="background-color:rgb(255,255,0)">qemu-system-x86_64 -help</span><br>
QEMU emulator version 1.2.0 (qemu-kvm-1.2.0), Copyright (c) 2003-2008 Fabrice Bellard<br>
usage: qemu-system-x86_64 [options] [disk_image]<br><br>'disk_image' is a raw hard disk image for IDE hard disk 0<br><br>Standard options:<br>-h or -help     display this help and exit<br>-version        display version information and exit<br>

-machine [type=]name[,prop[=value][,...<div dir="ltr">]]<br>                selects emulated machine (-machine ? for list)<br>                property accel=accel1[:accel2[:...]] selects accelerator<br>                supported accelerators are kvm, xen, tcg (default: tcg)<br>

                kernel_irqchip=on|off controls accelerated irqchip support<br>                kvm_shadow_mem=size of KVM shadow MMU<br>                dump-guest-core=on|off include guest memory in a core dump (default=on)<br>

-cpu cpu        select CPU (-cpu ? for list)<br>-smp n[,maxcpus=cpus][,cores=cores][,threads=threads][,sockets=sockets]<br>                set the number of CPUs to 'n' [default=1]<br>                maxcpus= maximum number of total cpus, including<br>

                offline CPUs for hotplug, etc<br>                cores= number of CPU cores on one socket<br>                threads= number of threads on one CPU core<br>                sockets= number of discrete sockets in the system<br>

-numa node[,mem=size][,cpus=cpu[-cpu]][,nodeid=node]<br>-fda/-fdb file  use 'file' as floppy disk 0/1 image<br>-hda/-hdb file  use 'file' as IDE hard disk 0/1 image<br>-hdc/-hdd file  use 'file' as IDE hard disk 2/3 image<br>

-cdrom file     use 'file' as IDE cdrom image (cdrom is ide1 master)<br>-drive [file=file][,if=type][,bus=n][,unit=m][,media=d][,index=i]<br>       [,cyls=c,heads=h,secs=s[,trans=t]][,snapshot=on|off]<br>       [,cache=writethrough|writeback|none|directsync|unsafe][,format=f]<br>

       [,serial=s][,addr=A][,id=name][,aio=threads|native]<br>       [,readonly=on|off][,copy-on-read=on|off]<br>       [[,bps=b]|[[,bps_rd=r][,bps_wr=w]]][[,iops=i]|[[,iops_rd=r][,iops_wr=w]]<br>                use 'file' as a drive image<br>

-set group.id.arg=value<br>                set <arg> parameter for item <id> of type <group><br>                i.e. -set drive.$id.file=/path/to/image<br>-global driver.prop=value<br>                set a global default for a driver property<br>

-mtdblock file  use 'file' as on-board Flash memory image<br>-sd file        use 'file' as SecureDigital card image<br>-pflash file    use 'file' as a parallel flash image<br>-boot [order=drives][,once=drives][,menu=on|off]<br>

      [,splash=sp_name][,splash-time=sp_time]<br>                'drives': floppy (a), hard disk (c), CD-ROM (d), network (n)<br>                'sp_name': the file's name that would be passed to bios as logo picture, if menu=on<br>

                'sp_time': the period that splash picture last if menu=on, unit is ms<br>-snapshot       write to temporary files instead of disk image files<br>-m megs         set virtual RAM size to megs MB [default=128]<br>

-mem-path FILE  provide backing storage for guest RAM<br>-mem-prealloc   preallocate guest memory (use with -mem-path)<br>-k language     use keyboard layout (for example 'fr' for French)<br>-audio-help     print list of audio drivers and their options<br>

-soundhw c1,... enable audio support<br>                and only specified sound cards (comma separated list)<br>                use -soundhw ? to get the list of supported cards<br>                use -soundhw all to enable all of them<br>

-balloon none   disable balloon device<br>-balloon virtio[,addr=str]<br>                enable virtio balloon device (default)<br>-usb            enable the USB driver (will be the default soon)<br>-usbdevice name add the host or guest USB device 'name'<br>

-device driver[,prop[=value][,...]]<br>                add device (based on driver)<br>                prop=value,... sets driver properties<br>                use -device ? to print all possible drivers<br>                use -device driver,? to print all possible properties<br>

<br>File system options:<br>-fsdev fsdriver,id=id[,path=path,][security_model={mapped-xattr|mapped-file|passthrough|none}]<br> [,writeout=immediate][,readonly][,socket=socket|sock_fd=sock_fd]<br><br>Virtual File system pass-through options:<br>

-virtfs local,path=path,mount_tag=tag,security_model=[mapped-xattr|mapped-file|passthrough|none]<br>        [,writeout=immediate][,readonly][,socket=socket|sock_fd=sock_fd]<br>-virtfs_synth Create synthetic file system image<br>

<br>-name string1[,process=string2]<br>                set the name of the guest<br>                string1 sets the window title and string2 the process name (on Linux)<br>-uuid %08x-%04x-%04x-%04x-%012x<br>                specify machine UUID<br>

<br>Display options:<br>-display sdl[,frame=on|off][,alt_grab=on|off][,ctrl_grab=on|off]<br>            [,window_close=on|off]|curses|none|<br>            vnc=<display>[,<optargs>]<br>                select display type<br>

-nographic      disable graphical output and redirect serial I/Os to console<br>-curses         use a curses/ncurses interface instead of SDL<br>-no-frame       open SDL window without a frame and window decorations<br>-alt-grab       use Ctrl-Alt-Shift to grab mouse (instead of Ctrl-Alt)<br>

-ctrl-grab      use Right-Ctrl to grab mouse (instead of Ctrl-Alt)<br>-no-quit        disable SDL window close capability<br>-sdl            enable SDL<br>-spice <args>   enable spice<br>-portrait       rotate graphical output 90 deg left (only PXA LCD)<br>

-rotate <deg>   rotate graphical output some deg left (only PXA LCD)<br>-vga [std|cirrus|vmware|qxl|xenfb|none]<br>                select video card type<br>-full-screen    start in full screen<br>-vnc display    start a VNC server on display<br>

<br>i386 target only:<br>-win2k-hack     use it when installing Windows 2000 to avoid a disk full bug<br>-no-fd-bootchk  disable boot signature checking for floppy disks<br>-no-acpi        disable ACPI<br>-no-hpet        disable HPET<br>

-acpitable [sig=str][,rev=n][,oem_id=str][,oem_table_id=str][,oem_rev=n][,asl_compiler_id=str][,asl_compiler_rev=n][,{data|file}=file1[:file2]...]<br>                ACPI table description<br>-smbios file=binary<br>                load SMBIOS entry from binary file<br>

-smbios type=0[,vendor=str][,version=str][,date=str][,release=%d.%d]<br>                specify SMBIOS type 0 fields<br>-smbios type=1[,manufacturer=str][,product=str][,version=str][,serial=str]<br>              [,uuid=uuid][,sku=str][,family=str]<br>

                specify SMBIOS type 1 fields<br><br>Network options:<br>-net nic[,vlan=n][,macaddr=mac][,model=type][,name=str][,addr=str][,vectors=v]<br>                create a new Network Interface Card and connect it to VLAN 'n'<br>

-net user[,vlan=n][,name=str][,net=addr[/mask]][,host=addr][,restrict=on|off]<br>         [,hostname=host][,dhcpstart=addr][,dns=addr][,tftp=dir][,bootfile=f]<br>         [,hostfwd=rule][,guestfwd=rule][,smb=dir[,smbserver=addr]]<br>

                connect the user mode network stack to VLAN 'n', configure its<br>                DHCP server and enabled optional services<br>-net tap[,vlan=n][,name=str][,fd=h][,ifname=name][,script=file][,downscript=dfile][,helper=helper][,sndbuf=nbytes][,vnet_hdr=on|off][,vhost=on|off][,vhostfd=h][,vhostforce=on|off]<br>

                connect the host TAP network interface to VLAN 'n' <br>                use network scripts 'file' (default=/etc/qemu-ifup)<br>                to configure it and 'dfile' (default=/etc/qemu-ifdown)<br>

                to deconfigure it<br>                use '[down]script=no' to disable script execution<br>                use network helper 'helper' (default=/usr/local/libexec/qemu-bridge-helper) to<br>
                configure it<br>
                use 'fd=h' to connect to an already opened TAP interface<br>                use 'sndbuf=nbytes' to limit the size of the send buffer (the<br>                default is disabled 'sndbuf=0' to enable flow control set 'sndbuf=1048576')<br>

                use vnet_hdr=off to avoid enabling the IFF_VNET_HDR tap flag<br>                use vnet_hdr=on to make the lack of IFF_VNET_HDR support an error condition<br>                use vhost=on to enable experimental in kernel accelerator<br>

                    (only has effect for virtio guests which use MSIX)<br>                use vhostforce=on to force vhost on for non-MSIX virtio guests<br>                use 'vhostfd=h' to connect to an already opened vhost net device<br>

-net bridge[,vlan=n][,name=str][,br=bridge][,helper=helper]<br>                connects a host TAP network interface to a host bridge device 'br'<br>                (default=br0) using the program 'helper'<br>

                (default=/usr/local/libexec/qemu-bridge-helper)<br>-net socket[,vlan=n][,name=str][,fd=h][,listen=[host]:port][,connect=host:port]<br>                connect the vlan 'n' to another VLAN using a socket connection<br>

-net socket[,vlan=n][,name=str][,fd=h][,mcast=maddr:port[,localaddr=addr]]<br>                connect the vlan 'n' to multicast maddr and port<br>                use 'localaddr=addr' to specify the host address to send packets from<br>

-net socket[,vlan=n][,name=str][,fd=h][,udp=host:port][,localaddr=host:port]<br>                connect the vlan 'n' to another VLAN using an UDP tunnel<br>-net dump[,vlan=n][,file=f][,len=n]<br>                dump traffic on vlan 'n' to file 'f' (max n bytes per packet)<br>

-net none       use it alone to have zero network devices. If no -net option<br>                is provided, the default is '-net nic -net user'<br>-netdev [user|tap|bridge|socket],id=str[,option][,option][,...]<br>

<br>Character device options:<br>-chardev null,id=id[,mux=on|off]<br>-chardev socket,id=id[,host=host],port=host[,to=to][,ipv4][,ipv6][,nodelay]<br>         [,server][,nowait][,telnet][,mux=on|off] (tcp)<br>-chardev socket,id=id,path=path[,server][,nowait][,telnet],[mux=on|off] (unix)<br>

-chardev udp,id=id[,host=host],port=port[,localaddr=localaddr]<br>         [,localport=localport][,ipv4][,ipv6][,mux=on|off]<br>-chardev msmouse,id=id[,mux=on|off]<br>-chardev vc,id=id[[,width=width][,height=height]][[,cols=cols][,rows=rows]]<br>

         [,mux=on|off]<br>-chardev file,id=id,path=path[,mux=on|off]<br>-chardev pipe,id=id,path=path[,mux=on|off]<br>-chardev pty,id=id[,mux=on|off]<br>-chardev stdio,id=id[,mux=on|off][,signal=on|off]<br>-chardev tty,id=id,path=path[,mux=on|off]<br>

-chardev parport,id=id,path=path[,mux=on|off]<br><br>-iscsi [user=user][,password=password]<br>       [,header-digest=CRC32C|CR32C-NONE|NONE-CRC32C|NONE<br>       [,initiator-name=iqn]<br>                iSCSI session parameters<br>

Bluetooth(R) options:<br>-bt hci,null    dumb bluetooth HCI - doesn't respond to commands<br>-bt hci,host[:id]<br>                use host's HCI with the given name<br>-bt hci[,vlan=n]<br>                emulate a standard HCI in virtual scatternet 'n'<br>

-bt vhci[,vlan=n]<br>                add host computer to virtual scatternet 'n' using VHCI<br>-bt device:dev[,vlan=n]<br>                emulate a bluetooth device 'dev' in scatternet 'n'<br><br>
Linux/Multiboot boot specific:<br>
-kernel bzImage use 'bzImage' as kernel image<br>-append cmdline use 'cmdline' as kernel command line<br>-initrd file    use 'file' as initial ram disk<br>-dtb    file    use 'file' as device tree image<br>

<br>Debug/Expert options:<br>-serial dev     redirect the serial port to char device 'dev'<br>-parallel dev   redirect the parallel port to char device 'dev'<br>-monitor dev    redirect the monitor to char device 'dev'<br>

-qmp dev        like -monitor but opens in 'control' mode<br>-mon chardev=[name][,mode=readline|control][,default]<br>-debugcon dev   redirect the debug console to char device 'dev'<br>-pidfile file   write PID to 'file'<br>

-singlestep     always run in singlestep mode<br>-S              freeze CPU at startup (use 'c' to start execution)<br>-gdb dev        wait for gdb connection on 'dev'<br>-s              shorthand for -gdb tcp::1234<br>

-d item1,...    output log to /tmp/qemu.log (use -d ? for a list of log items)<br>-D logfile      output log to logfile (instead of the default /tmp/qemu.log)<br>-hdachs c,h,s[,t]<br>                force hard disk 0 physical geometry and the optional BIOS<br>

                translation (t=none or lba) (usually QEMU can guess them)<br>-L path         set the directory for the BIOS, VGA BIOS and keymaps<br>-bios file      set the filename for the BIOS<br>-enable-kvm     enable KVM full virtualization support<br>

-xen-domid id   specify xen guest domain id<br>-xen-create     create domain using xen hypercalls, bypassing xend<br>                warning: should not be used when xend is in use<br>-xen-attach     attach to existing xen domain<br>

                xend will use this when starting QEMU<br>-no-reboot      exit instead of rebooting<br>-no-shutdown    stop before shutdown<br>-loadvm [tag|id]<br>                start right away with a saved state (loadvm in monitor)<br>

-daemonize      daemonize QEMU after initializing<br>-option-rom rom load a file, rom, into the option ROM space<br>-clock          force the use of the given methods for timer alarm.<br>                To see what timers are available use -clock ?<br>

-rtc [base=utc|localtime|date][,clock=host|rt|vm][,driftfix=none|slew]<br>                set the RTC base and clock, enable drift fix for clock ticks (x86 only)<br>-icount [N|auto]<br>                enable virtual instruction counter with 2^N clock ticks per<br>

                instruction<br>-watchdog i6300esb|ib700<br>                enable virtual hardware watchdog [default=none]<br>-watchdog-action reset|shutdown|poweroff|pause|debug|none<br>                action when watchdog fires [default=reset]<br>

-echr chr       set terminal escape character instead of ctrl-a<br>-virtioconsole c<br>                set virtio console<br>-show-cursor    show cursor<br>-tb-size n      set TB size<br>-incoming p     prepare for incoming migration, listen on port p<br>

-nodefaults     don't create default devices<br>-chroot dir     chroot to dir just before starting the VM<br>-runas user     change to user id user just before starting the VM<br>-sandbox <arg>  Enable seccomp mode 2 system call filter (default 'off').<br>

-readconfig <file><br>-writeconfig <file><br>                read/write config file<br>-nodefconfig<br>                do not load default config files at startup<br>-no-user-config<br>                do not load user-provided config files at startup<br>

-trace [events=<file>][,file=<file>]<br>                specify tracing options<br>-qtest CHR      specify tracing options<br>-qtest-log LOG  specify tracing options<br>-enable-fips    enable FIPS 140-2 compliance<br>

-no-kvm         disable KVM hardware virtualization<br>-no-kvm-irqchip disable KVM kernel mode PIC/IOAPIC/LAPIC<br>-no-kvm-pit     disable KVM kernel mode PIT<br>-no-kvm-pit-reinjection<br>                disable KVM kernel mode PIT interrupt reinjection<br>

<br>During emulation, the following keys are useful:<br>ctrl-alt-f      toggle full screen<br>ctrl-alt-n      switch to virtual console 'n'<br>ctrl-alt        toggle mouse and keyboard grab<br><br>When using -nographic, press 'ctrl-a h' to get some help.<br>

spanhal1@seclab2:/usr/bin$<br><br><br></div><div>Thanks,<br>Sanket<br></div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 13, 2014 at 3:47 AM, Claudio Bley <span dir="ltr"><<a href="mailto:cbley@av-test.de" target="_blank">cbley@av-test.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi.<br>
<br>
At Thu, 12 Jun 2014 16:51:11 -0400,<br>
<div class="">Sanket Panhale wrote:<br>
><br>
> Libvirt log:<br>
><br>
> 2014-06-12 20:06:24.033+0000: 1305: error : virCommandWait:2188 : internal<br>
> error Child process (LC_ALL=C<br>
> PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin<br>
> /usr/local/bin/qemu-system-x86_64 -help) status unexpected: exit status 1<br>
> 2014-06-12 20:06:24.034+0000: 1305: error : virCommandWait:2188 : internal<br>
> error Child process (LC_ALL=C<br>
> PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin<br>
> /usr/local/bin/qemu-system-x86_64 -help) status unexpected: exit status 1<br>
<br>
</div>First, you should find out why the "qemu-system-x86_64 -help" command<br>
returns status 1 and fix that. Run that command manually and you might<br>
get a clue.<br>
<span class="HOEnZb"><font color="#888888"><br>
Claudio<br>
</font></span></blockquote></div><br></div>