Re: [Qemu-devel] NetClientInfo::can_receive change notification and its purpose

2014-02-02 Thread Paolo Bonzini
Il 02/02/2014 02:47, Max Filippov ha scritto: Hello, is there any way to notify networking core that adapter's NetClientInfo::can_receive return value is about to change from 0 to 1? Yes, qemu_flush_queued_packets. See commit e8b4c68 (e1000: flush queue whenever can_receive can go from

Re: [Qemu-devel] NetClientInfo::can_receive change notification and its purpose

2014-02-02 Thread Max Filippov
On Sun, Feb 2, 2014 at 1:50 PM, Paolo Bonzini pbonz...@redhat.com wrote: Il 02/02/2014 02:47, Max Filippov ha scritto: Hello, is there any way to notify networking core that adapter's NetClientInfo::can_receive return value is about to change from 0 to 1? Yes, qemu_flush_queued_packets.

Re: [Qemu-devel] [PATCH 7/9] pc: ACPI: expose PRST IO range via _CRS

2014-02-02 Thread Michael S. Tsirkin
On Thu, Jan 09, 2014 at 05:36:37PM +0100, Igor Mammedov wrote: .. so OSPM could notice resource conflict if there is any. Signed-off-by: Igor Mammedov imamm...@redhat.com Hi Igor, I noticed an unpleasant side effect caused by this patch. Now, windows xp prompts me for a driver for this device

[Qemu-devel] [Bug 1130095] Re: Windows Signed Drivers

2014-02-02 Thread Yan Vugenfirer
The driver in virtio-win-0.1-74.iso are already signed with Red Hat certificate. You get the warning because they are not signed with MS WHQL signature. Signing with ReactIOS certificate will not help. Best regards, Yan. ** Changed in: qemu Status: New = Invalid -- You received this

Re: [Qemu-devel] [PATCH 7/9] pc: ACPI: expose PRST IO range via _CRS

2014-02-02 Thread Igor Mammedov
On Sun, 2 Feb 2014 15:12:55 +0200 Michael S. Tsirkin m...@redhat.com wrote: On Thu, Jan 09, 2014 at 05:36:37PM +0100, Igor Mammedov wrote: .. so OSPM could notice resource conflict if there is any. Signed-off-by: Igor Mammedov imamm...@redhat.com Hi Igor, I noticed an unpleasant side

Re: [Qemu-devel] [RFC PATCH v2] Add option to switch off FDC

2014-02-02 Thread Michael S. Tsirkin
On Fri, Jan 31, 2014 at 12:39:01PM -0700, Eric Blake wrote: On 01/31/2014 12:03 PM, Gabriel L. Somlo wrote: Allow guests to omit the configuration of a floppy disk controller. Signed-off-by: Gabriel Somlo so...@cmu.edu --- New in this version: - int have_fdc = 1; instead of

Re: [Qemu-devel] [PATCH v3] implementing victim TLB for QEMU system emulated TLB

2014-02-02 Thread Xin Tong
Hi Peter Thank you for your reviews , i have 2 questions. On Sat, Feb 1, 2014 at 4:14 PM, Peter Maydell peter.mayd...@linaro.org wrote: On 28 January 2014 17:31, Xin Tong trent.t...@gmail.com wrote: This patch adds a victim TLB to the QEMU system mode TLB. QEMU system mode page table walks

Re: [Qemu-devel] [PATCH 1/4] hw/9pfs: fix error handing in local_ioc_getversion()

2014-02-02 Thread Aneesh Kumar K.V
Kirill A. Shutemov kirill.shute...@linux.intel.com writes: v9fs_co_st_gen() expects to see error code in errno, not in return code. Let's fix this. Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Reviewed-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com ---

Re: [Qemu-devel] [PATCH 2/4] hw/9pfs: handle undefined FS_IOC_GETVERSION case in handle_ioc_getversion()

