QEMU currently crashes when trying to use a 'pc-dimm' on the pseries
machine without specifying its 'memdev' property. This happens because
pc_dimm_get_memory_region() does not check whether the 'memdev' property
has properly been set by the user. Looking closer at this function, it's
also obvious
On Fri 18-08-17 20:23:05, Michael S. Tsirkin wrote:
> On Thu, Aug 17, 2017 at 11:26:55AM +0800, Wei Wang wrote:
[...]
> > +void walk_free_mem_block(void *opaque1,
> > +unsigned int min_order,
> > +void (*visit)(void *opaque2,
>
> You can just avoid opaque2 c
On Mon 21-08-17 14:12:47, Wei Wang wrote:
> On 08/18/2017 09:46 PM, Michal Hocko wrote:
[...]
> >>+/**
> >>+ * walk_free_mem_block - Walk through the free page blocks in the system
> >>+ * @opaque1: the context passed from the caller
> >>+ * @min_order: the minimum order of free lists to check
> >>
On 08/18/2017 09:46 PM, Michal Hocko wrote:
On Thu 17-08-17 11:26:55, Wei Wang wrote:
This patch adds support to walk through the free page blocks in the
system and report them via a callback function. Some page blocks may
leave the free list after zone->lock is released, so it is the caller's
r
On 21/08/17 14:31, David Gibson wrote:
> On Fri, Aug 18, 2017 at 02:18:53PM +0100, Stefan Hajnoczi wrote:
>> On Fri, Aug 18, 2017 at 03:39:20PM +1000, Alexey Kardashevskiy wrote:
>>> ==94451== 4 of 10
>>> ==94451== max-live:314,649,600 in 150 blocks
>>>
On 08/19/2017 02:10 AM, Michael S. Tsirkin wrote:
On Fri, Aug 18, 2017 at 04:36:06PM +0800, Wei Wang wrote:
On 08/18/2017 10:28 AM, Michael S. Tsirkin wrote:
On Thu, Aug 17, 2017 at 11:26:56AM +0800, Wei Wang wrote:
Add a new vq to report hints of guest free pages to the host.
Signed-off-by:
On 08/19/2017 02:26 AM, Michael S. Tsirkin wrote:
On Fri, Aug 18, 2017 at 04:41:41PM +0800, Wei Wang wrote:
On 08/18/2017 10:13 AM, Michael S. Tsirkin wrote:
On Thu, Aug 17, 2017 at 11:26:56AM +0800, Wei Wang wrote:
Add a new vq to report hints of guest free pages to the host.
Please add some
On 08/21/2017 11:55 AM, Jason Wang wrote:
On 2017年08月21日 09:45, Zhang Chen wrote:
Hi~~ All~
No one review this series for a long time.
Ping...
Looks ok to me. But I don't like patch 1 since it adds more TODO
especially for a non-exist function colo_notify_checkpoint().
I tend to hav
Could you please add a proper description to this bug? Please also try
first whether your problem also occurs with the latest released version
of QEMU (version 2.9 or the 2.10 release candidate), to see whether it
has been fixed there already.
** Changed in: qemu
Status: New => Incomplete
On Sun, Aug 20, 2017 at 07:23:05PM +0200, BALATON Zoltan wrote:
1;4803;0c> Some PPC SoCs have an EHCI with OHCI companion USB controller. To
> emulate this allow the sysbus version of OHCI to be used as a companion.
>
> Signed-off-by: BALATON Zoltan
Reviewed-by: David Gibson
Gerd, if you're h
On Sun, Aug 20, 2017 at 07:23:05PM +0200, BALATON Zoltan wrote:
> Some PPC SoCs have an EHCI with OHCI companion USB controller. Add a
> new type for this similar to types used for other embedded SoCs.
>
> Signed-off-by: BALATON Zoltan
Reviewed-by: David Gibson
Gerd, again, if it's convenient
On Fri, Aug 18, 2017 at 02:18:53PM +0100, Stefan Hajnoczi wrote:
> On Fri, Aug 18, 2017 at 03:39:20PM +1000, Alexey Kardashevskiy wrote:
> > ==94451== 4 of 10
> > ==94451== max-live:314,649,600 in 150 blocks
> > ==94451== tot-alloc: 314,649,600 in 150
On Fri, Aug 18, 2017 at 09:23:53AM +0200, Thomas Huth wrote:
> On 18.08.2017 03:25, David Gibson wrote:
> > On Thu, Aug 17, 2017 at 08:33:10PM +0200, Thomas Huth wrote:
> >> QEMU currently crashes when trying to use a 'pc-dimm' on the pseries
> >> machine without specifying its 'memdev' property. L
[Expired for QEMU because there has been no activity for 60 days.]
** Changed in: qemu
Status: Incomplete => Expired
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1042654
Title:
Floppy disk
On 2017年08月21日 09:45, Zhang Chen wrote:
Hi~~ All~
No one review this series for a long time.
Ping...
Looks ok to me. But I don't like patch 1 since it adds more TODO
especially for a non-exist function colo_notify_checkpoint().
I tend to have it after colo_notify_checkpoint() is implem
On 2017年08月21日 11:28, lu.zhip...@zte.com.cn wrote:
if (!vdev->use_guest_notifier_mask) {
/* TODO: check and handle errors. */
vhost_virtqueue_mask(dev, vdev, idx, false)
-- set right callfd
}
if (k->query_guest_notifiers &&
k->qu
On 2017年08月16日 04:06, Matt Parker wrote:
Both io and memory use the same mmio functions in the rtl8139 device.
This patch removes the separate MemoryRegionOps and old_mmio accessors
for memory, and replaces it with an alias to the io memory region.
Signed-off-by: Matt Parker
---
hw/net/rtl8
>On 2017年08月21日 09:50, ZhiPeng Lu wrote:>> commit
>96a3d98d2cdbd897ff5ab33427aa4cfb94077665 (vhost: don't set vring call>> if no
>vector) set vring call fd to -1 for drivers does not use interrupt>> at
>all(e.g virtio-net pmd). That patch setting vring call fd to -1 cause>> the
>network to not
On 2017年08月21日 09:50, ZhiPeng Lu wrote:
commit 96a3d98d2cdbd897ff5ab33427aa4cfb94077665 (vhost: don't set vring call
if no vector) set vring call fd to -1 for drivers does not use interrupt
at all(e.g virtio-net pmd). That patch setting vring call fd to -1 cause
the network to not work when run
On 2017年08月21日 09:42, Zhang Chen wrote:
Hi~ All~
Someone can review it? Just a ping for this patch.
Thanks
Zhang Chen
Queued this for 2.11.
Thanks
>> +static gpointer iothread_g_main_context_init(gpointer opaque)>> +{>> +
>> AioContext *ctx>> +IOThread *iothread = opaque>> +GSource *source>>
>> +>> +iothread->worker_context = g_main_context_new()>> +>> +ctx =
>> iothread_get_aio_context(iothread)>> +source = aio_get_
On 2017年08月19日 00:38, Eduardo Habkost wrote:
> On Thu, Aug 17, 2017 at 09:37:10AM +0800, Lan Tianyu wrote:
>> On 2017年08月16日 19:21, Paolo Bonzini wrote:
>>> On 16/08/2017 02:22, Lan Tianyu wrote:
Xen vIOMMU device model will be in Xen hypervisor. Skip vIOMMU
check for Xen here when vcpu n
commit 96a3d98d2cdbd897ff5ab33427aa4cfb94077665 (vhost: don't set vring call
if no vector) set vring call fd to -1 for drivers does not use interrupt
at all(e.g virtio-net pmd). That patch setting vring call fd to -1 cause
the network to not work when running dpdk in the guest. The openvswitch port
Hi~~ All~
No one review this series for a long time.
Ping...
Thanks
Zhang Chen
On 07/19/2017 03:29 PM, Zhang Chen wrote:
In this serise, we do a lot of job to optimize COLO net performance.
Mainly focus on TCP protocol.
V3:
- Rebase on upstream.
- Remove origin p2.
- Move the "check
Hi~ All~
Someone can review it? Just a ping for this patch.
Thanks
Zhang Chen
On 07/28/2017 06:03 PM, Zhang Chen wrote:
Because vnet_hdr have a offset to net packet, we must add it when use
virtio-net.
Signed-off-by: Zhang Chen
---
net/filter-rewriter.c | 6 --
1 file changed, 4 in
Hi Eric,
On Fri Aug 11, 2017 at 04:22:33PM +0200, Eric Auger wrote:
> This patch allows doing PCIe passthrough with a guest exposed
> with a vSMMUv3. It implements the replay and notify_flag_changed
> iommu ops. Also on TLB and data structure invalidation commands,
> we replay the mappings so tha
On Sun, 20 Aug 2017, Mark Cave-Ayland wrote:
On 20/08/17 22:59, BALATON Zoltan wrote:
So I'd suggest adding debugging to alloc_tlb() to find out why TLB slot
0 is being chosen again for the 0x8000 mapping even though
free_tlb() hasn't been called for that entry.
I've tried that but it onl
On 20/08/17 22:59, BALATON Zoltan wrote:
>> So I'd suggest adding debugging to alloc_tlb() to find out why TLB slot
>> 0 is being chosen again for the 0x8000 mapping even though
>> free_tlb() hasn't been called for that entry.
>
> I've tried that but it only confirmed what I thought. This is
On 08/20/2017 05:24 PM, Philippe Mathieu-Daudé wrote:
Hi Corey,
On 08/20/2017 06:46 PM, miny...@acm.org wrote:
From: Corey Minyard
This lets an event be added to the SEL as if a sensor had generated
it. The OpenIPMI driver uses it for storing panic event information.
Signed-off-by: Corey Mi
Hi Corey,
On 08/20/2017 06:46 PM, miny...@acm.org wrote:
From: Corey Minyard
This lets an event be added to the SEL as if a sensor had generated
it. The OpenIPMI driver uses it for storing panic event information.
Signed-off-by: Corey Minyard
---
hw/ipmi/ipmi_bmc_sim.c | 24 ++
Hi Zoltan,
On 08/20/2017 02:23 PM, BALATON Zoltan wrote:
This is the PCIX controller found in newer 440 core SoCs e.g. the AMMC
460EX. The device tree refers to this as plb-pcix compared to the
plb-pci controller in older 440 SoCs.
Signed-off-by: BALATON Zoltan
---
hw/ppc/Makefile.objs | 2
On Sun, 20 Aug 2017, Philippe Mathieu-Daudé wrote:
On 08/20/2017 02:23 PM, BALATON Zoltan wrote:
These registers are present in 440 SoCs (and maybe in others too) and
U-Boot accesses them when printing register info. We don't emulate
these but add them to avoid crashing when they are read or wri
Hi Zoltan,
On 08/20/2017 02:23 PM, BALATON Zoltan wrote:
Add emulation of aCube Sam460ex board based on AMCC 460EX embedded SoC.
This is not a full implementation yet with a lot of components still
missing but enough to start a Linux kernel and the U-Boot firmware.
Signed-off-by: François Revol
On Sun, 20 Aug 2017, Mark Cave-Ayland wrote:
Just glancing at the code again it looks like the choice of slot is
determined by alloc_tlb(). It seems there are 64 TLB slots stored in
tlb_info as 2 x 32-bit bitmaps where a 1 bit indicates the slot is free
and a 0 bit indicates the slot is in use.
Hi Zoltan,
On 08/20/2017 02:23 PM, BALATON Zoltan wrote:
These registers are present in 440 SoCs (and maybe in others too) and
U-Boot accesses them when printing register info. We don't emulate
these but add them to avoid crashing when they are read or written.
Your code isn't incorrect but it
From: Corey Minyard
The minimum message size was on the wrong commands, for getting
the time it's zero and for setting the time it's 6.
Signed-off-by: Corey Minyard
---
hw/ipmi/ipmi_bmc_sim.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/ipmi/ipmi_bmc_sim.c b/hw/ip
Resend, with the style issues and the problem that Cédric pointed
out.
Thanks Cédric, for the review.
Changes from v1:
* Get the data from the proper offset in the command array.
* Use {} on all if statements.
From: Corey Minyard
According to the spec, from section "32.3 OEM SEL Record - Type
E0h-FFh", event types from 0x0e to 0xff do not have a timestamp.
So don't set it when adding those types. This required putting
the timestamp in a temporary buffer, since it's still required
to set the last addit
From: Corey Minyard
This lets an event be added to the SEL as if a sensor had generated
it. The OpenIPMI driver uses it for storing panic event information.
Signed-off-by: Corey Minyard
---
hw/ipmi/ipmi_bmc_sim.c | 24
1 file changed, 24 insertions(+)
diff --git a/hw
Add emulation of aCube Sam460ex board based on AMCC 460EX embedded SoC.
This is not a full implementation yet with a lot of components still
missing but enough to start a Linux kernel and the U-Boot firmware.
Signed-off-by: François Revol
Signed-off-by: BALATON Zoltan
---
default-configs/ppcemb
This is the PCIX controller found in newer 440 core SoCs e.g. the AMMC
460EX. The device tree refers to this as plb-pcix compared to the
plb-pci controller in older 440 SoCs.
Signed-off-by: BALATON Zoltan
---
hw/ppc/Makefile.objs | 2 +-
hw/ppc/ppc440_pcix.c | 516 +
This device appears in other SoCs as well not just in 405 ones
Signed-off-by: BALATON Zoltan
Reviewed-by: David Gibson
---
hw/ppc/ppc405_uc.c | 263 ---
hw/ppc/ppc4xx_devs.c| 264
include/hw/pp
These devices are found in newer SoCs based on 440 core e.g. the 460EX
(http://www.embeddeddeveloper.com/assets/processors/amcc/datasheets/
PP460EX_DS2063.pdf)
Signed-off-by: BALATON Zoltan
---
hw/ppc/ppc440.h| 26 +
hw/ppc/ppc440_uc.c | 1305 +++
This is a common generic PCI SATA conroller that is also used in PCs
but more importantly guests running on the Sam460ex board prefer this
card and have a driver for it (unlike for other SATA controllers
already emulated).
Signed-off-by: BALATON Zoltan
---
hw/ide/Makefile.objs | 1 +
hw/ide/si
Make these device models available outside ppc405_uc.c for reuse in
460EX emulation. They are left in their current place for now because
they are used mostly unchanged and I'm not sure these correctly model
the components in 440 SoCs (but they seem to be good enough). These
functions could be move
Signed-off-by: BALATON Zoltan
---
default-configs/ppc-softmmu.mak| 1 +
default-configs/ppc64-softmmu.mak | 1 +
default-configs/ppcemb-softmmu.mak | 1 +
hw/i2c/Makefile.objs | 1 +
hw/i2c/ppc4xx_i2c.c| 216 +
hw/ppc/
This device appears in other SoCs as well not just in 405 ones and
subsequent patches will modify it, so move it out of ppc405_uc.c in
preparation
Signed-off-by: BALATON Zoltan
---
hw/ppc/Makefile.objs | 2 +-
hw/ppc/ppc405.h | 2 +
hw/ppc/ppc405_uc.c | 241 ---
Some PPC SoCs have an EHCI with OHCI companion USB controller. To
emulate this allow the sysbus version of OHCI to be used as a companion.
Signed-off-by: BALATON Zoltan
---
hw/usb/hcd-ohci.c | 15 ---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/hw/usb/hcd-ohci.c b/
Signed-off-by: BALATON Zoltan
---
hw/ppc/ppc405.h | 2 -
hw/ppc/ppc405_uc.c | 5 +-
hw/ppc/ppc4xx_i2c.c | 154 ++--
include/hw/i2c/ppc4xx_i2c.h | 61 ++
4 files changed, 113 insertions(+), 109 deletions(-)
This is the revised version of my series described in the cover letter
of the RFC series:
http://lists.nongnu.org/archive/html/qemu-ppc/2017-08/msg00112.html
This contains reorganisation and fixes suggested by review comments.
Even though I think I haven't changed anything (apart from mostly
movi
Despite its name it is a 440 core CPU
Signed-off-by: BALATON Zoltan
Reviewed-by: David Gibson
---
target/ppc/cpu-models.c | 3 +++
target/ppc/cpu-models.h | 1 +
target/ppc/translate_init.c | 38 ++
3 files changed, 42 insertions(+)
diff --git a/ta
Enough to please U-Boot and make it able to detect SDRAM SPD EEPROMs
Signed-off-by: François Revol
Signed-off-by: BALATON Zoltan
Reviewed-by: David Gibson
---
hw/i2c/ppc4xx_i2c.c | 210 ++--
include/hw/i2c/ppc4xx_i2c.h | 3 +
2 files changed, 1
Allow MAL with more RX and TX channels as found in newer versions.
Signed-off-by: BALATON Zoltan
Reviewed-by: David Gibson
---
hw/ppc/ppc405_uc.c | 2 +-
hw/ppc/ppc4xx_devs.c| 171 +++-
include/hw/ppc/ppc4xx.h | 3 +-
3 files changed, 70
Some PPC SoCs have an EHCI with OHCI companion USB controller. Add a
new type for this similar to types used for other embedded SoCs.
Signed-off-by: BALATON Zoltan
---
hw/usb/hcd-ehci-sysbus.c | 25 +
hw/usb/hcd-ehci.h| 1 +
2 files changed, 26 insertions(+)
dif
These registers are present in 440 SoCs (and maybe in others too) and
U-Boot accesses them when printing register info. We don't emulate
these but add them to avoid crashing when they are read or written.
Signed-off-by: BALATON Zoltan
---
hw/ppc/ppc405_uc.c | 12 +---
1 file changed, 9 i
On 20/08/17 14:35, BALATON Zoltan wrote:
> Anyway, this makes more sense because if the TLB 0 entry is replaced
> like the above log shows then there will be no mapping for the ff7fd648
> address until the next map_region call maps it. On real hardware this
> seems to work but on QEMU this causes
This allows building with "./configure --python=python3", where
the python3 program is at least version 3.6. It preserves
compatibility with Python 2. The changes include:
- Avoiding "print" usage
- Using bytes with files opened in binary mode
- Switching .iteritems() to .items()
- Addin
On Sun, 20 Aug 2017, Mark Cave-Ayland wrote:
I've only spent a small amount of time in PPC MMU land via OpenBIOS but
the obvious thing that stands out here is this:
helper_440_tlbwe word 0 entry 0 value ff7f7210
tlb_flush_nocheck: (count: 36)
helper_440_tlbwe word 1 entry 0 value 007f7000
tlb_fl
On Fri, May 5, 2017 at 7:29 PM, Stefan Hajnoczi wrote:
> On Thu, Apr 27, 2017 at 01:36:30PM +0530, Ashijeet Acharya wrote:
> > This series helps to provide chunk size independence for DMG driver to
> prevent
> > denial-of-service in cases where untrusted files are being accessed by
> the user.
>
Hi Eduardo,
At 08/19/2017 12:48 AM, Eduardo Habkost wrote:
On Thu, Aug 17, 2017 at 01:58:40PM +0800, Dou Liyang wrote:
Hi Igor,
I tested this patch with following guests:
1. RHEL 6.5 with Linux 2.6.32
2. RHEL 7.0 with Linux 3.10.0
3. Fedora 23 with Linux 4.13.0-rc5
4. window 2003 service
5. w
On 08/19/2017 11:40 PM, miny...@acm.org wrote:
> From: Corey Minyard
>
> This lets an event be added to the SEL as if a sensor had generated
> it. The OpenIPMI driver uses it for storing panic event information.
>
> Signed-off-by: Corey Minyard
> ---
> hw/ipmi/ipmi_bmc_sim.c | 23
On 08/19/2017 11:40 PM, miny...@acm.org wrote:
> From: Corey Minyard
>
> According to the spec, event types from 0x0e to 0xff do not have a
> timestamp.
>From section "32.3 OEM SEL Record - Type E0h-FFh"
> So don't set it when adding those types. This required
> putting the timestamp in a te
On 08/19/2017 11:40 PM, miny...@acm.org wrote:
> From: Corey Minyard
>
> The minimum message size was wrong for both commands, for getting
> the time it's zero and for setting the time it's 4. And the data
> was being pulled from the wrong place in the set time message, it
> should be the first
On 20/08/17 00:19, BALATON Zoltan wrote:
> This function is defined in AROS/arch/ppc-sam440/kernel/mmu.c:95 at the
> link below. I think it basically generates tlbwe instructions to set up
> a TLB entry to map the region to a virtual address.
>
>> eg: what is in the MAS registers before the tlbwe
64 matches
Mail list logo