* [PATCH 1/9] qemu: re-add missing definition for vmchannel_init
2007-12-21 12:25 [PATCH 0/9] qemu: missing definitions from qemu-cvs merge Carlo Marcelo Arenas Belon
@ 2007-12-21 12:29 ` Carlo Marcelo Arenas Belon
2007-12-21 12:31 ` [PATCH 2/9] qemu: add "migration.h" to vl.c so that migrate_incoming is defined Carlo Marcelo Arenas Belon
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Carlo Marcelo Arenas Belon @ 2007-12-21 12:29 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
The following patch re applies the definitions added to qemu/vl.h in
cbd2cefaf7b6185c3ebdb421a4cc4c363f6dbc39 and which were missed in merge
f4b21ce8084fc3ffcfc1a2b92bd26466700d3d40, resulting in the following
compilation warning :
qemu/vl.c:9378: warning: implicit declaration of function `vmchannel_init'
Signed-off-by: Carlo Marcelo Arenas Belon <carenas-kLeDWSohozoJb6fo7hG9ng@public.gmane.org>
---
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 drive_get_max_bus(BlockInterfaceType interface);
/* vmchannel devices */
#define MAX_VMCHANNEL_DEVICES 4
+void vmchannel_init(CharDriverState *hd, uint32_t deviceid, uint32_t index);
/* serial ports */
--
1.5.2.5
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
^ permalink raw reply related [flat|nested] 11+ messages in thread* [PATCH 2/9] qemu: add "migration.h" to vl.c so that migrate_incoming is defined
2007-12-21 12:25 [PATCH 0/9] qemu: missing definitions from qemu-cvs merge Carlo Marcelo Arenas Belon
2007-12-21 12:29 ` [PATCH 1/9] qemu: re-add missing definition for vmchannel_init Carlo Marcelo Arenas Belon
@ 2007-12-21 12:31 ` Carlo Marcelo Arenas Belon
2007-12-21 12:34 ` [PATCH 3/9] qemu: re-add missing definition for pci_hypercall_init Carlo Marcelo Arenas Belon
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Carlo Marcelo Arenas Belon @ 2007-12-21 12:31 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
The following patch fixes :
qemu/vl.c:9450: warning: implicit declaration of function `migrate_incoming'
Signed-off-by: Carlo Marcelo Arenas Belon <carenas-kLeDWSohozoJb6fo7hG9ng@public.gmane.org>
---
qemu/vl.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/qemu/vl.c b/qemu/vl.c
index 28c5df4..b84ddd5 100644
--- a/qemu/vl.c
+++ b/qemu/vl.c
@@ -37,6 +37,7 @@
#include "qemu-char.h"
#include "block.h"
#include "audio/audio.h"
+#include "migration.h"
#include "qemu-kvm.h"
#include <unistd.h>
--
1.5.2.5
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
^ permalink raw reply related [flat|nested] 11+ messages in thread* [PATCH 3/9] qemu: re-add missing definition for pci_hypercall_init
2007-12-21 12:25 [PATCH 0/9] qemu: missing definitions from qemu-cvs merge Carlo Marcelo Arenas Belon
2007-12-21 12:29 ` [PATCH 1/9] qemu: re-add missing definition for vmchannel_init Carlo Marcelo Arenas Belon
2007-12-21 12:31 ` [PATCH 2/9] qemu: add "migration.h" to vl.c so that migrate_incoming is defined Carlo Marcelo Arenas Belon
@ 2007-12-21 12:34 ` Carlo Marcelo Arenas Belon
2007-12-21 12:37 ` [PATCH 4/9] qemu: re-add missing definitions for qemu_{shutdown, powerdown, reset}_requested Carlo Marcelo Arenas Belon
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Carlo Marcelo Arenas Belon @ 2007-12-21 12:34 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
The following patch re applies the definitions added to qemu/vl.h in
2ea040d9b4a2f0642cb595898801d1abe6e47dc4 and which were missed in merge
f4b21ce8084fc3ffcfc1a2b92bd26466700d3d40, resulting in the following
compilation warning :
qemu/hw/pc.c:1028: warning: implicit declaration of function `pci_hypercall_init'
Signed-off-by: Carlo Marcelo Arenas Belon <carenas-kLeDWSohozoJb6fo7hG9ng@public.gmane.org>
---
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 int drive_get_max_bus(BlockInterfaceType interface);
/* vmchannel devices */
#define MAX_VMCHANNEL_DEVICES 4
+void pci_hypercall_init(PCIBus *bus);
void vmchannel_init(CharDriverState *hd, uint32_t deviceid, uint32_t index);
/* serial ports */
--
1.5.2.5
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
^ permalink raw reply related [flat|nested] 11+ messages in thread* [PATCH 4/9] qemu: re-add missing definitions for qemu_{shutdown, powerdown, reset}_requested
2007-12-21 12:25 [PATCH 0/9] qemu: missing definitions from qemu-cvs merge Carlo Marcelo Arenas Belon
` (2 preceding siblings ...)
2007-12-21 12:34 ` [PATCH 3/9] qemu: re-add missing definition for pci_hypercall_init Carlo Marcelo Arenas Belon
@ 2007-12-21 12:37 ` Carlo Marcelo Arenas Belon
2007-12-21 12:39 ` [PATCH 5/9] qemu: add missing definition for qemu_system_reset Carlo Marcelo Arenas Belon
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Carlo Marcelo Arenas Belon @ 2007-12-21 12:37 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
The following patch re applies the definitions added to qemu/vl.h in
469b506a270347a88d11c65392ac1df7b476d176 and which were missed in merge
f4b21ce8084fc3ffcfc1a2b92bd26466700d3d40, resulting in the following
compilation warnings :
qemu/qemu-kvm.c:343: warning: implicit declaration of function `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 <carenas-kLeDWSohozoJb6fo7hG9ng@public.gmane.org>
---
qemu/sysemu.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/qemu/sysemu.h b/qemu/sysemu.h
index f1994ba..b96ba79 100644
--- a/qemu/sysemu.h
+++ b/qemu/sysemu.h
@@ -30,6 +30,9 @@ void cpu_disable_ticks(void);
void qemu_system_reset_request(void);
void qemu_system_shutdown_request(void);
void qemu_system_powerdown_request(void);
+int qemu_shutdown_requested(void);
+int qemu_reset_requested(void);
+int qemu_powerdown_requested(void);
#if !defined(TARGET_SPARC)
// Please implement a power failure function to signal the OS
#define qemu_system_powerdown() do{}while(0)
--
1.5.2.5
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
^ permalink raw reply related [flat|nested] 11+ messages in thread* [PATCH 5/9] qemu: add missing definition for qemu_system_reset
2007-12-21 12:25 [PATCH 0/9] qemu: missing definitions from qemu-cvs merge Carlo Marcelo Arenas Belon
` (3 preceding siblings ...)
2007-12-21 12:37 ` [PATCH 4/9] qemu: re-add missing definitions for qemu_{shutdown, powerdown, reset}_requested Carlo Marcelo Arenas Belon
@ 2007-12-21 12:39 ` Carlo Marcelo Arenas Belon
2007-12-21 12:40 ` [PATCH 6/9] qemu: add missing definition for bdrv_flush_all Carlo Marcelo Arenas Belon
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Carlo Marcelo Arenas Belon @ 2007-12-21 12:39 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
The following patch fixes :
qemu/qemu-kvm.c:349: warning: implicit declaration of function `qemu_system_reset'
Signed-off-by: Carlo Marcelo Arenas Belon <carenas-kLeDWSohozoJb6fo7hG9ng@public.gmane.org>
---
qemu/sysemu.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/qemu/sysemu.h b/qemu/sysemu.h
index b96ba79..5f6db03 100644
--- a/qemu/sysemu.h
+++ b/qemu/sysemu.h
@@ -39,6 +39,7 @@ int qemu_powerdown_requested(void);
#else
void qemu_system_powerdown(void);
#endif
+void qemu_system_reset(void);
void cpu_save(QEMUFile *f, void *opaque);
int cpu_load(QEMUFile *f, void *opaque, int version_id);
--
1.5.2.5
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
^ permalink raw reply related [flat|nested] 11+ messages in thread* [PATCH 6/9] qemu: add missing definition for bdrv_flush_all
2007-12-21 12:25 [PATCH 0/9] qemu: missing definitions from qemu-cvs merge Carlo Marcelo Arenas Belon
` (4 preceding siblings ...)
2007-12-21 12:39 ` [PATCH 5/9] qemu: add missing definition for qemu_system_reset Carlo Marcelo Arenas Belon
@ 2007-12-21 12:40 ` Carlo Marcelo Arenas Belon
2007-12-21 12:41 ` [PATCH 7/9] qemu: add missing definitions for monitor_{resume, suspend} Carlo Marcelo Arenas Belon
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Carlo Marcelo Arenas Belon @ 2007-12-21 12:40 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
The following patch fixes :
qemu/migration.c:187: warning: implicit declaration of function `bdrv_flush_all'
Signed-off-by: Carlo Marcelo Arenas Belon <carenas-kLeDWSohozoJb6fo7hG9ng@public.gmane.org>
---
qemu/block.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/qemu/block.h b/qemu/block.h
index 839be90..1df6d1c 100644
--- a/qemu/block.h
+++ b/qemu/block.h
@@ -109,6 +109,8 @@ void bdrv_flush(BlockDriverState *bs);
#define BIOS_ATA_TRANSLATION_LARGE 3
#define BIOS_ATA_TRANSLATION_RECHS 4
+void bdrv_flush_all(void);
+
void bdrv_set_geometry_hint(BlockDriverState *bs,
int cyls, int heads, int secs);
void bdrv_set_type_hint(BlockDriverState *bs, int type);
--
1.5.2.5
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
^ permalink raw reply related [flat|nested] 11+ messages in thread* [PATCH 7/9] qemu: add missing definitions for monitor_{resume, suspend}
2007-12-21 12:25 [PATCH 0/9] qemu: missing definitions from qemu-cvs merge Carlo Marcelo Arenas Belon
` (5 preceding siblings ...)
2007-12-21 12:40 ` [PATCH 6/9] qemu: add missing definition for bdrv_flush_all Carlo Marcelo Arenas Belon
@ 2007-12-21 12:41 ` Carlo Marcelo Arenas Belon
2007-12-21 12:44 ` [PATCH 8/9] qemu: re-add missing definitions for qemu_live_{savevm, loadvm}_state Carlo Marcelo Arenas Belon
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: Carlo Marcelo Arenas Belon @ 2007-12-21 12:41 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
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 <carenas-kLeDWSohozoJb6fo7hG9ng@public.gmane.org>
---
qemu/console.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/qemu/console.h b/qemu/console.h
index 9782272..bcc2790 100644
--- a/qemu/console.h
+++ b/qemu/console.h
@@ -131,6 +131,8 @@ extern uint8_t _translate_keycode(const int key);
does not need to include console.h */
/* monitor.c */
void monitor_init(CharDriverState *hd, int show_banner);
+void monitor_suspend(void);
+void monitor_resume(void);
void term_puts(const char *str);
void term_vprintf(const char *fmt, va_list ap);
void term_printf(const char *fmt, ...) __attribute__ ((__format__ (__printf__, 1, 2)));
--
1.5.2.5
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
^ permalink raw reply related [flat|nested] 11+ messages in thread* [PATCH 8/9] qemu: re-add missing definitions for qemu_live_{savevm, loadvm}_state
2007-12-21 12:25 [PATCH 0/9] qemu: missing definitions from qemu-cvs merge Carlo Marcelo Arenas Belon
` (6 preceding siblings ...)
2007-12-21 12:41 ` [PATCH 7/9] qemu: add missing definitions for monitor_{resume, suspend} Carlo Marcelo Arenas Belon
@ 2007-12-21 12:44 ` Carlo Marcelo Arenas Belon
2007-12-21 12:47 ` [PATCH 9/9] qemu: re-add missing definitions for qemu_get_launch_info Carlo Marcelo Arenas Belon
2007-12-22 19:54 ` [PATCH 0/9] qemu: missing definitions from qemu-cvs merge Avi Kivity
9 siblings, 0 replies; 11+ messages in thread
From: Carlo Marcelo Arenas Belon @ 2007-12-21 12:44 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
The following patch re applies the definitions added to qemu/vl.h in
4213cbcf86847c8568d0147bd055d6a13bb1c963 and which were missed in merge
f4b21ce8084fc3ffcfc1a2b92bd26466700d3d40, resulting in the following
compilation warnings :
qemu/migration.c:193: warning: implicit declaration 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 <carenas-kLeDWSohozoJb6fo7hG9ng@public.gmane.org>
---
qemu/sysemu.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/qemu/sysemu.h b/qemu/sysemu.h
index 5f6db03..8068b8f 100644
--- a/qemu/sysemu.h
+++ b/qemu/sysemu.h
@@ -49,6 +49,9 @@ void do_loadvm(const char *name);
void do_delvm(const char *name);
void do_info_snapshots(void);
+int qemu_live_savevm_state(QEMUFile *f);
+int qemu_live_loadvm_state(QEMUFile *f);
+
void main_loop_wait(int timeout);
/* Polling handling */
--
1.5.2.5
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
^ permalink raw reply related [flat|nested] 11+ messages in thread* [PATCH 9/9] qemu: re-add missing definitions for qemu_get_launch_info
2007-12-21 12:25 [PATCH 0/9] qemu: missing definitions from qemu-cvs merge Carlo Marcelo Arenas Belon
` (7 preceding siblings ...)
2007-12-21 12:44 ` [PATCH 8/9] qemu: re-add missing definitions for qemu_live_{savevm, loadvm}_state Carlo Marcelo Arenas Belon
@ 2007-12-21 12:47 ` Carlo Marcelo Arenas Belon
2007-12-22 19:54 ` [PATCH 0/9] qemu: missing definitions from qemu-cvs merge Avi Kivity
9 siblings, 0 replies; 11+ messages in thread
From: Carlo Marcelo Arenas Belon @ 2007-12-21 12:47 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
The following patch re applies the definitions added to qemu/vl.h in
4213cbcf86847c8568d0147bd055d6a13bb1c963 and which were missed in merge
f4b21ce8084fc3ffcfc1a2b92bd26466700d3d40, resulting in the following
compilation warning :
qemu/migration.c:603: warning: implicit declaration of function `qemu_get_launch_info'
Signed-off-by: Carlo Marcelo Arenas Belon <carenas-kLeDWSohozoJb6fo7hG9ng@public.gmane.org>
---
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 @@ void qemu_system_reset(void);
void cpu_save(QEMUFile *f, void *opaque);
int cpu_load(QEMUFile *f, void *opaque, int version_id);
+void qemu_get_launch_info(int *argc, char ***argv,
+ int *opt_daemonize, const char **opt_incoming);
+
void do_savevm(const char *name);
void do_loadvm(const char *name);
void do_delvm(const char *name);
--
1.5.2.5
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
^ permalink raw reply related [flat|nested] 11+ messages in thread* Re: [PATCH 0/9] qemu: missing definitions from qemu-cvs merge
2007-12-21 12:25 [PATCH 0/9] qemu: missing definitions from qemu-cvs merge Carlo Marcelo Arenas Belon
` (8 preceding siblings ...)
2007-12-21 12:47 ` [PATCH 9/9] qemu: re-add missing definitions for qemu_get_launch_info Carlo Marcelo Arenas Belon
@ 2007-12-22 19:54 ` Avi Kivity
9 siblings, 0 replies; 11+ messages in thread
From: Avi Kivity @ 2007-12-22 19:54 UTC (permalink / raw)
To: Carlo Marcelo Arenas Belon; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Carlo Marcelo Arenas Belon wrote:
> 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 in qemu/hw/pc.c
> PATCH 4/9 : fix definitions for qemu_*_requested in qemu/qemu-kvm.c
> PATCH 5/9 : fix definition for qemu_system_reset in qemu/qemu-kvm.c
> PATCH 6/9 : fix definition for bdrv_flush_all in qemu/migration.c
> PATCH 7/9 : fix definitions for monitor_{resume,suspend} in qemu/migration.c
> PATCH 8/9 : fix definitions for qemu_live_*_save in qemu/migration.c
> PATCH 9/9 : fix definition for qemu_get_launch_info in qemu/migration.c
>
> All this definitions are kvm specific and therefore were missed by the
> splitting of vl.h and other headers upstream.
>
Applied all, thanks. I should have done this myself but was quite tired
out by the merge.
--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
^ permalink raw reply [flat|nested] 11+ messages in thread