ld be non-zero?
--
Marc
On 17/01/12 19:08, Peter Maydell wrote:
> On 15 January 2012 22:56, Christoffer Dall wrote:
>> On Fri, Jan 13, 2012 at 3:57 PM, Peter Maydell
>> wrote:
>>> PPS: these patches are against qemu-master so for kvm you'd need
>>> to (a) rebase them on qemu-linaro (b) put the kvm patches on top
>>> of
description, without human intervention.
> Looks like it's either documentation error or silicon error, probably
> there's an erratum issued. Marc, can you please comment?
If it's the Tensilica ISS, behavior indeed should match hardware,
from a common description (am simplifying
El Tue, 16 Sep 2014 00:17:57 +0200
Marc Marí escribió:
>
> This means agressive timeout is not the problem. The problem is the
> ISR not being raised at all after sending a read or write request.
>
> If this is the log of the failing case:
> https://travis-ci.org/qemu/qe
El Thu, 2 Oct 2014 13:02:25 +0100
Stefan Hajnoczi escribió:
> On Thu, Sep 04, 2014 at 06:24:37PM +0200, Marc Marí wrote:
> > @@ -60,25 +60,25 @@ static void
> > qvirtio_pci_assign_device(QVirtioDevice *d, void *data) *vpcidev =
> > (QVirtioPCIDevice *)d; }
>
What EC is this for? The device and interface is defined by the spec, but
the offsets and methods are custom for every EC.
Marc
On Wed, Apr 17, 2013 at 1:22 AM, liguang wrote:
> defined at ACPI SPEC v5 chapter 12:
> "ACPI Embedded Controller Interface Specification"
&
This is the draft for the libqos virtio API to create test cases for virtio
devices. I'm looking forward to your comments.
Signed-off-by: Marc Marí
---
tests/libqos/virtio.h | 148 +
1 file changed, 148 insertions(+)
create mode 100644
Virtio header has been changed to compile and work with a real device.
Functions bus_foreach and device_find have been implemented for PCI.
Virtio-blk test case now opens a fake device.
Signed-off-by: Marc Marí
---
tests/Makefile|3 +-
tests/libqos/virtio-pci.c | 123
gt; > +++ b/tests/virtio-blk-test.c
> > @@ -2,6 +2,7 @@
> > * QTest testcase for VirtIO Block Device
> > *
> > * Copyright (c) 2014 SUSE LINUX Products GmbH
> > + * Copyright (c) 2014 Marc Marí
> > *
> > * This work is licensed under th
Hello
> > -/* Tests only initialization so far. TODO: Replace with functional
> > tests */ -static void pci_nop(void)
> > +#define TEST_IMAGE_SIZE (64 * 1024 * 1024)
> > +
> > +static char tmp_path[] = "/tmp/qtest.XX";
> > +extern QVirtioBus qvirtio_pci;
> > +
> > +static void pci_basic(void)
Add functions for virtio PCI libqos driver. Add more debugging tools. Solve
bugs found while generating tests.
v3: Solved problems, added indirect descriptor support and test for
configuration changes
v4: Solved bugs, changed some interfaces, added MSI-X and event_idx support.
Marc Marí (11
Signed-off-by: Paolo Bonzini
Signed-off-by: Marc Marí
---
tests/libqtest.c |7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/tests/libqtest.c b/tests/libqtest.c
index 98e8f4b..fbd600d 100644
--- a/tests/libqtest.c
+++ b/tests/libqtest.c
@@ -167,11 +167,12
Virtio header has been changed to compile and work with a real device.
Functions bus_foreach and device_find have been implemented for PCI.
Virtio-blk test case now opens a fake device.
Signed-off-by: Marc Marí
---
tests/Makefile|3 +-
tests/libqos/virtio-pci.c | 75
Added MSI-X support for qtest PCI.
Added MSI-X support for virtio-pci.
Added MSI-X test case in virtio-blk-test.
Signed-off-by: Marc Marí
---
tests/libqos/pci.c| 110 -
tests/libqos/pci.h| 10 +++
tests/libqos/virtio-pci.c | 145
Reviewed-by: John Snow
Reviewed-by: Stefan Hajnoczi
Signed-off-by: Marc Marí
---
tests/libqos/malloc.h |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/libqos/malloc.h b/tests/libqos/malloc.h
index 46f6000..5565381 100644
--- a/tests/libqos/malloc.h
+++ b/tests
Reviewed-by: John Snow
Reviewed-by: Stefan Hajnoczi
Signed-off-by: Paolo Bonzini
Signed-off-by: Marc Marí
---
tests/libqos/malloc-pc.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/libqos/malloc-pc.c b/tests/libqos/malloc-pc.c
index db1496c..2efd095 100644
--- a
Add functions to read and write virtio header fields.
Add status bit setting in virtio-blk-device.
Signed-off-by: Marc Marí
---
tests/Makefile|2 +-
tests/libqos/virtio-pci.c | 57 +
tests/libqos/virtio-pci.h | 18
Add status changing and feature negotiation.
Add basic virtqueue support for adding and sending virtqueue requests.
Add ISR checking.
Signed-off-by: Marc Marí
---
tests/libqos/virtio-pci.c | 91 ++-
tests/libqos/virtio-pci.h |2 +
tests/libqos/virtio.c | 100
Without this correction, only a three descriptor layout is accepted, and
requests with just two descriptors are not completed and no error message is
displayed.
Signed-off-by: Stefan Hajnoczi
Signed-off-by: Marc Marí
---
hw/block/virtio-blk.c | 14 +++---
1 file changed, 7 insertions
Added avail_event and NO_NOTIFY check before notifying.
Added used_event setting.
Signed-off-by: Marc Marí
---
tests/libqos/virtio-pci.c |1 +
tests/libqos/virtio.c | 26 +-
tests/libqos/virtio.h |5 +
tests/virtio-blk-test.c | 33
Signed-off-by: Marc Marí
---
tests/virtio-blk-test.c | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/tests/virtio-blk-test.c b/tests/virtio-blk-test.c
index 06a9ac8..7269ade 100644
--- a/tests/virtio-blk-test.c
+++ b/tests/virtio-blk-test.c
@@ -225,13
Add functions necessary for working with indirect descriptors.
Add test using new functions.
Signed-off-by: Marc Marí
---
tests/libqos/virtio-pci.c | 10
tests/libqos/virtio.c | 63
tests/libqos/virtio.h | 22 -
tests/virtio-blk-test.c
El Wed, 13 Aug 2014 18:27:40 +0100
Stefan Hajnoczi escribió:
> > +void qvring_init(const QGuestAllocator *alloc, QVirtQueue *vq,
> > uint64_t addr) +{
> > +int i;
> > +
> > +vq->desc = addr;
> > +vq->avail = vq->desc + vq->size*sizeof(QVRingDesc);
> > +vq->used = (uint64_t)((vq->av
v3: Solved problems, added indirect descriptor support and test for
configuration changes
v4: Solved bugs, changed some interfaces, added MSI-X and event_idx support.
v5: Simplified virtio-blk-test, solved bugs, avoid patches already merged.
Marc Marí (5):
libqos: Added basic virtqueue
Add functions necessary for working with indirect descriptors.
Add test using new functions.
Signed-off-by: Marc Marí
---
tests/libqos/virtio-pci.c | 10 +
tests/libqos/virtio.c | 64 +
tests/libqos/virtio.h | 22 +-
tests/virtio-blk-test.c
Added MSI-X support for qtest PCI.
Added MSI-X support for virtio-pci.
Added MSI-X test case in virtio-blk-test.
Signed-off-by: Marc Marí
---
tests/libqos/pci.c| 111 +-
tests/libqos/pci.h| 10 +++
tests/libqos/virtio-pci.c | 142
Virtio header has been changed to compile and work with a real device.
Functions bus_foreach and device_find have been implemented for PCI.
Virtio-blk test case now opens a fake device.
Reviewed-by: Stefan Hajnoczi
Signed-off-by: Marc Marí
---
tests/Makefile|3 +-
tests/libqos
Add functions to read and write virtio header fields.
Add status bit setting in virtio-blk-device.
Signed-off-by: Marc Marí
---
tests/Makefile|2 +-
tests/libqos/virtio-pci.c | 67 +
tests/libqos/virtio-pci.h | 18
Added avail_event and NO_NOTIFY check before notifying.
Added used_event setting.
Signed-off-by: Marc Marí
---
tests/libqos/virtio-pci.c |1 +
tests/libqos/virtio.c | 27 -
tests/libqos/virtio.h |5 ++
tests/virtio-blk-test.c | 133
Signed-off-by: Marc Marí
---
tests/virtio-blk-test.c | 34 ++
1 file changed, 34 insertions(+)
diff --git a/tests/virtio-blk-test.c b/tests/virtio-blk-test.c
index 95e6861..07ae754 100644
--- a/tests/virtio-blk-test.c
+++ b/tests/virtio-blk-test.c
@@ -359,6
Add status changing and feature negotiation.
Add basic virtqueue support for adding and sending virtqueue requests.
Add ISR checking.
Signed-off-by: Marc Marí
---
tests/libqos/virtio-pci.c | 82 +
tests/libqos/virtio-pci.h |2 +
tests/libqos/virtio.c | 100
>El Mon, 18 Aug 2014 14:46:11 +0200
>Marc Marí escribió:
> +void qpci_msix_enable(QPCIDevice *dev)
> +{
> +uint8_t addr;
> +uint16_t val;
> +uint32_t table;
> +uint8_t bir_table;
> +uint8_t bir_pba;
> +void *offset;
> +
>
>El Mon, 18 Aug 2014 14:46:07 +0200
>Marc Marí escribió:
> +void qvirtio_pci_device_enable(QVirtioPCIDevice *d)
> +{
> +qpci_device_enable(d->pdev);
> +d->addr = qpci_iomap(d->pdev, 0);
> +g_assert(d->addr != NULL);
> +}
> +
qpci_iomap changed i
qtest malloc is necessary and not one per machine, as it is
implemented at the moment (malloc-pc uses fw_cfg).
The actual output is this: http://pastebin.com/nHAH9Jie
Which corresponds to this info mtree: http://pastebin.com/B5vw8DDf
Signed-off-by: Marc Marí
---
memory.c | 148
El Wed, 20 Aug 2014 13:09:20 -0600
Eric Blake escribió:
> On 08/20/2014 11:46 AM, Marc Marí wrote:
> > Add command query-mtree to get the memory tree of the guest.
> >
> > As we were looking for a flexible solution on accessing the guest
> > memory from qtests, S
El Thu, 21 Aug 2014 11:06:51 +0200
Paolo Bonzini escribió:
> Il 20/08/2014 19:46, Marc Marí ha scritto:
> > Add command query-mtree to get the memory tree of the guest.
> >
> > As we were looking for a flexible solution on accessing the guest
> > memory from qtests, S
v3: Solved problems, added indirect descriptor support and test for
configuration changes
v4: Solved bugs, changed some interfaces, added MSI-X and event_idx support.
v5: Simplified virtio-blk-test, solved bugs, avoid patches already merged.
v6: Solve bugs (qpci_iomap changed prototype)
Marc
Add functions to read and write virtio header fields.
Add status bit setting in virtio-blk-device.
Signed-off-by: Marc Marí
---
tests/Makefile|2 +-
tests/libqos/virtio-pci.c | 67 +
tests/libqos/virtio-pci.h | 18
Virtio header has been changed to compile and work with a real device.
Functions bus_foreach and device_find have been implemented for PCI.
Virtio-blk test case now opens a fake device.
Reviewed-by: Stefan Hajnoczi
Signed-off-by: Marc Marí
---
tests/Makefile|3 +-
tests/libqos
Add status changing and feature negotiation.
Add basic virtqueue support for adding and sending virtqueue requests.
Add ISR checking.
Signed-off-by: Marc Marí
---
tests/libqos/virtio-pci.c | 82 +
tests/libqos/virtio-pci.h |2 +
tests/libqos/virtio.c | 100
Add functions necessary for working with indirect descriptors.
Add test using new functions.
Signed-off-by: Marc Marí
---
tests/libqos/virtio-pci.c | 10 +
tests/libqos/virtio.c | 64 +
tests/libqos/virtio.h | 22 +-
tests/virtio-blk-test.c
Signed-off-by: Marc Marí
---
tests/virtio-blk-test.c | 34 ++
1 file changed, 34 insertions(+)
diff --git a/tests/virtio-blk-test.c b/tests/virtio-blk-test.c
index 95e6861..07ae754 100644
--- a/tests/virtio-blk-test.c
+++ b/tests/virtio-blk-test.c
@@ -359,6
Added avail_event and NO_NOTIFY check before notifying.
Added used_event setting.
Signed-off-by: Marc Marí
---
tests/libqos/virtio-pci.c |1 +
tests/libqos/virtio.c | 27 +-
tests/libqos/virtio.h |5 ++
tests/virtio-blk-test.c | 124
Added MSI-X support for qtest PCI.
Added MSI-X support for virtio-pci.
Added MSI-X test case in virtio-blk-test.
Signed-off-by: Marc Marí
---
tests/libqos/pci.c| 111 +++-
tests/libqos/pci.h| 10 +++
tests/libqos/virtio-pci.c | 142
Add functions necessary for working with indirect descriptors.
Add test using new functions.
Reviewed-by: Stefan Hajnoczi
Signed-off-by: Marc Marí
---
tests/libqos/virtio-pci.c | 10 +
tests/libqos/virtio.c | 64 +
tests/libqos/virtio.h | 22
Add status changing and feature negotiation.
Add basic virtqueue support for adding and sending virtqueue requests.
Add ISR checking.
Reviewed-by: Stefan Hajnoczi
Signed-off-by: Marc Marí
---
tests/libqos/virtio-pci.c | 82 +
tests/libqos/virtio-pci.h |2 +
tests
: Solve bugs (qvirtio_pci_config_readq endianness)
Marc Marí (7):
tests: Functions bus_foreach and device_find from libqos virtio API
tests: Add virtio device initialization
libqos: Added basic virtqueue support to virtio implementation
libqos: Added indirect descriptor support to virtio
Add functions to read and write virtio header fields.
Add status bit setting in virtio-blk-device.
Signed-off-by: Marc Marí
---
tests/Makefile|2 +-
tests/libqos/virtio-pci.c | 73 +
tests/libqos/virtio-pci.h | 18
Virtio header has been changed to compile and work with a real device.
Functions bus_foreach and device_find have been implemented for PCI.
Virtio-blk test case now opens a fake device.
Reviewed-by: Stefan Hajnoczi
Signed-off-by: Marc Marí
---
tests/Makefile|3 +-
tests/libqos
Reviewed-by: Stefan Hajnoczi
Signed-off-by: Marc Marí
---
tests/virtio-blk-test.c | 34 ++
1 file changed, 34 insertions(+)
diff --git a/tests/virtio-blk-test.c b/tests/virtio-blk-test.c
index 95e6861..07ae754 100644
--- a/tests/virtio-blk-test.c
+++ b/tests
Added MSI-X support for qtest PCI.
Added MSI-X support for virtio-pci.
Added MSI-X test case in virtio-blk-test.
Signed-off-by: Marc Marí
---
tests/libqos/pci.c| 111 +++-
tests/libqos/pci.h| 10 +++
tests/libqos/virtio-pci.c | 142
Added avail_event and NO_NOTIFY check before notifying.
Added used_event setting.
Signed-off-by: Marc Marí
---
tests/libqos/virtio-pci.c |1 +
tests/libqos/virtio.c | 27 +-
tests/libqos/virtio.h |5 ++
tests/virtio-blk-test.c | 124
On 2013-08-14 09:16, Alexander Graf wrote:
On 14.08.2013, at 10:11, Marc Zyngier wrote:
On 2013-08-14 07:32, Alexander Graf wrote:
On 13.08.2013, at 20:03, Peter Maydell wrote:
These patches add support to target-arm for '-cpu host'.
The general semantics are the same as for ppc a
On 2013-08-14 07:32, Alexander Graf wrote:
On 13.08.2013, at 20:03, Peter Maydell wrote:
These patches add support to target-arm for '-cpu host'.
The general semantics are the same as for ppc and x86 (ie "whatever
the host kernel can support that looks basically like the host
CPU"), but the mec
Modify debug macros to have the same format through the codebase and use regular
ifs instead of ifdef.
As the debug printf is always put in code, some casting had to be added to avoid
warnings treated as errors at compile time.
Signed-off-by: Marc Marí
---
hw/net/xgmac.c | 10 ++
1
Modify debug macros to have the same format through the codebase and use regular
ifs instead of ifdef.
As the debug printf is always put in code, some casting had to be added to avoid
warnings treated as errors at compile time.
Signed-off-by: Marc Marí
---
hw/net/stellaris_enet.c | 21
Modify debug macros to have the same format through the codebase and use regular
ifs instead of ifdef.
As the debug printf is always put in code, some casting had to be added to avoid
warnings treated as errors at compile time.
Signed-off-by: Marc Marí
---
hw/pci-host/bonito.c | 10
Modify debug macros to have the same format through the codebase and use regular
ifs instead of ifdef.
As the debug printf is always put in code, some casting had to be added to avoid
warnings treated as errors at compile time.
Signed-off-by: Marc Marí
---
hw/tpm/tpm_passthrough.c |8
Modify debug macros to have the same format through the codebase and use regular
ifs instead of ifdef.
As the debug printf is always put in code, some casting had to be added to avoid
warnings treated as errors at compile time.
Signed-off-by: Marc Marí
---
hw/net/spapr_llan.c |6 --
1
Modify debug macros to have the same format through the codebase and use regular
ifs instead of ifdef.
As the debug printf is always put in code, some casting had to be added to avoid
warnings treated as errors at compile time.
Signed-off-by: Marc Marí
---
hw/dma/i8257.c | 13
Modify debug macros to have the same format through the codebase and use regular
ifs instead of ifdef.
As the debug printf is always put in code, some casting had to be added to avoid
warnings treated as errors at compile time.
Signed-off-by: Marc Marí
---
hw/isa/vt82c686.c | 10
Modify debug macros to have the same format through the codebase and use regular
ifs instead of ifdef.
As the debug printf is always put in code, some casting had to be added to avoid
warnings treated as errors at compile time.
Signed-off-by: Marc Marí
---
include/qemu-common.h |7
Modify debug macros to have the same format through the codebase and use regular
ifs instead of ifdef.
As the debug printf is always put in code, some casting had to be added to avoid
warnings treated as errors at compile time.
Signed-off-by: Marc Marí
---
hw/i386/kvm/pci-assign.c |9
Modify debug macros to have the same format through the codebase and use regular
ifs instead of ifdef.
As the debug printf is always put in code, some casting had to be added to avoid
warnings treated as errors at compile time.
Signed-off-by: Marc Marí
---
hw/dma/rc4030.c | 11 +--
1
Modify debug macros to have the same format through the codebase and use regular
ifs instead of ifdef.
As the debug printf is always put in code, some casting had to be added to avoid
warnings treated as errors at compile time.
Signed-off-by: Marc Marí
---
hw/dma/i82374.c | 11 +--
1
Modify debug macros to have the same format through the codebase and use regular
ifs instead of ifdef.
As the debug printf is always put in code, some casting had to be added to avoid
warnings treated as errors at compile time.
Signed-off-by: Marc Marí
---
hw/net/lan9118.c | 26
Modify debug macros to have the same format through the codebase and use regular
ifs instead of ifdef.
As the debug printf is always put in code, some casting had to be added to avoid
warnings treated as errors at compile time.
Signed-off-by: Marc Marí
---
hw/sd/sd.c |7 ---
hw/sd
Modify debug macros to have the same format through the codebase and use regular
ifs instead of ifdef.
As the debug printf is always put in code, some casting had to be added to avoid
warnings treated as errors at compile time.
Signed-off-by: Marc Marí
---
hw/scsi/lsi53c895a.c | 17
A macro has been added to qemu-common.h to simplify and standarize the debug
printfs. Some of those printfs have been changed too.
Marc Marí (16):
x86: Convert conditional compilation of debug printfs to regular ifs
s390: Convert conditional compilation of debug printfs to regular ifs
scsi
Modify debug macros to have the same format through the codebase and use regular
ifs instead of ifdef.
As the debug printf is always put in code, some casting had to be added to avoid
warnings treated as errors at compile time.
Signed-off-by: Marc Marí
---
hw/s390x/s390-virtio-bus.c |8
Modify debug macros to have the same format through the codebase and use regular
ifs instead of ifdef.
As the debug printf is always put in code, some casting had to be added to avoid
warnings treated as errors at compile time.
Signed-off-by: Marc Marí
---
hw/net/cadence_gem.c | 11
El Tue, 13 May 2014 09:02:51 +0200
Marc Marí escribió:
> diff --git a/hw/pci-host/ppce500.c b/hw/pci-host/ppce500.c
> index c80b7cb..dfeb19e 100644
> --- a/hw/pci-host/ppce500.c
> +++ b/hw/pci-host/ppce500.c
> @@ -21,12 +21,16 @@
> #include "qemu/bswap.h"
>
El Tue, 13 May 2014 09:02:47 +0200
Marc Marí escribió:
> hw/dma/rc4030.c | 11 +--
> 1 file changed, 5 insertions(+), 6 deletions(-)
>
> diff --git a/hw/dma/rc4030.c b/hw/dma/rc4030.c
> index af26632..84f9f33 100644
> --- a/hw/dma/rc4030.c
> +++ b/hw/dma/rc4030
El Tue, 13 May 2014 09:02:45 +0200
Marc Marí escribió:
> hw/dma/i82374.c | 11 +--
> 1 file changed, 5 insertions(+), 6 deletions(-)
>
> diff --git a/hw/dma/i82374.c b/hw/dma/i82374.c
> index b8ad2e6..7026f24 100644
> --- a/hw/dma/i82374.c
> +++ b/hw/dma/i82374
El Tue, 13 May 2014 09:02:44 +0200
Marc Marí escribió:
> diff --git a/hw/tpm/tpm_tis.c b/hw/tpm/tpm_tis.c
> index 6f0a4d2..302f2bf 100644
> --- a/hw/tpm/tpm_tis.c
> +++ b/hw/tpm/tpm_tis.c
> @@ -30,16 +30,16 @@
> #include "qemu-common.h"
> #include "qemu/mai
El Tue, 13 May 2014 09:02:41 +0200
Marc Marí escribió:
> Modify debug macros to have the same format through the codebase and
> use regular ifs instead of ifdef.
>
> As the debug printf is always put in code, some casting had to be
> added to avoid warnings treated as errors
El Tue, 13 May 2014 09:02:40 +0200
Marc Marí escribió:
> Modify debug macros to have the same format through the codebase and
> use regular ifs instead of ifdef.
>
> As the debug printf is always put in code, some casting had to be
> added to avoid warnings treated as errors
"pci_assign", __VA_ARGS__)
>
I found some problems to convert from ## __VA_ARGS__ to __VA_ARGS__ in
some parts, and as I asked in IRC, it was pointed that "our HACKING
document recommends the fmt, ## __VA_ARGS__ approach, and it obviously
works on all the compilers we care about". So I will leave this as it
is now.
Marc
Add QEMU_DPRINTF to substitute debug printfs and use the same format through
the codebase.
Marc Marí (16):
include/qemu-common.h: Add QEMU_DPRINTF macro
x86: Convert debug printfs to QEMU_DPRINTF
s390: Convert debug printfs to QEMU_DPRINTF
scsi: Convert debug printfs to QEMU_DPRINTF
Modify debug macros to have the same format through the codebase and use regular
ifs instead of ifdef.
Signed-off-by: Marc Marí
---
hw/i386/kvm/pci-assign.c | 11 ++-
hw/i386/multiboot.c |7 +--
target-i386/kvm.c|9 +
xen-hvm.c|9
Modify debug macros to have the same format through the codebase and use regular
ifs instead of ifdef.
As the debug printf is always put in code, some formats had to be changed to
avoid warnings treated as errors at compile time.
Signed-off-by: Marc Marí
---
hw/dma/i8257.c | 14
Modify debug macros to have the same format through the codebase and use regular
ifs instead of ifdef.
Signed-off-by: Marc Marí
---
hw/s390x/s390-virtio-bus.c |9 +
hw/s390x/s390-virtio.c |9 +
target-s390x/helper.c | 23 +++
target-s390x
Create this macro to let debug macros to have the same format through the
codebase and use regular ifs instead of ifdef.
Signed-off-by: Marc Marí
---
include/qemu-common.h |7 +++
1 file changed, 7 insertions(+)
diff --git a/include/qemu-common.h b/include/qemu-common.h
index 3f3fd60
Modify debug macros to have the same format through the codebase and use regular
ifs instead of ifdef.
Signed-off-by: Marc Marí
Acked-by: Alexander Graf
---
hw/net/spapr_llan.c |6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/hw/net/spapr_llan.c b/hw/net
Modify debug macros to have the same format through the codebase and use regular
ifs instead of ifdef.
Signed-off-by: Marc Marí
---
hw/sd/sd.c |8 +---
hw/sd/ssi-sd.c | 19 ---
2 files changed, 17 insertions(+), 10 deletions(-)
diff --git a/hw/sd/sd.c b/hw/sd/sd.c
Modify debug macros to have the same format through the codebase and use regular
ifs instead of ifdef.
Remove header and __func__ in debug printfs, to avoid duplicated messages.
Signed-off-by: Marc Marí
---
hw/net/xgmac.c | 27 +++
1 file changed, 15 insertions(+), 12
Modify debug macros to have the same format through the codebase and use regular
ifs instead of ifdef.
As the debug printf is always put in code, some warnings appeared because of
non-existing (old) variables, which were removed.
Signed-off-by: Marc Marí
---
hw/scsi/lsi53c895a.c | 22
Modify debug macros to have the same format through the codebase and use regular
ifs instead of ifdef.
As the QEMU_DPRINTF already writes the function name, remove the __func__ to
avoid writing the function name two times.
Signed-off-by: Marc Marí
---
hw/dma/i82374.c | 31
Modify debug macros to have the same format through the codebase and use regular
ifs instead of ifdef.
Signed-off-by: Marc Marí
---
hw/net/stellaris_enet.c | 21 ++---
1 file changed, 14 insertions(+), 7 deletions(-)
diff --git a/hw/net/stellaris_enet.c b/hw/net
Modify debug macros to have the same format through the codebase and use regular
ifs instead of ifdef.
As QEMU_DPRINTF adds a header to the message, when the message is not in a new
line, printf has to be used.
Signed-off-by: Marc Marí
---
hw/net/cadence_gem.c | 24
Modify debug macros to have the same format through the codebase and use regular
ifs instead of ifdef.
As the debug printf is always put in code, some formats had to be changed to
avoid warnings treated as errors at compile time.
Signed-off-by: Marc Marí
---
hw/net/lan9118.c | 29
Modify debug macros to have the same format through the codebase and use regular
ifs instead of ifdef.
As the debug printf is always put in code, some formats had to be changed to
avoid warnings treated as errors at compile time..
Signed-off-by: Marc Marí
---
hw/isa/vt82c686.c | 12
Modify debug macros to have the same format through the codebase and use regular
ifs instead of ifdef.
Signed-off-by: Marc Marí
---
migration-rdma.c | 31 +--
page_cache.c | 11 +++
2 files changed, 24 insertions(+), 18 deletions(-)
diff --git a
Modify debug macros to have the same format through the codebase and use regular
ifs instead of ifdef.
Change the output of debug messages from stdout to stderr.
Remove header in debug printfs, as QEMU_DPRINTF already adds it.
Signed-off-by: Marc Marí
---
hw/dma/rc4030.c | 29
, __func__ was
removed from debug printfs.
Signed-off-by: Marc Marí
---
hw/pci-host/bonito.c | 13 +
hw/pci-host/ppce500.c | 21 +
2 files changed, 22 insertions(+), 12 deletions(-)
diff --git a/hw/pci-host/bonito.c b/hw/pci-host/bonito.c
index 56292ad..814b6d8
El Sun, 18 May 2014 19:37:12 +1000
Peter Crosthwaite escribió:
> On Sun, May 18, 2014 at 9:03 AM, Marc Marí
> wrote:
> > Modify debug macros to have the same format through the codebase
> > and use regular ifs instead of ifdef.
> >
> > Signed-off-by: Marc Marí
>
El Mon, 19 May 2014 15:07:18 -0600
Eric Blake escribió:
> On 05/17/2014 05:03 PM, Marc Marí wrote:
> > Modify debug macros to have the same format through the codebase
> > and use regular ifs instead of ifdef.
> >
> > As the debug printf is always put in code, some fo
Hello everyone
I'm Marc Marí (markmb in IRC), and I'm funded to work on virtio and I2C
libqos device drivers for 12 weeks as a Google Summer of Code Student
[1]. In particular, I'll create drivers for both PIIX4 (i440fx) and ICH9
(q35) SMBus, and the libqos virtio device inte
allocator parameters.
As a result, only the allocator initalizer and unitializer are arch dependent.
Signed-off-by: Marc Marí
---
tests/Makefile |2 +-
tests/libqos/malloc-pc.c | 280 +-
tests/libqos/malloc-pc.h | 11 +-
tests/libqos
> > +void alloc_uninit(QGuestAllocator *allocator)
> > +{
> > +MemBlock *node;
> > +MemBlock *tmp;
> > +QAllocOpts mask;
> > +
> > +/* Check for guest leaks, and destroy the list. */
> > +QTAILQ_FOREACH_SAFE(node, &allocator->used, MLIST_ENTNAME,
> > tmp) {
> > +if (allo
1 - 100 of 4181 matches
Mail list logo