[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [Qemu-devel] [PATCH 3/3] Give ivshmem its own config opti
From: |
David Gibson |
Subject: |
Re: [Qemu-ppc] [Qemu-devel] [PATCH 3/3] Give ivshmem its own config option |
Date: |
Tue, 24 Feb 2015 19:57:11 +1100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Mon, Feb 23, 2015 at 10:38:06PM -0800, Peter Crosthwaite wrote:
> On Mon, Feb 23, 2015 at 3:05 PM, David Gibson
> <address@hidden> wrote:
> > Currently the ivshmem device is built whenever both PCI and KVM support are
> > included. This patch gives it its own config option to allow easier
> > customization of whether to include it. It's enabled by default in the
> > same circumstances as now - when both PCI and KVM are available.
> >
> > Signed-off-by: David Gibson <address@hidden>
> > ---
> > default-configs/pci.mak | 1 +
> > hw/misc/Makefile.objs | 4 +---
> > 2 files changed, 2 insertions(+), 3 deletions(-)
> >
> > diff --git a/default-configs/pci.mak b/default-configs/pci.mak
> > index bea6b01..58a2c0a 100644
> > --- a/default-configs/pci.mak
> > +++ b/default-configs/pci.mak
> > @@ -35,3 +35,4 @@ CONFIG_SDHCI=y
> > CONFIG_EDU=y
> > CONFIG_VGA=y
> > CONFIG_VGA_PCI=y
> > +CONFIG_IVSHMEM=$(CONFIG_KVM)
>
> Does this create an order of definition requirement between the
> configs? I guess its ok as CONFIG_KVM is defined super-early but it
> seems to be avoided where one config def depends on another.
Actually, I don't think it does. When "=" is used, rather than ":="
make variables are expanded when used, not when defined.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
pgphf8h36B5oj.pgp
Description: PGP signature
- Re: [Qemu-ppc] [Qemu-devel] [PATCH 2/3] Create specific config option for "platform-bus", (continued)
[Qemu-ppc] [PATCH 1/3] Add specific config options for PCI-E bridges, David Gibson, 2015/02/23
[Qemu-ppc] [PATCH 3/3] Give ivshmem its own config option, David Gibson, 2015/02/23