Displaying 8 results from an estimated 8 matches for "e7baf7b".
2015 Mar 11
2
[PATCH] virtio-pci: fix host notifiers on bi-endian architectures
...bm.com>
Signed-off-by: Greg Kurz <gkurz at linux.vnet.ibm.com>
---
I guess it is also a fix for virtio-1 but I didn't check.
hw/virtio/virtio-pci.c | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/hw/virtio/virtio-pci.c b/hw/virtio/virtio-pci.c
index e7baf7b..62b04c9 100644
--- a/hw/virtio/virtio-pci.c
+++ b/hw/virtio/virtio-pci.c
@@ -133,6 +133,11 @@ static int virtio_pci_load_queue(DeviceState *d, int n, QEMUFile *f)
return 0;
}
+static uint16_t cpu_to_host_notifier16(VirtIODevice *vdev, uint16_t val)
+{
+ return virtio_is_big_endian(vdev)...
2015 Mar 11
2
[PATCH] virtio-pci: fix host notifiers on bi-endian architectures
...bm.com>
Signed-off-by: Greg Kurz <gkurz at linux.vnet.ibm.com>
---
I guess it is also a fix for virtio-1 but I didn't check.
hw/virtio/virtio-pci.c | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/hw/virtio/virtio-pci.c b/hw/virtio/virtio-pci.c
index e7baf7b..62b04c9 100644
--- a/hw/virtio/virtio-pci.c
+++ b/hw/virtio/virtio-pci.c
@@ -133,6 +133,11 @@ static int virtio_pci_load_queue(DeviceState *d, int n, QEMUFile *f)
return 0;
}
+static uint16_t cpu_to_host_notifier16(VirtIODevice *vdev, uint16_t val)
+{
+ return virtio_is_big_endian(vdev)...
2015 Mar 11
4
[PATCH] virtio-pci: fix host notifiers on bi-endian architectures
...>
> > I guess it is also a fix for virtio-1 but I didn't check.
> >
> > hw/virtio/virtio-pci.c | 11 +++++++++--
> > 1 file changed, 9 insertions(+), 2 deletions(-)
> >
> > diff --git a/hw/virtio/virtio-pci.c b/hw/virtio/virtio-pci.c
> > index e7baf7b..62b04c9 100644
> > --- a/hw/virtio/virtio-pci.c
> > +++ b/hw/virtio/virtio-pci.c
> > @@ -133,6 +133,11 @@ static int virtio_pci_load_queue(DeviceState *d, int n, QEMUFile *f)
> > return 0;
> > }
> >
/* The host notifier will be swapped in adjust_endiann...
2015 Mar 11
4
[PATCH] virtio-pci: fix host notifiers on bi-endian architectures
...>
> > I guess it is also a fix for virtio-1 but I didn't check.
> >
> > hw/virtio/virtio-pci.c | 11 +++++++++--
> > 1 file changed, 9 insertions(+), 2 deletions(-)
> >
> > diff --git a/hw/virtio/virtio-pci.c b/hw/virtio/virtio-pci.c
> > index e7baf7b..62b04c9 100644
> > --- a/hw/virtio/virtio-pci.c
> > +++ b/hw/virtio/virtio-pci.c
> > @@ -133,6 +133,11 @@ static int virtio_pci_load_queue(DeviceState *d, int n, QEMUFile *f)
> > return 0;
> > }
> >
/* The host notifier will be swapped in adjust_endiann...
2015 Mar 11
0
[PATCH] virtio-pci: fix host notifiers on bi-endian architectures
...?
They make my head spin.
> ---
>
> I guess it is also a fix for virtio-1 but I didn't check.
>
> hw/virtio/virtio-pci.c | 11 +++++++++--
> 1 file changed, 9 insertions(+), 2 deletions(-)
>
> diff --git a/hw/virtio/virtio-pci.c b/hw/virtio/virtio-pci.c
> index e7baf7b..62b04c9 100644
> --- a/hw/virtio/virtio-pci.c
> +++ b/hw/virtio/virtio-pci.c
> @@ -133,6 +133,11 @@ static int virtio_pci_load_queue(DeviceState *d, int n, QEMUFile *f)
> return 0;
> }
>
> +static uint16_t cpu_to_host_notifier16(VirtIODevice *vdev, uint16_t val)
> +...
2015 Mar 11
0
[PATCH] virtio-pci: fix host notifiers on bi-endian architectures
...?
They make my head spin.
> ---
>
> I guess it is also a fix for virtio-1 but I didn't check.
>
> hw/virtio/virtio-pci.c | 11 +++++++++--
> 1 file changed, 9 insertions(+), 2 deletions(-)
>
> diff --git a/hw/virtio/virtio-pci.c b/hw/virtio/virtio-pci.c
> index e7baf7b..62b04c9 100644
> --- a/hw/virtio/virtio-pci.c
> +++ b/hw/virtio/virtio-pci.c
> @@ -133,6 +133,11 @@ static int virtio_pci_load_queue(DeviceState *d, int n, QEMUFile *f)
> return 0;
> }
>
> +static uint16_t cpu_to_host_notifier16(VirtIODevice *vdev, uint16_t val)
> +...
2015 Mar 12
0
[PATCH] virtio-pci: fix host notifiers on bi-endian architectures
...also a fix for virtio-1 but I didn't check.
> > >
> > > hw/virtio/virtio-pci.c | 11 +++++++++--
> > > 1 file changed, 9 insertions(+), 2 deletions(-)
> > >
> > > diff --git a/hw/virtio/virtio-pci.c b/hw/virtio/virtio-pci.c
> > > index e7baf7b..62b04c9 100644
> > > --- a/hw/virtio/virtio-pci.c
> > > +++ b/hw/virtio/virtio-pci.c
> > > @@ -133,6 +133,11 @@ static int virtio_pci_load_queue(DeviceState *d, int n, QEMUFile *f)
> > > return 0;
> > > }
> > >
>
> /* The host no...
2015 Mar 12
0
[PATCH] virtio-pci: fix host notifiers on bi-endian architectures
...also a fix for virtio-1 but I didn't check.
> > >
> > > hw/virtio/virtio-pci.c | 11 +++++++++--
> > > 1 file changed, 9 insertions(+), 2 deletions(-)
> > >
> > > diff --git a/hw/virtio/virtio-pci.c b/hw/virtio/virtio-pci.c
> > > index e7baf7b..62b04c9 100644
> > > --- a/hw/virtio/virtio-pci.c
> > > +++ b/hw/virtio/virtio-pci.c
> > > @@ -133,6 +133,11 @@ static int virtio_pci_load_queue(DeviceState *d, int n, QEMUFile *f)
> > > return 0;
> > > }
> > >
>
> /* The host no...