diff mbox

config: enable ivshmem on POSIX

Message ID 1444662732-31557-1-git-send-email-marcandre.lureau@redhat.com
State New
Headers show

Commit Message

Marc-André Lureau Oct. 12, 2015, 3:12 p.m. UTC
From: Marc-André Lureau <marcandre.lureau@redhat.com>

ivshmem doesn't actually require kvm, so enable it when POSIX is
enabled. (it is required however when ioeventfd is enabled)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
 default-configs/pci.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Peter Maydell Oct. 12, 2015, 4:01 p.m. UTC | #1
On 12 October 2015 at 16:12,  <marcandre.lureau@redhat.com> wrote:
> From: Marc-André Lureau <marcandre.lureau@redhat.com>
>
> ivshmem doesn't actually require kvm, so enable it when POSIX is
> enabled. (it is required however when ioeventfd is enabled)
>
> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
> ---
>  default-configs/pci.mak | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/default-configs/pci.mak b/default-configs/pci.mak
> index 7e10903..f250119 100644
> --- a/default-configs/pci.mak
> +++ b/default-configs/pci.mak
> @@ -35,5 +35,5 @@ CONFIG_SDHCI=y
>  CONFIG_EDU=y
>  CONFIG_VGA=y
>  CONFIG_VGA_PCI=y
> -CONFIG_IVSHMEM=$(CONFIG_KVM)
> +CONFIG_IVSHMEM=$(CONFIG_POSIX)
>  CONFIG_ROCKER=y

I did a quick test of an OSX build with this change and
you'll be pleased to know it builds ok, no new compile
warnings :-)

thanks
-- PMM
Marc-Andre Lureau Oct. 12, 2015, 4:05 p.m. UTC | #2
Hi Peter

----- Original Message -----
> On 12 October 2015 at 16:12,  <marcandre.lureau@redhat.com> wrote:
> > From: Marc-André Lureau <marcandre.lureau@redhat.com>
> >
> > ivshmem doesn't actually require kvm, so enable it when POSIX is
> > enabled. (it is required however when ioeventfd is enabled)
> >
> > Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
> > ---
> >  default-configs/pci.mak | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/default-configs/pci.mak b/default-configs/pci.mak
> > index 7e10903..f250119 100644
> > --- a/default-configs/pci.mak
> > +++ b/default-configs/pci.mak
> > @@ -35,5 +35,5 @@ CONFIG_SDHCI=y
> >  CONFIG_EDU=y
> >  CONFIG_VGA=y
> >  CONFIG_VGA_PCI=y
> > -CONFIG_IVSHMEM=$(CONFIG_KVM)
> > +CONFIG_IVSHMEM=$(CONFIG_POSIX)
> >  CONFIG_ROCKER=y
> 
> I did a quick test of an OSX build with this change and
> you'll be pleased to know it builds ok, no new compile
> warnings :-)

Yes indeed, thanks for checking!

Can I add tested-by or do you add your signed off?
Peter Maydell Oct. 12, 2015, 4:19 p.m. UTC | #3
On 12 October 2015 at 17:05, Marc-André Lureau <mlureau@redhat.com> wrote:
> Hi Peter
>
> ----- Original Message -----
>> On 12 October 2015 at 16:12,  <marcandre.lureau@redhat.com> wrote:
>> > From: Marc-André Lureau <marcandre.lureau@redhat.com>
>> >
>> > ivshmem doesn't actually require kvm, so enable it when POSIX is
>> > enabled. (it is required however when ioeventfd is enabled)
>> >
>> > Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
>> > ---
>> >  default-configs/pci.mak | 2 +-
>> >  1 file changed, 1 insertion(+), 1 deletion(-)
>> >
>> > diff --git a/default-configs/pci.mak b/default-configs/pci.mak
>> > index 7e10903..f250119 100644
>> > --- a/default-configs/pci.mak
>> > +++ b/default-configs/pci.mak
>> > @@ -35,5 +35,5 @@ CONFIG_SDHCI=y
>> >  CONFIG_EDU=y
>> >  CONFIG_VGA=y
>> >  CONFIG_VGA_PCI=y
>> > -CONFIG_IVSHMEM=$(CONFIG_KVM)
>> > +CONFIG_IVSHMEM=$(CONFIG_POSIX)
>> >  CONFIG_ROCKER=y
>>
>> I did a quick test of an OSX build with this change and
>> you'll be pleased to know it builds ok, no new compile
>> warnings :-)
>
> Yes indeed, thanks for checking!
>
> Can I add tested-by or do you add your signed off?

I didn't provide a tested-by tag because I didn't actually
check the functionality, just that it built.

-- PMM
diff mbox

Patch

diff --git a/default-configs/pci.mak b/default-configs/pci.mak
index 7e10903..f250119 100644
--- a/default-configs/pci.mak
+++ b/default-configs/pci.mak
@@ -35,5 +35,5 @@  CONFIG_SDHCI=y
 CONFIG_EDU=y
 CONFIG_VGA=y
 CONFIG_VGA_PCI=y
-CONFIG_IVSHMEM=$(CONFIG_KVM)
+CONFIG_IVSHMEM=$(CONFIG_POSIX)
 CONFIG_ROCKER=y