[kvm-devel] [PATCH] janitorial: remove leftovers from merge conflict

2008-05-06 Thread Carlo Marcelo Arenas Belon
apparently harmless and unique Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- qemu/Makefile.target |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/qemu/Makefile.target b/qemu/Makefile.target index cc66651..bb4b9a3 100644 --- a/qemu/Makefile.target +++ b

Re: [kvm-devel] Extboot Option ROM rewritten in C - v3

2008-04-17 Thread Carlo Marcelo Arenas Belon
On Thu, Apr 17, 2008 at 10:30:27AM +0900, Nguyen Anh Quynh wrote: +++ b/extboot/farvar.h @@ -0,0 +1,113 @@ +// Code to access multiple segments within gcc. +// +// Copyright (C) 2008 Kevin O'Connor [EMAIL PROTECTED] +// +// This file may be distributed under the terms of the GNU GPLv3 license.

[kvm-devel] [PATCH] qemu: avoid returning uninitialized value in apic_mem_readl

2008-04-06 Thread Carlo Marcelo Arenas Belon
complement 64173d009c1f4d163c425b14aa650df5b982428a to avoid : kvm-65/qemu/hw/apic.c: In function `apic_mem_readl': kvm-65/qemu/hw/apic.c:592: warning: 'val' might be used uninitialized in this function Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- qemu/hw/apic.c |1

Re: [kvm-devel] [PATCH 5/5] qemu: ARRAY_SIZE redefined

2008-03-28 Thread Carlo Marcelo Arenas Belon
On Fri, Mar 28, 2008 at 10:04:21AM +0300, Avi Kivity wrote: Carlo Marcelo Arenas Belon wrote: qemu/qemu-kvm-x86.c:23:1: warning: ARRAY_SIZE redefined In file included from ../cpu-defs.h:30, from /var/tmp/portage/app-emulation/kvm-64/work/kvm-64/qemu

[kvm-devel] [PATCH] qemu: use ARRAY_SIZE macro as provided by osdep.h

2008-03-28 Thread Carlo Marcelo Arenas Belon
, from qemu/qemu-kvm-x86.c:13: ../osdep.h:30:1: warning: this is the location of the previous definition Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- qemu/qemu-kvm-x86.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/qemu/qemu-kvm-x86.c b/qemu/qemu-kvm

[kvm-devel] [PATCH] qemu: remove conflicting dependency to linux/pci.h

2008-03-28 Thread Carlo Marcelo Arenas Belon
/hw/pci.h:6, from qemu/hw/cirrus_vga.c:31: /usr/include/linux/pci_regs.h:40:1: warning: this is the location of the previous definition Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- qemu/hw/pci.h |6 -- 1 files changed, 4 insertions(+), 2

[kvm-devel] [PATCH 0/5] trivial fixes to silence compilation warnings

2008-03-27 Thread Carlo Marcelo Arenas Belon
The following series contains unrelated patches with fixes to compilation warnings added since kvm-63; because of redefined macros, undefined functions or mismatched pointer types. PATCH 1/5 : libkvm: missing declaration for kvm_disable_pit_creation PATCH 2/5 : qemu: cpu_model is a constant

[kvm-devel] [PATCH 5/5] qemu: ARRAY_SIZE redefined

2008-03-27 Thread Carlo Marcelo Arenas Belon
-64/work/kvm-64/qemu/hw/hw.h:5, from /var/tmp/portage/app-emulation/kvm-64/work/kvm-64/qemu/qemu-kvm-x86.c:13: ../osdep.h:30:1: warning: this is the location of the previous definition Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- qemu/qemu-kvm-x86.c |2 ++ 1

Re: [kvm-devel] KVM-63 - ncurses

2008-03-06 Thread Carlo Marcelo Arenas Belon
On Thu, Mar 06, 2008 at 12:32:58AM -0800, Alexey Eremenko wrote: I have a big problem with ncurses - once the VM enters Graphics Mode, it cannot be killed with start Linux command: ctrl+C - tried from KDE Konsole. It can be killed only using kill. using xterm over pekwm (which

[kvm-devel] [PATCH] qemu: keep cpu_model as a constant string

2008-03-05 Thread Carlo Marcelo Arenas Belon
Fixes : qemu/hw/pc.c: In function `pc_init1': qemu/hw/pc.c:1029: warning: passing arg 1 of `qemu_system_hot_add_init' discards qualifiers from pointer target type Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- qemu/hw/acpi.c |4 ++-- qemu/sysemu.h |2 +- 2 files

[kvm-devel] [PATCH] qemu: implicit precedence for logical operator in has_work