2014-02-02 Thread Aneesh Kumar K.V
Kirill A. Shutemov kirill.shute...@linux.intel.com writes: All get_st_gen() implementations except handle_ioc_getversion() have guard for undefined FS_IOC_GETVERSION. Let's add it there too. Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Reviewed-by: Aneesh Kumar K.V

Re: [Qemu-devel] [PATCH v3] implementing victim TLB for QEMU system emulated TLB

2014-02-02 Thread Peter Maydell
On 2 February 2014 15:15, Xin Tong trent.t...@gmail.com wrote: Hi Peter Thank you for your reviews , i have 2 questions. On Sat, Feb 1, 2014 at 4:14 PM, Peter Maydell peter.mayd...@linaro.org wrote: On 28 January 2014 17:31, Xin Tong trent.t...@gmail.com wrote: +/* macro to check the

[Qemu-devel] [PULL 3/7] i386: Add missing include file for QEMU_PACKED

2014-02-02 Thread Michael Tokarev
From: Stefan Weil s...@weilnetz.de Instead of packing BiosLinkerLoaderEntry, an unused global variable called QEMU_PACKED was created (detected by smatch static code analysis). Including qemu-common.h gets the right definition and also includes some standard include files which now can be

[Qemu-devel] [PULL 5/7] readline: Add missing GCC_FMT_ATTR

2014-02-02 Thread Michael Tokarev
From: Stefan Weil s...@weilnetz.de This fixes a compiler warning with -Werror=missing-format-attribute and allows improved compiler checks for variable argument lists. Signed-off-by: Stefan Weil s...@weilnetz.de Reviewed-by: Stefan Hajnoczi stefa...@redhat.com Signed-off-by: Michael Tokarev

[Qemu-devel] [PULL 2/7] osdep: drop unused #include trace.h

2014-02-02 Thread Michael Tokarev
From: Stefan Hajnoczi stefa...@redhat.com osdep.c does not use trace_*() so we can just drop the include. Signed-off-by: Stefan Hajnoczi stefa...@redhat.com Reviewed-by: Benoit Canet ben...@irqsave.net Signed-off-by: Michael Tokarev m...@tls.msk.ru --- util/osdep.c |1 - 1 file changed, 1

[Qemu-devel] [PULL 4/7] tcg/s390: Remove sigill_handler

2014-02-02 Thread Michael Tokarev
From: Richard Henderson r...@twiddle.net Commit c9baa30f42a87f61627391698f63fa4d1566d9d8 failed to delete all of the relevant code, leading to Werrors about unused symbols. Signed-off-by: Richard Henderson r...@twiddle.net Signed-off-by: Michael Tokarev m...@tls.msk.ru --- tcg/s390/tcg-target.c

[Qemu-devel] [PULL 0/7] Trivial patches for 2014-02-02

2014-02-02 Thread Michael Tokarev
There's nothing exciting in there, some really small things here and there. Please pull. Thanks, /mjt The following changes since commit 89e4a51ca9546a7bbe1998c4e3d4a3ac3a0c19be: Merge remote-tracking branch 'stefanha/tags/tracing-pull-request' into staging (2014-01-31 11:13:08 +) are

[Qemu-devel] [PULL 7/7] tests/.gitignore: Ignore tests/check-qom-interface

2014-02-02 Thread Michael Tokarev
From: Fam Zheng f...@redhat.com Signed-off-by: Fam Zheng f...@redhat.com Signed-off-by: Michael Tokarev m...@tls.msk.ru --- tests/.gitignore |1 + 1 file changed, 1 insertion(+) diff --git a/tests/.gitignore b/tests/.gitignore index 1aed224..9ba9d96 100644 --- a/tests/.gitignore +++

Re: [Qemu-devel] [PATCH 4/4] hw/9pfs: fix P9_STATS_GEN handling

2014-02-02 Thread Aneesh Kumar K.V
Kirill A. Shutemov kirill.shute...@linux.intel.com writes: Currently we fail getattr request altogether if we can't read P9_STATS_GEN for some reason. It breaks valid use cases: E.g let's assume we have non-readable directory with execution bit set on host and we export it to client over 9p

Re: [Qemu-devel] [PATCH 3/4] hw/9pfs: make get_st_gen() return ENOTTY error on special files

2014-02-02 Thread Aneesh Kumar K.V
Kirill A. Shutemov kirill.shute...@linux.intel.com writes: Currently we silently ignore getversion requests for anything except file or directory. Let's instead return ENOTTY error to indicate that getversion is not supported. It makes implementation consistent on all not-supported cases.

Re: [Qemu-devel] [PATCH v3 3/5] pcihp: make pci_read() mmio calback compatible with legacy ACPI hotplug

2014-02-02 Thread Michael S. Tsirkin
On Fri, Jan 31, 2014 at 02:27:08PM +0100, Igor Mammedov wrote: due to recent change introduced by: pcihp: reduce number of device check events 'up' field is cleared right after it's read. This is incompatible with legacy BIOS ACPI code where PCNF ACPI method reads this field 32 times. To

Re: [Qemu-devel] [PATCHv8 0/5] block: add native support for NFS

2014-02-02 Thread Peter Lieven
Am 31.01.2014 um 21:41 schrieb Stefan Hajnoczi stefa...@gmail.com: On Fri, Jan 31, 2014 at 6:32 PM, Peter Lieven p...@kamp.de wrote: Am 31.01.2014 um 17:07 schrieb Stefan Hajnoczi stefa...@redhat.com: On Fri, Jan 31, 2014 at 12:38:48PM +0100, Peter Lieven wrote: This adds v6 of the NFS

[Qemu-devel] [PULL 6/7] hw/ppc: Remove unused defines

2014-02-02 Thread Michael Tokarev
From: Stefan Weil s...@weilnetz.de Signed-off-by: Stefan Weil s...@weilnetz.de Signed-off-by: Michael Tokarev m...@tls.msk.ru --- hw/ppc/ppc4xx_devs.c |2 -- 1 file changed, 2 deletions(-) diff --git a/hw/ppc/ppc4xx_devs.c b/hw/ppc/ppc4xx_devs.c index 239aada..9160ee7 100644 ---

[Qemu-devel] [PULL 1/7] qemu 1.7.0 does not build on NetBSD

2014-02-02 Thread Michael Tokarev
From: Martin Husemann mar...@duskware.de Do not rely on int8_t (and friends) not being preprocessor symbols (or symbols expanding to themselves). On NetBSD (for example) the glue(u, SDATA_TYPE) results in u__int8_t, which is undefined. There is no way to stop cpp expanding inner macros, so

Re: [Qemu-devel] [PATCH v3] implementing victim TLB for QEMU system emulated TLB

2014-02-02 Thread Xin Tong
On Sun, Feb 2, 2014 at 10:19 AM, Peter Maydell peter.mayd...@linaro.org wrote: On 2 February 2014 15:15, Xin Tong trent.t...@gmail.com wrote: Hi Peter Thank you for your reviews , i have 2 questions. On Sat, Feb 1, 2014 at 4:14 PM, Peter Maydell peter.mayd...@linaro.org wrote: On 28

Re: [Qemu-devel] [PATCH v3] implementing victim TLB for QEMU system emulated TLB

2014-02-02 Thread Peter Maydell
On 2 February 2014 18:27, Xin Tong trent.t...@gmail.com wrote: On Sun, Feb 2, 2014 at 10:19 AM, Peter Maydell peter.mayd...@linaro.org wrote: Statement expressions are supported by both gcc and clang, which is the set of compilers we care about. Ok got it. would moving vtlb_idx inside the

Re: [Qemu-devel] [PATCH v3] implementing victim TLB for QEMU system emulated TLB

2014-02-02 Thread Xin Tong
I am getting some compilation errors while stringnifying the ADDR_READ, addr_write. function helper_be_ldq_cmmu if (!VICTIM_TLB_HIT(ADDR_READ)) { macro #define VICTIM_TLB_HIT(ACCESS_TYPE) \ ({

Re: [Qemu-devel] [PATCH v3] implementing victim TLB for QEMU system emulated TLB

2014-02-02 Thread Peter Maydell
On 2 February 2014 19:01, Xin Tong trent.t...@gmail.com wrote: I am getting some compilation errors while stringnifying the ADDR_READ, addr_write. function helper_be_ldq_cmmu if (!VICTIM_TLB_HIT(ADDR_READ)) { macro #define VICTIM_TLB_HIT(ACCESS_TYPE)

Re: [Qemu-devel] [PATCH v3] implementing victim TLB for QEMU system emulated TLB

2014-02-02 Thread Xin Tong
what should i do here? i want to pass the ADDR_READ/addr_write into the macro. But i do not know how I can convert it into env-tlb_v_table[mmu_idx][vidx].ADDR_READ/env-tlb_v_table[mmu_idx][vidx].addr_write. Thanks a lot, Xin On Sun, Feb 2, 2014 at 1:29 PM, Peter Maydell peter.mayd...@linaro.org

Re: [Qemu-devel] [PATCH v3] implementing victim TLB for QEMU system emulated TLB

2014-02-02 Thread Peter Maydell
On 2 February 2014 19:39, Xin Tong trent.t...@gmail.com wrote: what should i do here? i want to pass the ADDR_READ/addr_write into the macro. But i do not know how I can convert it into env-tlb_v_table[mmu_idx][vidx].ADDR_READ/env-tlb_v_table[mmu_idx][vidx].addr_write. I told you what you were

[Qemu-devel] [PATCH] pc.c: better error message on initrd sizing failure

2014-02-02 Thread Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin m...@redhat.com --- hw/i386/pc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/i386/pc.c b/hw/i386/pc.c index 348b15f..e715a33 100644 --- a/hw/i386/pc.c +++ b/hw/i386/pc.c @@ -835,8 +835,8 @@ static void load_linux(FWCfgState *fw_cfg,

Re: [Qemu-devel] [PATCH] pc.c: better error message on initrd sizing failure

2014-02-02 Thread Peter Maydell
On 2 February 2014 20:46, Michael S. Tsirkin m...@redhat.com wrote: Signed-off-by: Michael S. Tsirkin m...@redhat.com --- hw/i386/pc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/i386/pc.c b/hw/i386/pc.c index 348b15f..e715a33 100644 --- a/hw/i386/pc.c +++

Re: [Qemu-devel] [PATCH V10 07/13] quorum: Add quorum_getlength().

2014-02-02 Thread Max Reitz
On 28.01.2014 17:52, Benoît Canet wrote: From: Benoît Canet ben...@irqsave.net Check that every bs file returns the same length. Otherwize, return -EIO to disable the quorum and *Otherwise avoid length discrepancy. Signed-off-by: Benoit Canet ben...@irqsave.net --- block/quorum.c | 26

Re: [Qemu-devel] [PATCH V10 08/13] quorum: Add quorum_invalidate_cache().

2014-02-02 Thread Max Reitz
On 28.01.2014 17:52, Benoît Canet wrote: From: Benoît Canet ben...@irqsave.net Signed-off-by: Benoit Canet ben...@irqsave.net --- block/quorum.c | 11 +++ 1 file changed, 11 insertions(+) Reviewed-by: Max Reitz mre...@redhat.com

[Qemu-devel] 9pfs troubles (was Re: [PATCH 1/4] hw/9pfs: fix error handing in local_ioc_getversion())

2014-02-02 Thread Michael S. Tsirkin
Haven't used 9pfs in a while. I thought these patches are a good time to play with it some more. I have encountered two issues. What I'm doing: host: qemu a75143eda2ddf581b51e96c000974bcdfe2cbd10. /scm/qemu/x86_64-softmmu/qemu-system-x86_64 -enable-kvm -m 1g -cpu kvm64 -smp 2 f20-x64.qcow2

Re: [Qemu-devel] [PATCH V10 09/13] quorum: Add quorum_co_get_block_status.

2014-02-02 Thread Max Reitz
On 28.01.2014 17:52, Benoît Canet wrote: From: Benoît Canet ben...@irqsave.net Signed-off-by: Benoit Canet ben...@irqsave.net --- block/quorum.c | 67 ++ 1 file changed, 67 insertions(+) diff --git a/block/quorum.c b/block/quorum.c

Re: [Qemu-devel] [PATCH v4 0/4] Create ARM KVM VGIC with device control API

2014-02-02 Thread Christoffer Dall
On Fri, Jan 31, 2014 at 02:21:42PM +, Peter Maydell wrote: On 29 January 2014 13:21, Peter Maydell peter.mayd...@linaro.org wrote: On 28 January 2014 20:28, Christoffer Dall christoffer.d...@linaro.org wrote: This patch series adds generic support for issuing device control related

Re: [Qemu-devel] [PATCH V10 10/13] quorum: Add quorum_co_flush().

2014-02-02 Thread Max Reitz
On 28.01.2014 17:52, Benoît Canet wrote: From: Benoît Canet ben...@irqsave.net Makes a vote to select error if any. Signed-off-by: Benoit Canet ben...@irqsave.net --- block/quorum.c | 34 ++ 1 file changed, 34 insertions(+) diff --git a/block/quorum.c

Re: [Qemu-devel] [PATCH V10 11/13] quorum: Implement recursive .bdrv_recurse_is_first_non_filter in quorum.

2014-02-02 Thread Max Reitz
On 28.01.2014 17:52, Benoît Canet wrote: From: Benoît Canet ben...@irqsave.net Signed-off-by: Benoit Canet ben...@irqsave.net --- block/quorum.c | 19 +++ 1 file changed, 19 insertions(+) Reviewed-by: Max Reitz mre...@redhat.com

Re: [Qemu-devel] [PATCH v5 3/8] arm_gic: Fix GIC pending behavior

2014-02-02 Thread Christoffer Dall
On Fri, Jan 31, 2014 at 06:09:20PM +, Peter Maydell wrote: On 28 January 2014 20:32, Christoffer Dall christoffer.d...@linaro.org wrote: [...] This looks broadly right; a couple of comments below. [...] + +static void gic_set_irq_generic(GICState *s, int irq, int level, +

Re: [Qemu-devel] [PATCH v5 4/8] hw: arm_gic: Keep track of SGI sources

2014-02-02 Thread Christoffer Dall
On Fri, Jan 31, 2014 at 06:33:25PM +, Peter Maydell wrote: On 28 January 2014 20:32, Christoffer Dall christoffer.d...@linaro.org wrote: Right now the arm gic emulation doesn't keep track of the source of an SGI (which apparently Linux guests don't use, or they're fine with assuming

Re: [Qemu-devel] [PATCH V10 12/13] quorum: Add quorum_open() and quorum_close().

2014-02-02 Thread Max Reitz
On 28.01.2014 17:52, Benoît Canet wrote: From: Benoît Canet ben...@irqsave.net Example of command line: -drive if=virtio,file.driver=quorum,\ file.children.0.file.filename=1.raw,\ file.children.0.node-name=1.raw,\ file.children.0.driver=raw,\ file.children.1.file.filename=2.raw,\

Re: [Qemu-devel] [PATCH V10 13/13] quorum: Add unit test.

2014-02-02 Thread Max Reitz
On 28.01.2014 17:52, Benoît Canet wrote: Signed-off-by: Benoit Canet ben...@irqsave.net --- tests/qemu-iotests/075 | 85 ++ tests/qemu-iotests/075.out | 27 +++ tests/qemu-iotests/group | 1 + 3 files changed, 113 insertions(+)

[Qemu-devel] [PATCH v6 0/6] Support arm-gic-kvm save/restore

2014-02-02 Thread Christoffer Dall
Implement support to save/restore the ARM KVM VGIC state from the kernel. The basic appraoch is to transfer state from the in-kernel VGIC to the emulated arm-gic state representation and let the standard QEMU vmstate save/restore handle saving the arm-gic state. Restore works by reversing the

[Qemu-devel] [PATCH v6 1/6] arm_gic: Fix GIC pending behavior

2014-02-02 Thread Christoffer Dall
The existing implementation of the pending behavior in gic_set_irq, gic_complete_irq, and the distributor pending set/clear registers does not follow the semantics of the GICv2.0 specs, but may implement the 11MPCore support. Therefore, maintain the existing semantics for 11MPCore and v7M NVIC

[Qemu-devel] [PATCH v6 3/6] arm_gic: Support setting/getting binary point reg

2014-02-02 Thread Christoffer Dall
Add a binary_point field to the gic emulation structure and support setting/getting this register now when we have it. We don't actually support interrupt grouping yet, oh well. Reviewed-by: Peter Maydell peter.mayd...@linaro.org Signed-off-by: Christoffer Dall christoffer.d...@linaro.org ---

[Qemu-devel] [PATCH v6 6/6] hw: arm_gic_kvm: Add KVM VGIC save/restore logic

2014-02-02 Thread Christoffer Dall
Save and restore the ARM KVM VGIC state from the kernel. We rely on QEMU to marshal the GICState data structure and therefore simply synchronize the kernel state with the QEMU emulated state in both directions. We take some care on the restore path to check the VGIC has been configured with

Re: [Qemu-devel] [PATCH v6 0/6] Support arm-gic-kvm save/restore

2014-02-02 Thread Peter Maydell
On 2 February 2014 23:17, Christoffer Dall christoffer.d...@linaro.org wrote: Implement support to save/restore the ARM KVM VGIC state from the kernel. The basic appraoch is to transfer state from the in-kernel VGIC to the emulated arm-gic state representation and let the standard QEMU

[Qemu-devel] [PATCH v6 2/6] hw: arm_gic: Keep track of SGI sources

2014-02-02 Thread Christoffer Dall
Right now the arm gic emulation doesn't keep track of the source of an SGI (which apparently Linux guests don't use, or they're fine with assuming CPU 0 always). Add the necessary matrix on the GICState structure and maintain the data when setting and clearing the pending state of an IRQ and make

[Qemu-devel] [PATCH v6 5/6] arm_gic: Add GICC_APRn state to the GICState

2014-02-02 Thread Christoffer Dall
The GICC_APRn registers are not currently supported by the ARM GIC v2.0 emulation. This patch adds the missing state. Note that we also change the number of APRs to use a define GIC_NR_APRS based on the maximum number of preemption levels. This patch also adds RAZ/WI accessors for the four

[Qemu-devel] [PATCH v6 4/6] vmstate: Add uint32 2D-array support

2014-02-02 Thread Christoffer Dall
Add support for saving VMState of 2D arrays of uint32 values. Reviewed-by: Peter Maydell peter.mayd...@linaro.org Signed-off-by: Christoffer Dall christoffer.d...@linaro.org --- include/migration/vmstate.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/migration/vmstate.h

Re: [Qemu-devel] [PATCH 3/6] cris: Add interrupt signals to the CPU device

2014-02-02 Thread Peter Crosthwaite
On Sun, Feb 2, 2014 at 1:04 PM, edgar.igles...@gmail.com wrote: From: Edgar E. Iglesias edgar.igles...@xilinx.com Signed-off-by: Edgar E. Iglesias edgar.igles...@xilinx.com Reviewed-by: Peter Crosthwaite peter.crosthwa...@xilinx.com --- target-cris/cpu.c | 20

Re: [Qemu-devel] [PATCH 5/6] cris: Remove the CRIS PIC glue

2014-02-02 Thread Peter Crosthwaite
On Sun, Feb 2, 2014 at 1:04 PM, edgar.igles...@gmail.com wrote: From: Edgar E. Iglesias edgar.igles...@xilinx.com Signed-off-by: Edgar E. Iglesias edgar.igles...@xilinx.com Reviewed-by: Peter Crosthwaite peter.crosthwa...@xilinx.com --- hw/cris/Makefile.objs | 1 - hw/cris/pic_cpu.c

Re: [Qemu-devel] [PATCH 4/6] axis-dev88: Connect the PIC upstream IRQs directly to the CPU

2014-02-02 Thread Peter Crosthwaite
On Sun, Feb 2, 2014 at 1:04 PM, edgar.igles...@gmail.com wrote: From: Edgar E. Iglesias edgar.igles...@xilinx.com Signed-off-by: Edgar E. Iglesias edgar.igles...@xilinx.com Reviewed-by: Peter Crosthwaite peter.crosthwa...@xilinx.com --- hw/cris/axis_dev88.c | 7 +++ 1 file changed, 3

Re: [Qemu-devel] [PATCH v6 0/6] Support arm-gic-kvm save/restore

2014-02-02 Thread Christoffer Dall
On Sun, Feb 02, 2014 at 11:31:33PM +, Peter Maydell wrote: On 2 February 2014 23:17, Christoffer Dall christoffer.d...@linaro.org wrote: Implement support to save/restore the ARM KVM VGIC state from the kernel. The basic appraoch is to transfer state from the in-kernel VGIC to the

[Qemu-devel] [PATCH] opencores_eth: flush queue whenever can_receive can go from false to true

2014-02-02 Thread Max Filippov
The following registers control whether MAC can receive frames: - MODER.RXEN bit that enables/disables receiver; - TX_BD_NUM register that specifies number of RX descriptors. Notify QEMU networking core when the MAC is ready to receive frames. Discard frame and raise BUSY interrupt when the frame

[Qemu-devel] [PATCH] configure: use glib in glib pkg-config check.

2014-02-02 Thread Chris Johns
Building against with a recent glib in a custom prefix fails because the gthread cflags in the pkg-config file do not have the correct path while the glib pc file does. Signed-off-by: Chris Johns chr...@rtems.org --- configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

[Qemu-devel] [PATCH] zynq: Request qemu reset when PSS_RESET_CTRL triggered.

2014-02-02 Thread Chris Johns
If 1 is written to the SLCR's PSS_RESET_CTRL register request a qemu reset. The RTEMS BSPs use this bit and if -no-reboot is used qemu exits cleanly. Signed-off-by: Chris Johns chr...@rtems.org --- hw/misc/zynq_slcr.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git

[Qemu-devel] Ahead-Of-Time vs JIT; Caching

2014-02-02 Thread Daniel Zulla
Hello! I would like to ask whether there are any ongoing efforts towards accelerating the QEMU User mode Translation by conducting path exploration; binary decoding (For example supported by an Intel tool like XED2 or academic work like Jakstab) (ahead-of-time, before translation starts) and

[Qemu-devel] Looking for project ideas and mentors for Google Summer of Code 2014

2014-02-02 Thread Stefan Hajnoczi
KVM libvirt: you are welcome to join the QEMU umbrella organization like last year. What is GSoC? Google Summer of Code 2014 (GSoC) provides funding for students to work on open source projects for 12-weeks over the summer. Open source organizations apply to participate and those accepted

[Qemu-devel] [PATCH] arm/zynq: Add software reset

2014-02-02 Thread Sebastian Huber
Signed-off-by: Sebastian Huber sebastian.hu...@embedded-brains.de --- hw/misc/zynq_slcr.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/hw/misc/zynq_slcr.c b/hw/misc/zynq_slcr.c index e42a5b0..433d439 100644 --- a/hw/misc/zynq_slcr.c +++ b/hw/misc/zynq_slcr.c @@

Re: [Qemu-devel] OVMF with q35 (was: osx bootloader)

2014-02-02 Thread Gerd Hoffmann
On Sa, 2014-02-01 at 15:35 +0100, BALATON Zoltan wrote: On Sat, 1 Feb 2014, Alexander Graf wrote: The assert happens inside the guest, so I'm afraid you'll have to add debugging output to edk2. Just print out the port number if port 3 in the code path above. I've come this same