Re: [kvm-devel] [PATCH] RFC: Use CONFIG_HAS_IOPORT around vcpu->pio_data

2007-12-04 Thread Avi Kivity
Hollis Blanchard wrote: > Actually, (now that I try to build with it :) this doesn't work for > PowerPC, which defines (or rather, doesn't not define) > CONFIG_HAS_IOPORT. > > So I guess a callout to arch code will do. I'll send a patch sometime. > > We can also have a CONFIG_KVM_HAS_PIO and de

Re: [kvm-devel] [PATCH] RFC: Use CONFIG_HAS_IOPORT around vcpu->pio_data

2007-12-03 Thread Hollis Blanchard
Actually, (now that I try to build with it :) this doesn't work for PowerPC, which defines (or rather, doesn't not define) CONFIG_HAS_IOPORT. So I guess a callout to arch code will do. I'll send a patch sometime. -- Hollis Blanchard IBM Linux Technology Center On Mon, 2007-12-03 at 16:14 -0600,

[kvm-devel] [PATCH] RFC: Use CONFIG_HAS_IOPORT around vcpu->pio_data

2007-12-03 Thread Hollis Blanchard
Signed-off-by: Hollis Blanchard <[EMAIL PROTECTED]> --- pio_data is obviously arch-specific, but we might be able to get by with an ifdef in kvm_vcpu_nopage() rather than needing an arch hook. Thoughts? 1 file changed, 2 insertions(+) drivers/kvm/kvm_main.c |2 ++ diff --git a/drivers/kvm/kvm