2008-02-20 Thread Carlo Marcelo Arenas Belon
janitorial fix for : qemu/qemu-kvm.c: In function `has_work': qemu/qemu-kvm.c:140: warning: suggest parentheses around within || Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- qemu/qemu-kvm.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/qemu

Re: [kvm-devel] [ANNOUNCE] kvm-61 release

2008-02-19 Thread Carlo Marcelo Arenas Belon
On Tue, Feb 19, 2008 at 05:23:58PM +0200, Avi Kivity wrote: - e1000 pxe boot rom (Alexey Eremenko) what specific NIC/ROM type and version was added for kvm-61?, if the ROM came from ROM-o-matic version 5.4.3 (while all others are from 5.4.2) could that be spelled as well in qemu/pc-bios/README?

Re: [kvm-devel] [PATCH] kvm: testsuite: silence warnings on x86_64

2008-01-31 Thread Carlo Marcelo Arenas Belon
On Thu, Jan 24, 2008 at 06:21:56PM +0200, Avi Kivity wrote: Bernhard Kaindl wrote: I did not test this patch as I did not find documentation on how to run the test cases and I could not find a make target to run them from make. make -C user test_cases user/kvmctl

[kvm-devel] [PATCH 0/2] testsuite: fixes for smp compilation issues

2008-01-31 Thread Carlo Marcelo Arenas Belon
The following series fixes the last remaining warning from the testsuite in x86 and together with it the make rules for building the other test case affected by this changes : PATCH 1/2 : make smp_init parameter be a function that returns int PATCH 2/2 : fix building smp.flat Tested in

[kvm-devel] [PATCH 1/2] testsuite: make smp_init parameter be a function that returns int

2008-01-31 Thread Carlo Marcelo Arenas Belon
Fixes : test/x86/access.c:577: warning: passing argument 1 of 'smp_init' from incompatible pointer type Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- user/test/x86/lib/smp.c |4 ++-- user/test/x86/lib/smp.h |2 +- user/test/x86/smptest.c |3 ++- 3 files changed

[kvm-devel] [PATCH] bios: fix for parallel build (make -j2)

2008-01-30 Thread Carlo Marcelo Arenas Belon
prevents reusing tmp.bin for both BIOS-bochs-legacy and BIOS-bochs-latest targets. committed upstream in revision 1.27 of Makefile.in to fix bug 1799877. patch applied as well to generated Makefile. Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- bios/Makefile|4

Re: [kvm-devel] [RFC][PATCH 0/2]In-kernel PIT model

2008-01-21 Thread Carlo Marcelo Arenas Belon
On Mon, Jan 21, 2008 at 05:18:21PM +0800, Yang, Sheng wrote: The patch works well on IA32e host(passed 2.6.22, 2.6.20, 2.6.18, 2.6.16 with hpet=disable, 2.6.9 with clock=pit), slightly off-topic but how you got around on building KVM and loading it with the undefined symbols from hpet

Re: [kvm-devel] [PATCH] qemu: fix some warnings

2008-01-21 Thread Carlo Marcelo Arenas Belon
On Mon, Jan 21, 2008 at 01:46:11PM +0100, Jan Kiszka wrote: Here are 4 more warnings fixes (actually, I should sent 2 of them to qemu...). Nothing critical, just less noise during compilation. probably a good idea having them in independent patches as they are unrelated (other by the fact that

[kvm-devel] [PATCH 1/2] Revert kvm: qemu: GET_CONFIGURATION fixes to allow OpenSolaris CD-ROM access

2008-01-14 Thread Carlo Marcelo Arenas Belon
This reverts commit b64c20519d5826875679b6df85afebed27e1a9a8. Conflicts: qemu/hw/ide.c (keep uint64_t total_sectors) Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- qemu/hw/ide.c | 27 --- 1 files changed, 8 insertions(+), 19 deletions(-) diff

[kvm-devel] [PATCH 2/2] qemu: Multi-profile DVD-ROM support

2008-01-14 Thread Carlo Marcelo Arenas Belon
This is version 2.2 of the original patch proposed to fix the MMC6 command for GET CONFIGURATION for multi profile CD/DVD support and that was originally committed as b64c20519d5826875679b6df85afebed27e1a9a8 cvs -q diff -up -r1.79 -r1.80 hw/ide.c Signed-off-by: Carlo Marcelo Arenas Belon

Re: [kvm-devel] boot stops after console handover?

2008-01-12 Thread Carlo Marcelo Arenas Belon
On Sat, Jan 12, 2008 at 11:01:28PM +0200, Avi Kivity wrote: Antoine Martin wrote: FYI, just tried building 2.6.24-rc7-git4 and got this warning: (...) LD vmlinux.o MODPOST vmlinux.o WARNING: vmlinux.o(.text+0x2cb657): Section mismatch: reference to

Re: [kvm-devel] boot stops after console handover?

2008-01-12 Thread Carlo Marcelo Arenas Belon
On Sun, Jan 13, 2008 at 01:19:13AM +, Antoine Martin wrote: Carlo Marcelo Arenas Belon wrote: On Sat, Jan 12, 2008 at 11:01:28PM +0200, Avi Kivity wrote: Antoine Martin wrote: FYI, just tried building 2.6.24-rc7-git4 and got this warning: (...) Probably harmless, but worth

Re: [kvm-devel] boot stops after console handover?

2008-01-12 Thread Carlo Marcelo Arenas Belon
On Sat, Jan 12, 2008 at 06:07:19PM +, Antoine Martin wrote: If that doesn't work, maybe you can upload an image for me to debug. http://194.145.196.85/kvm/vmlinuz-2.6.24-rc7.bz2 Any luck? Any other ideas for me to try? see if the problem goes away with -no-kvm-irqchip and using

Re: [kvm-devel] boot stops after console handover?

2008-01-07 Thread Carlo Marcelo Arenas Belon
On Mon, Jan 07, 2008 at 07:30:44PM +, Antoine Martin wrote: Avi Kivity wrote: Antoine Martin wrote: Hi, Trying to boot KVM on a Core2Duo system, kvm-59 + linux-2.6.23.12 Booting with: qemu-system-x86_64 -hda /home/uml/BusyBox-1.5.0-amd64-root_fs -m 384 - -nographic -cpu qemu64

Re: [kvm-devel] [PATCH 02/33] KVM: MMU: emulated cmpxchg8b should be atomic on i386

2008-01-06 Thread Carlo Marcelo Arenas Belon
On Sun, Jan 06, 2008 at 04:39:08PM +0200, Avi Kivity wrote: From: Marcelo Tosatti [EMAIL PROTECTED] Emulate cmpxchg8b atomically on i386. This is required to avoid a guest pte walker from seeing a splitted write. [avi: make it compile] Signed-off-by: Marcelo Tosatti [EMAIL PROTECTED]

[kvm-devel] [PATCH] vgabios: include string.h in biossums.c for memset declaration

2008-01-06 Thread Carlo Marcelo Arenas Belon
Fixes : biossums.c: In function 'main': biossums.c:62: warning: incompatible implicit declaration of built-in function 'memset Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- vgabios/biossums.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/vgabios

Re: [kvm-devel] [PATCH] kvm/qemu: Fix ia64 build broken.

2008-01-05 Thread Carlo Marcelo Arenas Belon
On Sun, Jan 06, 2008 at 02:06:00AM +0100, Miklos Vajna wrote: On Jan 01, 2007, Zhang, Xiantao wrote: Thank you for reporting this issue. I will fix it later. libqemu.a(kvm-tpr-opt.o): In function `enable_vapic': /house/cmarenas/kvm-58/qemu/kvm-tpr-opt.c:221: undefined reference to

[kvm-devel] [PATCH] qemu: use statically allocate 512 byte buffer in the stack for sector in bdrv_commit

2008-01-03 Thread Carlo Marcelo Arenas Belon
of `bdrv_read' from incompatible pointer type block.c:484: warning: passing arg 3 of `bdrv_write' from incompatible pointer type Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- qemu/block.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/qemu/block.c b/qemu

[kvm-devel] [PATCH] MMU: fix cmpxchg8b emulation on i386 to use the right address

2008-01-03 Thread Carlo Marcelo Arenas Belon
.c:1746: warning: 'addr' is used uninitialized in this function Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- arch/x86/kvm/x86.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index c5b4825..abe08d1 100644

Re: [kvm-devel] [PATCH] MMU: fix cmpxchg8b emulation on i386 to use the right address

2008-01-03 Thread Carlo Marcelo Arenas Belon
On Fri, Jan 04, 2008 at 12:57:49AM -0600, Carlo Marcelo Arenas Belon wrote: change the function parameter to use vaddr instead of addr to avoid a variable name redefinition from 9a5ee611ca79bec98e9d97e93f11df8083b8af6e this implementation has been already patched 6 times (not including this one

Re: [kvm-devel] vgabios and other guest related firmware

2008-01-02 Thread Carlo Marcelo Arenas Belon
On Wed, Jan 02, 2008 at 04:14:53PM +0800, Zhang, Xiantao wrote: Carlo Marcelo Arenas Belon wrote: I'll let the specifics to all the portability interested parties (I mostly use PC) but would suspect something similar to the work done for the code should be most likely what is needed

Re: [kvm-devel] vgabios and other guest related firmware

2008-01-02 Thread Carlo Marcelo Arenas Belon
On Wed, Jan 02, 2008 at 05:46:04PM +0800, Zhang, Xiantao wrote: Avi Kivity wrote: Carlo Marcelo Arenas Belon wrote: We also need to upload the ia64 firmware for kvm, and make it available for users use. At least, we need to provide the binary. beware that actually providing

[kvm-devel] [PATCH 0/5] configure passthrough for qemu

2008-01-02 Thread Carlo Marcelo Arenas Belon
The following patch series implement a configure passthrough for qemu so that all available configure options in qemu can be used through kvm. This includes all suggestions from the 3 first RFC and complements the patches that were needed from qemu's side and that were brought back through the

[kvm-devel] [PATCH 1/5] Revert kvm: configure: qemu vnc-tls configure flag

2008-01-02 Thread Carlo Marcelo Arenas Belon
This reverts commit 49f7f1a96dce9d059d2d51d450c9d4bdd529c8fd. --- configure |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/configure b/configure index dadda8e..715e12f 100755 --- a/configure +++ b/configure @@ -7,7 +7,6 @@ qemu_cc= qemu_cflags= qemu_ldflags=

[kvm-devel] [PATCH 2/5] Revert kvm: configure: qemu alsa configure option

2008-01-02 Thread Carlo Marcelo Arenas Belon
This reverts commit d3bcc58f74b29df8496933c441640d9c739ba674. Conflicts: configure (remove hardcoded alsa flag but keep qemu_opts) Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- configure |9 ++--- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git

[kvm-devel] [PATCH 3/5] Revert kvm: configure: support --disable-gcc-check

2008-01-02 Thread Carlo Marcelo Arenas Belon
This reverts commit 0d354fe9d8eaee1b3abc9dee7824021edb9f4976. Conflicts: configure (keep --disable-gcc-check usage) Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- configure |5 - 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/configure b

[kvm-devel] [PATCH 4/5] configure: use passthrough for all unknown options into qemu

2008-01-02 Thread Carlo Marcelo Arenas Belon
uses qemu to generate a hopefully complete usage in case of error Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- configure | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/configure b/configure index 50a0e90..0464456 100755 --- a/configure +++ b

Re: [kvm-devel] [PATCH] kvm/qemu: Fix ia64 build broken.

2008-01-01 Thread Carlo Marcelo Arenas Belon
On Tue, Jan 01, 2008 at 06:37:23PM +0200, Avi Kivity wrote: Carlo Marcelo Arenas Belon wrote: if nothing is available hp's testdrive have some itanium systems that could be used at least to validate the userspace part builds (as I did) : http://www.testdrive.hp.com/systems/itanium.shtml

Re: [kvm-devel] [PATCH] kvm/qemu: Fix ia64 build broken.

2007-12-31 Thread Carlo Marcelo Arenas Belon
On Fri, Dec 21, 2007 at 10:58:23PM +0800, Zhang, Xiantao wrote: Due to last merge with Qemu upstream, some interfaces are changed, and leads to build fail kvm-58 as released doesn't build in ia64 either because of the tpr/vapic changes that were done at release date as shown by : gcc -Wl,-G0

[kvm-devel] [PATCH] libkvm: fix mungled default case for switch in kvm_arch_run

2007-12-27 Thread Carlo Marcelo Arenas Belon
by default instead of 1 and reporting the following warning at compile time : libkvm-x86.c:201:9: warning: extra tokens at end of #endif directive Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- libkvm/libkvm-x86.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff

[kvm-devel] [PATCH] libkvm: fix stack underflow in MMIO read write calls

2007-12-27 Thread Carlo Marcelo Arenas Belon
: warning: initialization from incompatible pointer type qemu/qemu-kvm.c:532: warning: initialization from incompatible pointer type qemu/qemu-kvm.c:533: warning: initialization from incompatible pointer type Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- qemu/qemu-kvm.c |6

[kvm-devel] [PATCH] external module: remove define for MAX_IO_APICS

2007-12-25 Thread Carlo Marcelo Arenas Belon
This reverts commit a2c1905ff7c6faf9253d4185952a5b85036114f7. It was made obsolete by 3f5daaafad51a2b75171c2a93a28cc55ce205cae and would redefine MAX_IO_APIC to a smaller value in amd64 that the one used by asm/apicdef.h for non SMP kernels 2.6.21 Signed-off-by: Carlo Marcelo Arenas Belon

[kvm-devel] [PATCH] external module: remove tmp directory once done with sync

2007-12-22 Thread Carlo Marcelo Arenas Belon
This patch complements 684c6426c5d58f01f45cd45420df96c837d0feb4 by deleting the tmp directory once the merge is completed so that it doesn't get included by mistake in the release package Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- kernel/Makefile |1 + 1 files changed

[kvm-devel] [PATCH 9/9] qemu: re-add missing definitions for qemu_get_launch_info

2007-12-21 Thread Carlo Marcelo Arenas Belon
`qemu_get_launch_info' Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- qemu/sysemu.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/qemu/sysemu.h b/qemu/sysemu.h index 8068b8f..d0f4058 100644 --- a/qemu/sysemu.h +++ b/qemu/sysemu.h @@ -44,6 +44,9

[kvm-devel] [PATCH 6/9] qemu: add missing definition for bdrv_flush_all

2007-12-21 Thread Carlo Marcelo Arenas Belon
The following patch fixes : qemu/migration.c:187: warning: implicit declaration of function `bdrv_flush_all' Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- qemu/block.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/qemu/block.h b/qemu/block.h

[kvm-devel] [PATCH 5/9] qemu: add missing definition for qemu_system_reset

2007-12-21 Thread Carlo Marcelo Arenas Belon
The following patch fixes : qemu/qemu-kvm.c:349: warning: implicit declaration of function `qemu_system_reset' Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- qemu/sysemu.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/qemu/sysemu.h b/qemu/sysemu.h

[kvm-devel] [PATCH 1/9] qemu: re-add missing definition for vmchannel_init

2007-12-21 Thread Carlo Marcelo Arenas Belon
`vmchannel_init' Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- qemu/sysemu.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/qemu/sysemu.h b/qemu/sysemu.h index 1f5b093..fe71e9c 100644 --- a/qemu/sysemu.h +++ b/qemu/sysemu.h @@ -140,6 +140,7 @@ extern int

[kvm-devel] [PATCH 8/9] qemu: re-add missing definitions for qemu_live_{savevm, loadvm}_state

2007-12-21 Thread Carlo Marcelo Arenas Belon
of function `qemu_live_savevm_state' qemu/migration.c:855: warning: implicit declaration of function `qemu_live_loadvm_state' Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- qemu/sysemu.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/qemu/sysemu.h b/qemu

[kvm-devel] [PATCH 0/9] qemu: missing definitions from qemu-cvs merge

2007-12-21 Thread Carlo Marcelo Arenas Belon
The following patch series fixes compilation warnings from kvm 57 triggered by 25a2e04e5689af63d104de2dea755f30bf643afd : PATCH 1/9 : fix definition for vmchannel_init in qemu/vl.c PATCH 2/9 : fix definition for migrate_incoming in qemu/vl.c PATCH 3/9 : fix definition for pci_hypercall_init

[kvm-devel] [PATCH 2/9] qemu: add migration.h to vl.c so that migrate_incoming is defined

2007-12-21 Thread Carlo Marcelo Arenas Belon
The following patch fixes : qemu/vl.c:9450: warning: implicit declaration of function `migrate_incoming' Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- qemu/vl.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/qemu/vl.c b/qemu/vl.c index 28c5df4

[kvm-devel] [PATCH 3/9] qemu: re-add missing definition for pci_hypercall_init

2007-12-21 Thread Carlo Marcelo Arenas Belon
`pci_hypercall_init' Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- qemu/sysemu.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/qemu/sysemu.h b/qemu/sysemu.h index fe71e9c..f1994ba 100644 --- a/qemu/sysemu.h +++ b/qemu/sysemu.h @@ -140,6 +140,7 @@ extern

[kvm-devel] [PATCH 4/9] qemu: re-add missing definitions for qemu_{shutdown, powerdown, reset}_requested

2007-12-21 Thread Carlo Marcelo Arenas Belon
`qemu_shutdown_requested' qemu/qemu-kvm.c:345: warning: implicit declaration of function `qemu_powerdown_requested' qemu/qemu-kvm.c:347: warning: implicit declaration of function `qemu_reset_requested' Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- qemu/sysemu.h |3

[kvm-devel] [PATCH 7/9] qemu: add missing definitions for monitor_{resume, suspend}

2007-12-21 Thread Carlo Marcelo Arenas Belon
The following patch fixes : qemu/migration.c:210: warning: implicit declaration of function `monitor_resume' qemu/migration.c:507: warning: implicit declaration of function `monitor_suspend' Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- qemu/console.h |2 ++ 1 files

[kvm-devel] mailman setup for kvm-devel (was Re: external module sched_in event)

2007-12-21 Thread Carlo Marcelo Arenas Belon
On Fri, Dec 21, 2007 at 07:22:57PM +0100, Andrea Arcangeli wrote: On Fri, Dec 21, 2007 at 07:52:52PM +0200, Izik Eidus wrote: oh, it was sent to the list, dont trust (in case you did) the source forge site for the mails But this time I received it in my kvm-devel folder... for some

[kvm-devel] [PATCH] external module: remove dependency on asm/io_apic.h

2007-12-19 Thread Carlo Marcelo Arenas Belon
Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- kernel/external-module-compat.h | 15 --- 1 files changed, 0 insertions(+), 15 deletions(-) diff --git a/kernel/external-module-compat.h b/kernel/external-module-compat.h index 1dc5a96..acd7ea5 100644 --- a/kernel/external

[kvm-devel] [PATCH] external module: define MAX_IO_APICS if missing

2007-12-19 Thread Carlo Marcelo Arenas Belon
Defines MAX_IO_APICS if not defined already with the same value used in asm/apicdef.h and which wasn't loaded for non-smp kernels before 2.6.21 Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- kernel/external-module-compat.h |5 + 1 files changed, 5 insertions(+), 0

[kvm-devel] [PATCH] external module: linux/string.h needed for kernel=2.6.16 to define strcmp and memcpy

2007-12-19 Thread Carlo Marcelo Arenas Belon
declaration Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- kernel/external-module-compat.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/kernel/external-module-compat.h b/kernel/external-module-compat.h index 3794a99..c6a7d03 100644 --- a/kernel/external-module

Re: [kvm-devel] README: How to run kvm guests on IA64

2007-12-19 Thread Carlo Marcelo Arenas Belon
On Wed, Dec 19, 2007 at 08:22:01PM +0800, Zhang, Xiantao wrote: KVM/IA64 HOWTO This is the notes about how to enalbe kvm on Itanium series of processors suppoting VT. Probably some tidbits of this should go into the kvm wiki in :

Re: [kvm-devel] [PATCH] [RESEND] libkvm: NULL pointer dereference in kvm_destroy_phys_mem as used in kvm-56

2007-12-19 Thread Carlo Marcelo Arenas Belon
On Tue, Dec 18, 2007 at 06:20:03PM +0200, Avi Kivity wrote: Carlo Marcelo Arenas Belon wrote: The following patch eliminates the uninitialized mem pointer, using instead the corresponding entry from the slots array to fix : libkvm.c:580: warning: 'mem' is used uninitialized

Re: [kvm-devel] [ANNOUNCE] kvm-57 release

2007-12-19 Thread Carlo Marcelo Arenas Belon
On Tue, Dec 18, 2007 at 06:15:07PM +0200, Avi Kivity wrote: The major focus for this release is a qemu-cvs merge, which brings many new features, some introduced by kvm developers. but didn't include my changes to the IDE emulation to allow for OpenSolaris guests to be installed (patch 1 and

[kvm-devel] [PATCH 0/2] qemu: IDE/ATAPI emulation fixes

2007-12-19 Thread Carlo Marcelo Arenas Belon
The following patch series implements fixes to the IDE/ATAPI emulation in qemu which affects access to the CD-ROM device preventing installation of OpenSolaris guests because of an incorrect implementation of the MMC6 GET_CONFIGURATION command when it was extended to also support a DVD-ROM

[kvm-devel] [PATCH 1/2] GET_CONFIGURATION fixes to allow OpenSolaris CD-ROM access

2007-12-19 Thread Carlo Marcelo Arenas Belon
if a profile is current (either CD or DVD loaded) * calculate data length including all headers * refactor code and add comments to help document references to all implemented standards (ATAPI-4, SPC-3 and MMC-6) Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- qemu/hw/ide.c | 27

[kvm-devel] [PATCH 2/2] use DVD-ROM as model name for INQUIRY and IDENTIFY DEVICE

2007-12-19 Thread Carlo Marcelo Arenas Belon
The following patch report model as DVD-ROM for INQUIRY and IDENTIFY DEVICE commands instead of CD-ROM to reflect that the device is now able to support DVDs Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- qemu/hw/ide.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions

[kvm-devel] [PATCH] [RESEND] libkvm: NULL pointer dereference in kvm_destroy_phys_mem as used in kvm-56

2007-12-18 Thread Carlo Marcelo Arenas Belon
: format '%llx' expects type 'long long unsigned int' , but argument 5 has type 'long unsigned int' Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- libkvm/libkvm.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/libkvm/libkvm.c b/libkvm/libkvm.c index

[kvm-devel] [RFC] external module: compatibility with older kernels (SMP and non SMP)

2007-12-18 Thread Carlo Marcelo Arenas Belon
The following patch (which is composed of 3 different patches from a series) has been validated to solve compilation issues observed with kvm-56 in x86 with kernels older than 2.6.21 and are posted here for testing and debate. The main points accomplished (in the same sequence that the snippets)

Re: [kvm-devel] [ANNOUNCE] kvm-56 release

2007-12-16 Thread Carlo Marcelo Arenas Belon
On Thu, Dec 13, 2007 at 03:32:46PM +0200, Avi Kivity wrote: Notes: If you use the modules bundled with kvm-56, you can use any version of Linux from 2.6.9 upwards. the external module (once patched) will only be able to build against 2.6.17 upwards because the in-kernel PIC/IOAPIC/LAPIC

Re: [kvm-devel] [PATCH] external module: include apicdef.h for kernel 2.6.21

2007-12-16 Thread Carlo Marcelo Arenas Belon
On Sun, Dec 16, 2007 at 01:56:06PM +0200, Avi Kivity wrote: Carlo Marcelo Arenas Belon wrote: The following patch fixes building the kvm module for kernels older than 2.6.21 and which were missing an include to asm/apicdef.h in asm/io_apic.h resulting in the following error

Re: [kvm-devel] [ANNOUNCE] kvm-56 release

2007-12-14 Thread Carlo Marcelo Arenas Belon
On Thu, Dec 13, 2007 at 05:06:41PM +0200, Avi Kivity wrote: Alexey Eremenko wrote: Yes, You're right, KVM-56 doesn't compiles on 32-bit systems. (tested on openSUSE 10.3, 32-bit) It compiles on 32-bit systems. It doesn't compile on 32-bit non-pae systems. gentoo non-pae kernels

Re: [kvm-devel] [ANNOUNCE] kvm-56 release

2007-12-14 Thread Carlo Marcelo Arenas Belon
On Thu, Dec 13, 2007 at 06:59:06AM -0800, Alexey Eremenko wrote: Yes, You're right, KVM-56 doesn't compiles on 32-bit systems. (tested on openSUSE 10.3, 32-bit) it compiles ok in Gentoo 2007.0 building against the last stable gentoo kernels 2.6.22 and 2.6.23 for x86 :

[kvm-devel] [PATCH] libkvm: null pointer dereference in kvm_destroy_phys_mem

2007-12-13 Thread Carlo Marcelo Arenas Belon
The following patch eliminates the uninitialized mem pointer in kvm_destroy_phys_mem and uses instead the corresponding entry from the slots array in the conditional to fix : libkvm.c:580: warning: 'mem' is used uninitialized in this function Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL

Re: [kvm-devel] How to handle kvm-abi-10 case for other archs.

2007-12-04 Thread Carlo Marcelo Arenas Belon
On Sat, Dec 01, 2007 at 12:10:16PM +0200, Avi Kivity wrote: Zhang, Xiantao wrote: Hi, Avi I think new archs for kvm doesn't need to care about kvm-abi case in their code, since current abi is bigger than 10. But in current libkvm.c, we can see that many abi-specific code in it. How to

[kvm-devel] [PATCH] Remove KVM specific defines for MSR_EFER from svm.c

2007-12-01 Thread Carlo Marcelo Arenas Belon
This patch removes the KVM specific defines for MSR_EFER that were being used in the svm support file and migrates all references to use instead the ones from the kernel headers that are used everywhere else and that have the same values. Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL

[kvm-devel] [PATCH 0/5] qemu: IDE/ATAPI emulation reliability fixes

2007-11-28 Thread Carlo Marcelo Arenas Belon
The following patch series implements fixes to the IDE/ATAPI emulation in qemu which are already committed upstream or proposed for inclusion; including 2 serious regressions that result in availability and data loss problems when using OpenSolaris or FreeBSD guests (at least) by the first 2:

[kvm-devel] [PATCH 1/5] qemu: GET_CONFIGURATION fixes for MMC-6 DVD-ROM implementation

2007-11-28 Thread Carlo Marcelo Arenas Belon
for the response if a profile is current (either CD or DVD loaded) * calculate data length including all headers * refactor code and add comments to help document references to all implemented standards (ATAPI-4, SPC-3 and MMC-6) Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- qemu/hw/ide.c

[kvm-devel] [PATCH 5/5] qemu: piix_pci: remove 82371FB support

2007-11-28 Thread Carlo Marcelo Arenas Belon
This patch removes support for 82371FB Step A1 (AKA triton) chips as they are superseded by 82371SB and are currently dead code as all other references were removed already from ide.c since revision 1.57 Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- qemu/hw/piix_pci.c | 25

[kvm-devel] [PATCH 3/5] qemu: piix_pci enable ACPI interrupts

2007-11-28 Thread Carlo Marcelo Arenas Belon
This patch enable ACPI interrupts, by Igor Lvovsky Originally from qemu CVS : cvs -q diff -r1.11 -r1.12 hw/piix_pci.c Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- qemu/hw/piix_pci.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/qemu/hw/piix_pci.c

[kvm-devel] [PATCH 2/5] qemu: revert ide sector write operation not to use AIO

2007-11-28 Thread Carlo Marcelo Arenas Belon
and OpenSolaris guests unless committed Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- qemu/hw/ide.c | 56 ++-- 1 files changed, 18 insertions(+), 38 deletions(-) diff --git a/qemu/hw/ide.c b/qemu/hw/ide.c index 29fc7a9..a8d4339 100644

[kvm-devel] [PATCH 4/5] qemu: ide INQUIRY and IDENTIFY DEVICE report DVD-ROM model

2007-11-28 Thread Carlo Marcelo Arenas Belon
This patch complements Partial IDE DVD emulation which was added in ide.c revision 1.66 so that the CD-ROM identifies itself as a DVD-ROM to INQUIRY and IDENTIFY DEVICE commands Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- qemu/hw/ide.c |4 ++-- 1 files changed, 2

Re: [kvm-devel] OpenSolaris 09/2007 (Sun Solaris Express)

2007-11-27 Thread Carlo Marcelo Arenas Belon
On Tue, Nov 27, 2007 at 10:22:57PM +0200, Avi Kivity wrote: magicboiz wrote: Well done Carlo. The patch works perfectly with my OpenSolaris and kvm-53. Good to know. Also tested it with Nexenta alpha 7, and Indiana and had it added as part of my gentoo package for kvm-54 attached

Re: [kvm-devel] OpenSolaris 09/2007 (Sun Solaris Express)

2007-11-26 Thread Carlo Marcelo Arenas Belon
On Wed, Oct 10, 2007 at 03:53:10PM +0200, magicboiz wrote: Sun Solaris Express(9/07), does not detect the hard disk..I attach an screenshot. from the screenshot it seems that the problem is not with the hard disk but with the cdrom. attached patch to qemu (not yet committed upstream) fixed

[kvm-devel] [PATCH] qemu: add definition for kvm_qemu_check_extension to qemu-kvm.h

2007-11-20 Thread Carlo Marcelo Arenas Belon
:727: warning: implicit declaration of function `kvm_qemu_check_extension' Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- qemu/qemu-kvm.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/qemu/qemu-kvm.h b/qemu/qemu-kvm.h index 6fdfc03..57f70ec 100644

[kvm-devel] [PATCH] [RESEND] qemu: simulate edge-triggered interrupt in master PIC for time-drift-fix

2007-11-17 Thread Carlo Marcelo Arenas Belon
-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- qemu/hw/i8259.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qemu/hw/i8259.c b/qemu/hw/i8259.c index 01447d7..60063d4 100644 --- a/qemu/hw/i8259.c +++ b/qemu/hw/i8259.c @@ -245,8 +245,8 @@ int pic_read_irq

Re: [kvm-devel] [ kvm-Bugs-1829614 ] ioapic.c:214: error: 'dest_LowestPrio' undeclared

2007-11-14 Thread Carlo Marcelo Arenas Belon
On Sat, Nov 10, 2007 at 11:19:01AM -0800, SourceForge.net wrote: Bugs item #1829614, was opened at 2007-11-10 21:19 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting:

[kvm-devel] [PATCH] qemu: simulate edge-triggered interrupt in master PIC for time-drift-fix

2007-11-09 Thread Carlo Marcelo Arenas Belon
Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- qemu/hw/i8259.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qemu/hw/i8259.c b/qemu/hw/i8259.c index 01447d7..60063d4 100644 --- a/qemu/hw/i8259.c +++ b/qemu/hw/i8259.c @@ -245,8 +245,8 @@ int pic_read_irq

Re: [kvm-devel] [RFC] qemu: simulate edge-triggered interrupt in master PIC for time-drift-fix

2007-11-09 Thread Carlo Marcelo Arenas Belon
. any one care to comment on any current users of tdf? and if there are none in the viability for removing it? Carlo On Fri, Nov 09, 2007 at 11:22:10AM -0600, Carlo Marcelo Arenas Belon wrote: The following patch fixes 1a483ef4040ed380bf69d684783d06a617073256 so that the parent PIC pointer is used

Re: [kvm-devel] [RFC] qemu: simulate edge-triggered interrupt in master PIC for time-drift-fix

2007-11-09 Thread Carlo Marcelo Arenas Belon
On Sat, Nov 10, 2007 at 12:35:34AM +0200, Dor Laor wrote: Carlo Marcelo Arenas Belon wrote: wrong patch, this was meant to go to the slave PIC, so it will use s-pics[1] instead of s-pics[0]. Why to the slave pic? Isn't the pit connected to line 0 of the master? yes, you are right

Re: [kvm-devel] [PATCH 11 of 17] Move msrs functions to libkvm-x86.c

2007-11-07 Thread Carlo Marcelo Arenas Belon
On Tue, Nov 06, 2007 at 10:48:52AM -0600, Jerone Young wrote: Move msrs functions to libkvm-x86.c This patch moves functions: kvm_msr_list move kvm_get_msrs move kvm_set_msrs the problem is that with this the definitions were moved as well from libkvm.h to kvm-x86.h which

[kvm-devel] [RFC v2] passthrough for configure options to qemu

2007-10-22 Thread Carlo Marcelo Arenas Belon
The following patch Implement a configure passthrough for qemu and migrate all current qemu specific configuration flags (enable-alsa, disable-vnc-tls and disable-gcc-check) to use it. It uses qemu's configure to get a list of hints for additional options to use and to keep backward compatible

Re: [kvm-devel] [RFC] passthrough for configure options to qemu

2007-10-22 Thread Carlo Marcelo Arenas Belon
On Mon, Oct 22, 2007 at 09:51:24PM +0200, Avi Kivity wrote: Carlo Marcelo Arenas Belon wrote: On Sun, Oct 21, 2007 at 01:25:34PM +0200, Avi Kivity wrote: Is it possible in case of a failure due to an unrecognized option to call out usage() instead of qemu's? not sure what you

[kvm-devel] [RFC v3] passthrough for configure options to qemu

2007-10-22 Thread Carlo Marcelo Arenas Belon
The following patch implement a configure passthrough for qemu and migrate all currently implemented qemu specific configuration flags (enable-alsa, disable-vnc-tls and disable-gcc-check) to use it. It uses qemu's configure to get a list of hints for additional options to use and to keep

[kvm-devel] [RFC] passthrough for configure options to qemu

2007-10-19 Thread Carlo Marcelo Arenas Belon
if that is the right approach since the wording with the corresponding qemu flags is different and the list is obviously never going to be all inclusive. Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- configure | 26 +++--- 1 files changed, 7 insertions(+), 19

Re: [kvm-devel] [PATCH 0/2] add flags for conditional compilation of qemu dependencies

2007-10-18 Thread Carlo Marcelo Arenas Belon
On Wed, Oct 17, 2007 at 06:55:02PM +0200, Avi Kivity wrote: Carlo Marcelo Arenas Belon wrote: This series adds options to kvm's configure that match the ones used by qemu to conditionally enable or disable options that alter its runtime dependencies and functionality, like for example

Re: [kvm-devel] [RFC] modular dependencies for kvm's qemu

2007-10-17 Thread Carlo Marcelo Arenas Belon
On Tue, Oct 16, 2007 at 10:36:03AM -0500, Carlo Marcelo Arenas Belon wrote: On Tue, Oct 16, 2007 at 04:20:37PM +0200, Avi Kivity wrote: Carlo Marcelo Arenas Belon wrote: It seems like rather a bad idea to suddenly switch the configure script defaults in the way you suggest for alsa

Re: [kvm-devel] [RFC] modular dependencies for kvm's qemu

2007-10-16 Thread Carlo Marcelo Arenas Belon
On Tue, Oct 16, 2007 at 02:39:30PM +0100, Daniel P. Berrange wrote: On Tue, Oct 16, 2007 at 04:22:14AM -0500, Carlo Marcelo Arenas Belon wrote: I am curious if the approach taken for alsa (which is the one that fits what qemu's configure allows for this case) is acceptable

Re: [kvm-devel] [RFC] modular dependencies for kvm's qemu

2007-10-16 Thread Carlo Marcelo Arenas Belon
On Tue, Oct 16, 2007 at 04:20:37PM +0200, Avi Kivity wrote: Carlo Marcelo Arenas Belon wrote: It seems like rather a bad idea to suddenly switch the configure script defaults in the way you suggest for alsa. It really wouldn't be much harder to set enable_alsa=1 in the top of configure

Re: [kvm-devel] [PATCH] Abort if gcc4 was used to compile qemu and kvm is not enabled

2007-10-09 Thread Carlo Marcelo Arenas Belon
On Mon, Oct 08, 2007 at 02:29:32PM -0500, Anthony Liguori wrote: Eventually, KVM will merge with upstream QEMU. In that case, many people will be using QEMU without the desiring to use KVM. We don't want to introduce behavior in QEMU that is unmergable with upstream QEMU b/c that will

Re: [kvm-devel] [RFC] let kvm be compiled with gcc4 and prevent users to shoot themselves in the foot while doing so (was Re: [ kvm-Bugs-1807620 ] KVM's --disable-gcc-check doesn't work)

2007-10-08 Thread Carlo Marcelo Arenas Belon
On Sun, Oct 07, 2007 at 06:18:27PM -0400, Jim Paris wrote: + if test $check_gcc = no ; then +if gcc -v 21 | grep -q 'gcc *version *4\.[0-3]\.[0-9]'; then + echo #define USE_GCC4 1 $config_h +fi + fi Something like #if __GNUC__ = 4 in the code would be simpler.

[kvm-devel] [PATCH] Allow users to override compiler checks for gcc3 by only using --disable-gcc-check as done in qemu

2007-10-08 Thread Carlo Marcelo Arenas Belon
sourceforge bug id 1807620 Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- configure |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/configure b/configure index d9292fe..33a56d2 100755 --- a/configure +++ b/configure @@ -63,8 +63,12 @@ while [[ $1

[kvm-devel] [PATCH] Abort if gcc4 was used to compile qemu and kvm is not enabled

2007-10-08 Thread Carlo Marcelo Arenas Belon
. This is not meant to be used in the long run when a solution to qemu's use of gcc-3.x for code generation is finally resolved upstream, which is why it is kept inside the KVM specific sections of the code only. Signed-off-by: Carlo Marcelo Arenas Belon [EMAIL PROTECTED] --- qemu/vl.c | 10

[kvm-devel] [RFC] let kvm be compiled with gcc4 and prevent users to shoot themselves in the foot while doing so (was Re: [ kvm-Bugs-1807620 ] KVM's --disable-gcc-check doesn't work)

2007-10-07 Thread Carlo Marcelo Arenas Belon
On Thu, Oct 04, 2007 at 04:39:30PM -0400, Gregory Haskins wrote: On Thu, 2007-10-04 at 21:49 +0200, Farkas Levente wrote: here i mean that packaging kvm for fedora/redhat/centos using gcc-4.x in stead of gcc-3.x. if currently there is no reason to use gcc-3.x than i change all of my spec

  1   2   >