[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/3] fixup! libqemustub: add more stubs for qemu
From: |
Hu Tao |
Subject: |
Re: [Qemu-devel] [PATCH 1/3] fixup! libqemustub: add more stubs for qemu-char |
Date: |
Fri, 20 Jun 2014 14:17:04 +0800 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Fri, Jun 20, 2014 at 09:03:59AM +0300, Nikolay Nikolaev wrote:
>
>
>
> On Fri, Jun 20, 2014 at 8:55 AM, Hu Tao <address@hidden> wrote:
>
> build stub/qemu-chr-open-spice.o only with CONFIG_SPICE, this
> suppresses the warning when building without CONFIG_SPICE.
>
> Cc: Nikolay Nikolaev <address@hidden>
> Signed-off-by: Hu Tao <address@hidden>
> ---
> stubs/Makefile.objs | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/stubs/Makefile.objs b/stubs/Makefile.objs
> index 2312076..03210ad 100644
> --- a/stubs/Makefile.objs
> +++ b/stubs/Makefile.objs
> @@ -25,7 +25,7 @@ stub-obj-y += mon-set-error.o
> stub-obj-y += monitor-init.o
> stub-obj-y += notify-event.o
> stub-obj-y += pci-drive-hot-add.o
> -stub-obj-y += qemu-chr-open-spice.o
> +stub-obj-$(CONFIG_SPICE) += qemu-chr-open-spice.o
> stub-obj-y += qtest.o
> stub-obj-y += reset.o
> stub-obj-y += runstate-check.o
> --
> 1.9.3
>
>
>
> I've already send one, based on Andrew Jones proposal:
> http://patchwork.ozlabs.org/patch/361926/
>
> But probably this one is better. I'm OK with it.
Didn't see that one. But we need the version check in the stub also,
because in include/ui/qemu-spice.h function qemu_chr_open_spice_port()
is defined if version < 0x000c02, or we can remove the one in
qemu-spice.h.
Regards,
Hu
- [Qemu-devel] [PATCH 0/3] another round of pci fixes, Hu Tao, 2014/06/20
- [Qemu-devel] [PATCH 1/3] fixup! libqemustub: add more stubs for qemu-char, Hu Tao, 2014/06/20
- [Qemu-devel] [PATCH 2/3] fixup! qapi/string-output-visitor: fix bugs, Hu Tao, 2014/06/20
- [Qemu-devel] [PATCH 3/3] tests: add human format test for string output visitor, Hu Tao, 2014/06/20
- Re: [Qemu-devel] [PATCH 0/3] another round of pci fixes, Michael S. Tsirkin, 2014/06/22
- Re: [Qemu-devel] [PATCH 0/3] another round of pci fixes, Michael S. Tsirkin, 2014/06/29