Re: [libvirt] [PATCH] network: Let domains be restricted to local DNS

2014-12-03 Thread Josh Stone
On 12/02/2014 08:06 AM, Laine Stump wrote: On 12/01/2014 01:50 PM, Josh Stone wrote: On 12/01/2014 05:18 AM, Martin Kletzander wrote: On Mon, Dec 01, 2014 at 07:49:32AM -0500, Laine Stump wrote: On 11/30/2014 04:06 PM, Martin Kletzander wrote: On Thu, Nov 20, 2014 at 06:46:41PM -0800, Josh

[libvirt] [PATCH v2] network: Let domains be restricted to local DNS

2014-12-03 Thread Josh Stone
to prevent the loop. Signed-off-by: Josh Stone jist...@redhat.com Cc: Laine Stump la...@laine.org --- docs/formatnetwork.html.in | 12 +++- docs/schemas/network.rng | 3 ++ src/conf/network_conf.c| 32

Re: [libvirt] [PATCH] network: Let domains be restricted to local DNS

2014-12-01 Thread Josh Stone
On 12/01/2014 05:18 AM, Martin Kletzander wrote: On Mon, Dec 01, 2014 at 07:49:32AM -0500, Laine Stump wrote: On 11/30/2014 04:06 PM, Martin Kletzander wrote: On Thu, Nov 20, 2014 at 06:46:41PM -0800, Josh Stone wrote: This adds a new localOnly attribute on the domain element of the network

Re: [libvirt] [PATCH] network: Let domains be restricted to local DNS

2014-12-01 Thread Josh Stone
On 12/01/2014 03:40 AM, John Ferlan wrote: On 11/20/2014 09:46 PM, Josh Stone wrote: This adds a new localOnly attribute on the domain element of the network xml. With this set to yes, DNS requests under that domain will only be resolved by libvirt's dnsmasq, never forwarded upstream

Re: [libvirt] [PATCH] network: Let domains be restricted to local DNS

2014-12-01 Thread Josh Stone
Update: I think it is indeed a dnsmasq bug -- details below... [trimming some context and cross-posting to dnsmasq-discuss] On 12/01/2014 10:50 AM, Josh Stone wrote: On 12/01/2014 05:18 AM, Martin Kletzander wrote: On Mon, Dec 01, 2014 at 07:49:32AM -0500, Laine Stump wrote: On 11/30/2014 04

[libvirt] [PATCH] network: Let domains be restricted to local DNS

2014-11-20 Thread Josh Stone
to prevent the loop. Signed-off-by: Josh Stone jist...@redhat.com Cc: Laine Stump la...@laine.org --- docs/formatnetwork.html.in | 12 +++- docs/schemas/network.rng | 3 +++ src/conf/network_conf.c

Re: [libvirt] [PATCH] build: work around older systemtap header

2011-07-06 Thread Josh Stone
size and signedness, including e.g. any long long that wouldn't fit in a 32-bit intptr. That __builtin_choose_expr only works in C, but hopefully for libvirt that should suffice. HTH, Josh Stone -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] [PATCH] build: work around older systemtap header

2011-07-06 Thread Josh Stone
On 07/06/2011 08:45 AM, Eric Blake wrote: #define _SDT_ARGARRAY(x) (__builtin_classify_type (x) == 14 \ || __builtin_classify_type (x) == 5) Too bad gcc doesn't document this builtin. It's documented in the Internals manual: