qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [Bug 1159605] Re: run command hangs using "-M none"


From: Shehbaz Jaffer
Subject: [Qemu-devel] [Bug 1159605] Re: run command hangs using "-M none"
Date: Mon, 25 Mar 2013 08:29:02 -0000

Hi,

Please see notes about all the commands that you are mentioning in the
bug :

1. qemu-system-x86_64 -enable-kvm -S -no-user-config -nodefaults
-nographic -machine none,kernel_irqchip=on -monitor
unix:/var/lib/libvirt/qemu/capabilities.monitor.sock,server,nowait
-pidfile /var/lib/libvirt/qemu/capabilities.pidfile

starts a dumb qemu monitor interface. You can see that by removing the
-nographic option and using the command as follows:

qemu-system-x86_64 -enable-kvm -S -no-user-config -nodefaults -machine
none,kernel_irqchip=on -monitor
unix:/var/lib/libvirt/qemu/capabilities.monitor.sock,server,nowait
-pidfile /var/lib/libvirt/qemu/capabilities.pidfile

2.  qemu-system-x86_64 -enable-kvm -S -no-user-config -nodefaults
-nographic -M none -monitor
unix:/var/lib/libvirt/qemu/capabilities.monitor.sock,server,nowait
-pidfile /var/lib/libvirt/qemu/capabilities.pidfile

same as first. except that you are giving memory paramter as -M none. It
defaults to 128 MB memory.

3. qemu-system-x86_64 -enable-kvm -S -no-user-config -nodefaults
-nographic -M none,kernel_irqchip=on -monitor
unix:/var/lib/libvirt/qemu/capabilities.monitor.sock,server,nowait
-pidfile /var/lib/libvirt/qemu/capabilities.pidfile

This command will not work as kernel_irqchip and M are two different options:
1. kernel_irqchip is a -machine paramter (check qemu-system-x86_64 -help). 
2. -M is the memory parameter, where you specify how much memory has to be used 
by your VM. 
Hence you should get the following warning like I get when I run your command:

Supported machines are:
none                 empty machine
pc                   Standard PC (i440FX + PIIX, 1996) (alias of pc-i440fx-1.4)
pc-i440fx-1.4        Standard PC (i440FX + PIIX, 1996) (default)
pc-1.3               Standard PC
pc-1.2               Standard PC
pc-1.1               Standard PC
pc-1.0               Standard PC
pc-0.15              Standard PC
pc-0.14              Standard PC
pc-0.13              Standard PC
pc-0.12              Standard PC
pc-0.11              Standard PC, qemu 0.11
pc-0.10              Standard PC, qemu 0.10
isapc                ISA-only PC
q35                  Standard PC (Q35 + ICH9, 2009) (alias of pc-q35-1.4)
pc-q35-1.4           Standard PC (Q35 + ICH9, 2009)

4. the 4th command would also give you a error. Please see help to
clearify where you should be using ',' and '-' as delimiters. Rest
assured, the argument passing of qemu is done using optarg() which is a
pretty stable function.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1159605

Title:
  run command hangs using "-M none"

Status in QEMU:
  New

Bug description:
  when i run following command, it just hangs there

  
  qemu-system-x86_64 -enable-kvm -S -no-user-config -nodefaults -nographic 
-machine none,kernel_irqchip=on -monitor 
unix:/var/lib/libvirt/qemu/capabilities.monitor.sock,server,nowait -pidfile 
/var/lib/libvirt/qemu/capabilities.pidfile

  OR

  qemu-system-x86_64 -enable-kvm -S -no-user-config -nodefaults
  -nographic -M none -monitor
  unix:/var/lib/libvirt/qemu/capabilities.monitor.sock,server,nowait
  -pidfile /var/lib/libvirt/qemu/capabilities.pidfile

  
  but blow command just fine

  
  qemu-system-x86_64 -enable-kvm -S -no-user-config -nodefaults -nographic -M 
none,kernel_irqchip=on  -monitor 
unix:/var/lib/libvirt/qemu/capabilities.monitor.sock,server,nowait -pidfile 
/var/lib/libvirt/qemu/capabilities.pidfile

  OR

  qemu-system-x86_64 -enable-kvm -S -no-user-config -nodefaults
  -nographic -M none,  -monitor
  unix:/var/lib/libvirt/qemu/capabilities.monitor.sock,server,nowait
  -pidfile /var/lib/libvirt/qemu/capabilities.pidfile


  I installed qemu-git version on gentoo with kernel 3.8.4 
  is this a bug???

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1159605/+subscriptions



reply via email to

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