Re: [libvirt] [Qemu-devel] [PATCH v5 for 2.0 1/3] only add qemu_tpmdev_opts when CONFIG_TPM is defined

2014-03-28 Thread Markus Armbruster
Amos Kong writes: > Signed-off-by: Amos Kong > --- > vl.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/vl.c b/vl.c > index 2355227..596ecfa 100644 > --- a/vl.c > +++ b/vl.c > @@ -449,6 +449,7 @@ static QemuOptsList qemu_object_opts = { > }, > }; > > +#ifdef CONFIG_TPM >

Re: [libvirt] [Qemu-devel] [PATCH v5 for 2.0 1/3] only add qemu_tpmdev_opts when CONFIG_TPM is defined

2014-03-28 Thread Markus Armbruster
Eric Blake writes: > On 03/28/2014 06:04 AM, Markus Armbruster wrote: >> Amos Kong writes: >> > >> Taking a step back: quite a few command line options make sense only in >> certain build configurations. We deal with that in several different >> ways: >> >> 1. Target-specific options: qemu-op

Re: [libvirt] [Qemu-devel] [PATCH v5 for 2.0 1/3] only add qemu_tpmdev_opts when CONFIG_TPM is defined

2014-03-28 Thread Eric Blake
On 03/28/2014 06:04 AM, Markus Armbruster wrote: > Amos Kong writes: > > Taking a step back: quite a few command line options make sense only in > certain build configurations. We deal with that in several different > ways: > > 1. Target-specific options: qemu-options.hx declares a target mask