[Qemu-devel] [PATCH] configure: show debug-info option in --help output

2013-03-24 Thread riegamaths
From: Dunrong Huang huan...@cloud-times.com --enable-debug-info and --disable-debug-info were not shown in --help output. Signed-off-by: Dunrong Huang huan...@cloud-times.com --- configure | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure b/configure index f2af714..61e71fa 100755

[Qemu-devel] [PATCH] block: output more error messages if failed to create temporary snapshot

2012-09-05 Thread riegamaths
From: Dunrong Huang riegama...@gmail.com If we failed to create temporary snapshot, the error message did not match with the error, for example: $ TMPDIR=/tmp/bad_path qemu-system-x86_64 -enable-kvm debian.qcow2 -snapshot qemu-system-x86_64: -enable-kvm: could not open disk image

[Qemu-devel] [PATCH v2] block: output more error messages if failed to create temporary snapshot

2012-09-05 Thread riegamaths
From: Dunrong Huang riegama...@gmail.com If we failed to create temporary snapshot, the error message did not match with the error, for example: $ TMPDIR=/tmp/bad_path qemu-system-x86_64 -enable-kvm debian.qcow2 -snapshot qemu-system-x86_64: -enable-kvm: could not open disk image

[Qemu-devel] [PATCH v3] block: output more error messages if failed to create temporary snapshot

2012-09-05 Thread riegamaths
From: Dunrong Huang riegama...@gmail.com If we failed to create temporary snapshot, the error message did not match with the error, for example: $ TMPDIR=/tmp/bad_path qemu-system-x86_64 -enable-kvm debian.qcow2 -snapshot qemu-system-x86_64: -enable-kvm: could not open disk image

[Qemu-devel] [PATCH] block: Don't forget to delete temporary file

2012-09-05 Thread riegamaths
From: Dunrong Huang riegama...@gmail.com The caller would not delete temporary file after failed get_tmp_filename(). Signed-off-by: Dunrong Huang riegama...@gmail.com --- block.c | 6 +- 1 个文件被修改,插入 5 行(+),删除 1 行(-) diff --git a/block.c b/block.c index 074987e..2bc9f75 100644 --- a/block.c

[Qemu-devel] [PATCH] qxl: dont update invalid area

2012-08-30 Thread riegamaths
From: Dunrong Huang riegama...@gmail.com This patch fixes the following error: $ ~/usr/bin/qemu-system-x86_64 -enable-kvm -m 1024 -spice port=5900,disable-ticketing -vga qxl -cdrom ~/Images/linuxmint-13-mate-dvd-32bit.iso (/home/mathslinux/usr/bin/qemu-system-x86_64:10068):

[Qemu-devel] [RESEND PATCH] vl.c: Exit QEMU early if no machine is found

2012-08-09 Thread riegamaths
From: Dunrong Huang riegama...@gmail.com We check whether the variable machine is NULL or not before accessing it. If machine is NULL, exit QEMU with an error, this can avoids a segfault error. Signed-off-by: Dunrong Huang riegama...@gmail.com --- vl.c | 10 +- 1 files changed, 5

[Qemu-devel] [PATCH] build: Fix build breakage detected by buildbot

2012-08-04 Thread riegamaths
From: Dunrong Huang riegama...@gmail.com More details: http://buildbot.b1-systems.de/qemu/builders/xen_unstable/builds/83/steps/compile/logs/stdio VLANState has been removed since commit a005d07, so vlan id should be fetched using net_hub_id_for_client(). Signed-off-by: Dunrong Huang

[Qemu-devel] [PATCH v2] kvm: Check if smp_cpus exceeds max cpus supported by kvm

2012-07-31 Thread riegamaths
From: Dunrong Huang riegama...@gmail.com Add a helper function for fetching max cpus supported by kvm. Make QEMU exit with an error message if smp_cpus exceeds limit of VCPU count retrieved by invoking this helper function. Signed-off-by: Dunrong Huang riegama...@gmail.com --- v1 - v2: * Fix

[Qemu-devel] [PATCH v3] kvm: Check if smp_cpus exceeds max cpus supported by kvm

2012-07-31 Thread riegamaths
From: Dunrong Huang riegama...@gmail.com Add a helper function for fetching max cpus supported by kvm. Make QEMU exit with an error message if smp_cpus exceeds limit of VCPU count retrieved by invoking this helper function. Signed-off-by: Dunrong Huang riegama...@gmail.com --- v1 - v2: * Fix

[Qemu-devel] [PATCH] kvm: Check if smp_cpus exceeds max cpus supported by kvm

2012-07-30 Thread riegamaths
From: Dunrong Huang riegama...@gmail.com Add a helper function for fetching max cpus supported by kvm. Make QEMU exit with an error message if smp_cpus exceeds limit of VCPU count retrieved by invoking this helper function. Signed-off-by: Dunrong Huang riegama...@gmail.com --- kvm-all.c | 25

[Qemu-devel] [PATCH] build: Fix linking failure for qemu-ga

2012-07-28 Thread riegamaths
From: Dunrong Huang riegama...@gmail.com This patch will fix the following linking failed: LINK qemu-ga gcc: error: qga/../qapi-generated/qga-qapi-types.o: No such file or directory gcc: error: qga/../qapi-generated/qga-qapi-visit.o: No such file or directory gcc: error:

[Qemu-devel] [PATCH v2] vl.c: Fix max_cpus

2012-07-25 Thread riegamaths
From: Dunrong Huang riegama...@gmail.com The VCPU count limit in kernel now is 254, defined by KVM_MAX_VCPUS in kernel's header files. But the count limit in QEMU is 255, so QEMU will failed to start if user passes -enable-kvm and -smp 255 to it. Exit QEMU with an error if KVM is enabled and

[Qemu-devel] [PATCH] pc: Fix max_cpus

2012-07-23 Thread riegamaths
From: Dunrong Huang riegama...@gmail.com The VCPU count limit in kernel now is 254, defined by KVM_MAX_VCPUS in kernel's header files. But the count limit in QEMU is 255, so QEMU will failed to start if user passes -enable-kvm and -smp 255 to it. This patch intruduces a Macro MAX_VCPUS whose

[Qemu-devel] [PATCH] vl.c: Exit QEMU early if no machine is found

2012-07-23 Thread riegamaths
From: Dunrong Huang riegama...@gmail.com We check whether the variable machine is NULL or not before accessing it. If machine is NULL, exit QEMU with an error, this can avoids a segfault error. Signed-off-by: Dunrong Huang riegama...@gmail.com --- vl.c | 10 +- 1 files changed, 5