On 06/04/2015 03:53 AM, Peter Crosthwaite wrote:
On Wed, Jun 3, 2015 at 4:16 AM, Alexey Kardashevskiy wrote:
On 06/01/2015 04:27 AM, Peter Crosthwaite wrote:
On Sun, May 31, 2015 at 6:34 AM, Alexey Kardashevskiy
wrote:
On 05/27/2015 01:22 AM, Alex Williamson wrote:
[cc +alexey]
On Mon,
qemu_set_fd_handler cannot fail, let's always return 0.
Signed-off-by: Fam Zheng
---
util/event_notifier-posix.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/util/event_notifier-posix.c b/util/event_notifier-posix.c
index 8442c6e..ed4ca2b 100644
--- a/util/event_notifier
The function cannot fail, so the check is superfluous.
Signed-off-by: Fam Zheng
---
audio/ossaudio.c | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/audio/ossaudio.c b/audio/ossaudio.c
index 4db2ca6..b9c6b30 100644
--- a/audio/ossaudio.c
+++ b/audio/ossaudio.c
Signed-off-by: Fam Zheng
---
include/qemu/main-loop.h | 8
iohandler.c | 9 -
stubs/set-fd-handler.c | 8
3 files changed, 12 insertions(+), 13 deletions(-)
diff --git a/include/qemu/main-loop.h b/include/qemu/main-loop.h
index 7da1d63..0f4a0fd 100644
---
This callback is called by main loop before polling s->fd, if it returns
false, the fd will not be polled in this iteration.
This is redundant with checks inside read callback. After this patch,
the data will be sent to peer when it arrives. If the device can't
receive, it will be queued to incomi
The function cannot fail, so the check is superfluous.
Signed-off-by: Fam Zheng
---
audio/alsaaudio.c | 16 ++--
1 file changed, 2 insertions(+), 14 deletions(-)
diff --git a/audio/alsaaudio.c b/audio/alsaaudio.c
index 74ead97..ed7655d 100644
--- a/audio/alsaaudio.c
+++ b/audio/alsa
All users are converted to qemu_set_fd_handler now, drop
qemu_set_fd_handler2 and IOHandlerRecord.fd_read_poll.
Signed-off-by: Fam Zheng
---
include/block/aio.h | 2 +-
include/qemu/main-loop.h | 49 +---
iohandler.c | 26 +--
This callback is called by main loop before polling s->fd, if it returns
false, the fd will not be polled in this iteration.
This is redundant with checks inside read callback. After this patch,
the data will be copied from s->fd to s->iov when it arrives. If the
device can't receive, it will be q
This callback is called by main loop before polling s->fd, if it returns
false, the fd will not be polled in this iteration.
This is redundant with checks inside read callback. After this patch,
the data will be sent to peer when it arrives. If the device can't
receive, it will be queued to incomi
The function cannot fail, so the check is superfluous.
Signed-off-by: Fam Zheng
---
hw/xen/xen_backend.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/hw/xen/xen_backend.c b/hw/xen/xen_backend.c
index b2cb22b..2510e2e 100644
--- a/hw/xen/xen_backend.c
+++ b/hw/xen/xen_ba
This callback is called by main loop before polling s->fd, if it returns
false, the fd will not be polled in this iteration.
This is redundant with checks inside read callback. After this patch,
the data will be copied from s->fd to s->msgvec when it arrives. If the
device can't receive, it will b
Achieved by:
- Remembering the server fd with a global variable, in order to access
it from nbd_client_closed.
- Checking nbd_can_accept() and updating server_fd handler whenever
client connects or disconnects.
Signed-off-by: Fam Zheng
Reviewed-by: Paolo Bonzini
---
qemu-nbd.c | 21 ++
Done with following Coccinelle semantic patch, plus manual cosmetic changes in
net/*.c.
@@
expression E1, E2, E3, E4;
@@
- qemu_set_fd_handler2(E1, NULL, E2, E3, E4);
+ qemu_set_fd_handler(E1, E2, E3, E4);
Signed-off-by: Fam Zheng
---
blockdev-nbd.c | 4 ++--
ma
Some qemu_set_fd_handler2 stub callers will be converted to
call qemu_set_fd_handler, add this stub for them before making the
change.
Signed-off-by: Fam Zheng
---
stubs/set-fd-handler.c | 8
1 file changed, 8 insertions(+)
diff --git a/stubs/set-fd-handler.c b/stubs/set-fd-handler.c
i
v4: Remove unnecessary variable "can_send" in 06. [Stefan, Jason]
This carries out the mandate in the comment of qemu_set_fd_handler2 and removes
fd_read_poll from the code base, because it will make the work easier to
convert ppoll to epoll in main loop, as well as convert iohandler to GSource.
A
On Wed, Jun 3, 2015 at 10:08 AM, Paolo Bonzini wrote:
> If a machine_init_done notifier is added late, as part of a hot-plugged
> device, run it immediately.
Blank line?
> Signed-off-by: Paolo Bonzini
Reviewed-by: Peter Crosthwaite
> ---
> vl.c | 6 ++
> 1 file changed, 6 insertions(+)
On Wed, Jun 3, 2015 at 10:08 AM, Paolo Bonzini wrote:
> Suggested-by: Eduardo Habkost
> Acked-by: Andreas Faerber
> Signed-off-by: Paolo Bonzini
Reviewed-by: Peter Crosthwaite
> ---
> include/qom/object.h | 18 ++
> qom/object.c | 16
> 2 files chang
On Wed, Jun 3, 2015 at 10:08 AM, Paolo Bonzini wrote:
> This is a required step to implement read_with_attrs and write_with_attrs.
>
> Signed-off-by: Paolo Bonzini
> ---
> hw/block/pflash_cfi01.c | 96
> ++---
Nice stats.
> 1 file changed, 10 insert
Signed-off-by: Fam Zheng
---
block/vmdk.c | 10 ++
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/block/vmdk.c b/block/vmdk.c
index 3e4d84b..56626b0 100644
--- a/block/vmdk.c
+++ b/block/vmdk.c
@@ -1424,7 +1424,6 @@ static int vmdk_read(BlockDriverState *bs, int64_t
sector
It has the similar issue with b1649fae49a8. Since the calculation
is repeated for a few times already, introduce a function so it can be
reused.
Signed-off-by: Fam Zheng
---
block/vmdk.c | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/block/vmdk.c b/block/vmdk.c
The buggy index_in_cluster was missed in b1649fae49a8. Fix that and dedup the
calculation.
Fam Zheng (2):
vmdk: Fix index_in_cluster calculation in vmdk_co_get_block_status
vmdk: Use vmdk_find_index_in_cluster everywhere
block/vmdk.c | 23 ++-
1 file changed, 14 inserti
On Wed, Jun 3, 2015 at 8:08 PM, Bharata B Rao
wrote:
> On Thu, May 28, 2015 at 09:59:38PM -0700, Peter Crosthwaite wrote:
>> On Thu, May 28, 2015 at 7:27 PM, Bharata B Rao
>> wrote:
>> > All the comments have been addressed and the series has been reviewed
>> > by David, Eduardo and Igor. Can thi
On 05/24/2015 04:37 PM, Aurelien Jarno wrote:
Splitting Q and M out of SR, it's possible to optimize div1 by using
TCG code instead of an helper.
Signed-off-by: Aurelien Jarno
---
target-sh4/cpu.h | 12 +++--
target-sh4/helper.h| 1 -
target-sh4/op_helper.c | 118 ---
On 05/28/2015 12:59 PM, Wen Congyang wrote:
> Ping...
Does anybody have time to review it.
Thanks
Wen Congyang
>
> On 05/21/2015 12:52 PM, Wen Congyang wrote:
>> Block replication is a very important feature which is used for
>> continuous checkpoints(for example: COLO).
>>
>> Usage:
>> Please
Thomas Huth writes:
> On Wed, 3 Jun 2015 16:55:56 +0530
> Nikunj A Dadhania wrote:
>
>> Each hardware instance has a platform unique location code. The OF
>> device tree that describes a part of a hardware entity must include
>> the “ibm,loc-code” property with a value that represents the loca
On 2015-06-04 00:52, Alexander Graf wrote:
> We allocate ram_size / PAGE_SIZE storage keys, so we need to make sure that
> we only access that many. Unfortunately the code can overrun this array by
> one, potentially overwriting unrelated memory.
>
> Fix it by limiting storage keys to their scope.
On 05/24/2015 04:37 PM, Aurelien Jarno wrote:
Signed-off-by: Aurelien Jarno
---
target-sh4/translate.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
Reviewed-by: Richard Henderson
r~
On 05/24/2015 04:37 PM, Aurelien Jarno wrote:
+tcg_gen_sub2_i32(t1, t2, REG(B11_8), t0, REG(B7_4), t0);
+tcg_gen_sub2_i32(REG(B11_8), cpu_sr_t, t1, t2, cpu_sr_t, t0);
Similarly.
r~
On 05/24/2015 04:37 PM, Aurelien Jarno wrote:
-TCGv t0, t1;
-t0 = tcg_temp_new();
+TCGv t0, t1, t2;
+t0 = tcg_const_tl(0);
t1 = tcg_temp_new();
-tcg_gen_add_i32(t0, REG(B7_4), REG(B11_8));
-tcg_gen_add_i32(t1, c
On 05/24/2015 04:37 PM, Aurelien Jarno wrote:
@@ -174,6 +176,16 @@ void superh_cpu_dump_state(CPUState *cs, FILE *f,
env->delayed_pc);
}
}
+static void gen_read_sr(TCGv dst)
+{
+tcg_gen_or_i32(dst, cpu_sr, cpu_sr_t);
+}
Watch the spacing.
/* MOVCO.L
@
Hi,
I'm trying to debug an issue we're having with some debian.org machines
running in QEMU 2.1.2 instances (see [1] for more background). In short,
after a live migration guests running Debian Jessie (linux 3.16) stop
accounting CPU time properly. /proc/stat in the guest shows no increase
in
> On Wednesday, 3 June 2015 4:33 PM, Markus Armbruster wrote:
> Let's go with Michael's v2, because it also fixes the "cleanup
> after mkdir() / mkdtemp() failed" scenario.
-> https://lists.nongnu.org/archive/html/qemu-devel/2015-06/msg00982.html
Ah yes, looks concise. Thank you.
---
Regard
Cc: ext4 maillist
On 06/03/2015 10:06 PM, Stefan Hajnoczi wrote:
> On Tue, Jun 02, 2015 at 02:54:17PM +0200, David Weber wrote:
>> Testcase:
>> # qemu-img create test 500G
>> # time qemu-img map test
>>
>> Systems:
>> O3-3: Kubuntu 15.04 Workstation with stock-kernel 3.19.0-18-generic and
>> stoc
On Thu, May 28, 2015 at 09:59:38PM -0700, Peter Crosthwaite wrote:
> On Thu, May 28, 2015 at 7:27 PM, Bharata B Rao
> wrote:
> > All the comments have been addressed and the series has been reviewed
> > by David, Eduardo and Igor. Can this series be taken in now ?
> >
>
> Andreas' comment on P3 l
Got your point.
Ok, I will roll back the change
Thanks
Feng
-Original Message-
From: Busch, Keith
Sent: Wednesday, June 03, 2015 22:47
To: Tian, Feng; Laszlo Ersek
Cc: edk2-de...@lists.sourceforge.net; Anbazhagan, Baraneedharan; qemu devel list
Subject: RE: [edk2] NVMe question
Sectio
On Wed, 06/03 10:30, Stefan Hajnoczi wrote:
> This reverts commit a0710f7995f914e3044e5899bd8ff6c43c62f916.
>
> In qemu-devel email message <556dbf87.2020...@de.ibm.com>, Christian
> Borntraeger writes:
>
> Having many guests all with a kernel/ramdisk (via -kernel) and
> several null block de
On 06/02/2015 08:54 PM, David Weber wrote:
> Hello,
>
> I'm currently evaluating to switch our virtualization servers to a newer OS.
> This includes a switch from qemu 1.7 to 2.2 or 2.3.
> Our system heavily relies on big sparse images and drive_mirror. While
> testing, I experienced some probl
Ping!
Was there an outcome?
Regards,
Peter
On Fri, May 29, 2015 at 11:34 AM, Eduardo Habkost wrote:
> On Tue, May 26, 2015 at 01:49:56PM +0200, Paolo Bonzini wrote:
>> On 26/05/2015 10:33, Alexander Graf wrote:
>> > How about we have the KVM call today and calmly talk about maintainer
>> > resp
On 06/03/15 22:34, Marcel Apfelbaum wrote:
> On 06/03/2015 01:20 PM, Laszlo Ersek wrote:
>> Maybe we can experiment some more; for example we could start by
>> you explaining to me how exactly to probe for a root bus's presence
>> (you mentioned device 0, but I'll need more than that).
> Well, I
On Wed, May 27, 2015 at 12:37 AM, Alistair Francis
wrote:
> Previously the stream_running() function didn't check
> if the DMA was halted. This caused hangs in recent versions
> of MicroBlaze u-boot. Correct stream_running() to check
> DMASR_HALTED as well as DMACR_RUNSTOP.
>
So I'm stuggling wit
We allocate ram_size / PAGE_SIZE storage keys, so we need to make sure that
we only access that many. Unfortunately the code can overrun this array by
one, potentially overwriting unrelated memory.
Fix it by limiting storage keys to their scope.
Signed-off-by: Alexander Graf
---
target-s390x/mm
When a command fails due to incorrect syntax or input, suggest using
the "help" command to get more information about the command. This
is only applicable for HMP.
Signed-off-by: Bandan Das
Reviewed-by: Markus Armbruster
---
monitor.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/monit
There's too much going on in monitor_parse_command().
Split up the arguments parsing bits into a separate function
monitor_parse_arguments(). Let the original function check for
command validity and sub-commands if any and return data (*cmd)
that the newly introduced function can process and return
v5:
Move "monitor: remove debug prints" to first in the series
Minor fixes to comments and commit messages
v4:
Better name for cmdline index pointer [1/4]
Change comment for monitor_parse_command as suggested in review [1/4]
Fix potential compilation failure in debug print [1/4]
New - Fix failure
Since the "S" argument type is only used with the "?" flag,
the bug can't bite.
Signed-off-by: Bandan Das
Reviewed-by: Markus Armbruster
---
monitor.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/monitor.c b/monitor.c
index 640c05c..5a18844 100644
--- a/monitor.c
+++ b/mo
The preferred solution is to use tracepoints and there
is good chance of bitrot with the debug prints not being
enabled at compile time. Remove them.
Suggested-by: Markus Armbruster
Signed-off-by: Bandan Das
Reviewed-by: Markus Armbruster
---
monitor.c | 20 +---
1 file changed
On 03.06.15 23:09, Aurelien Jarno wrote:
> The two first patches fixes bugs in the target-s390x TCG emulation.
>
> The 3 following patches fix some instruction definition. Given we don't
> emulate a given CPU model and check the instruction availability, they
> don't provide any functional chang
On 06/03/2015 02:09 PM, Aurelien Jarno wrote:
This is needed to pass the gcc.c-torture/execute/ieee/20010114-2.c test
in the gcc testsuite.
Cc: Alexander Graf
Cc: Richard Henderson
Signed-off-by: Aurelien Jarno
---
target-s390x/fpu_helper.c | 31 +++
target-s390x/
On 06/03/2015 02:13 PM, Max Reitz wrote:
> Make use of qcow2_change_refcount_order() to support changing the
> refcount order with qemu-img amend.
>
> Signed-off-by: Max Reitz
> ---
> block/qcow2.c | 44 +++-
> 1 file changed, 35 insertions(+), 9 deletions
On 06/03/2015 02:09 PM, Aurelien Jarno wrote:
mvcp and mvcs helper get access to the physical memory by a call to
mmu_translate for the virtual to real conversion and then using ldb_phys
and stb_phys to physically access the data. In practice this is quite
slow because it bypasses the QEMU softmm
On 06/03/2015 02:13 PM, Max Reitz wrote:
> Add a function qcow2_change_refcount_order() which allows changing the
> refcount order of a qcow2 image.
>
> Signed-off-by: Max Reitz
> ---
> block/qcow2-refcount.c | 447
> +
> block/qcow2.h |
On 06/03/2015 01:44 PM, Max Reitz wrote:
> Signed-off-by: Max Reitz
> ---
> tests/qemu-iotests/118 | 638
> +
> tests/qemu-iotests/118.out | 5 +
> tests/qemu-iotests/group | 1 +
> 3 files changed, 644 insertions(+)
> create mode 100755 tes
On 06/03/2015 02:09 PM, Aurelien Jarno wrote:
The MVC instruction and the memmove C funtion do not have the same
semantic when memory areas overlap:
MVC: When the operands overlap, the result is obtained as if the
operands were processed one byte at a time and each result byte were
stored immedi
From: Michael Roth
This device emulates a firmware abstraction used by pSeries guests to
manage hotplug/dynamic-reconfiguration of host-bridges, PCI devices,
memory, and CPUs. It is conceptually similar to an SHPC device,
complete with LED indicators to identify individual slots to physical
physi
On 3 June 2015 at 22:45, Alexander Graf wrote:
> From: Markus Armbruster
>
> Alexander Graf writes:
>
>> On 09.03.15 19:30, Markus Armbruster wrote:
>>> Alexander Graf writes:
>>>
On 27.02.15 13:43, Markus Armbruster wrote:
> Convert device models "macio-oldworld" and "macio-newworld".
From: Michael Roth
This enables hotplug of PCI devices to a PHB. Upon hotplug we
generate the OF-nodes required by PAPR specification and
IEEE 1275-1994 "PCI Bus Binding to Open Firmware" for the
device.
We associate the corresponding FDT for these nodes with the DRC
corresponding to the slot, w
From: Nathan Fontenot
This extends the data structures currently used to report EPOW events to
guests via the check-exception RTAS interfaces to also include event types
for hotplug/unplug events.
This is currently undocumented and being finalized for inclusion in PAPR
specification, but we impl
From: Michael Roth
This adds a general overview of hotplug/dynamic-reconfiguration
for sPAPR/pSeries guest.
As specified in PAPR+ v2.7.
Signed-off-by: Michael Roth
Reviewed-by: David Gibson
Signed-off-by: David Gibson
Signed-off-by: Alexander Graf
---
docs/specs/ppc-spapr-hotplug.txt | 287
From: Paolo Bonzini
At 8k per TLB (for 64-bit host or target), 8 or more modes
make the TLBs bigger than 64k, and some RISC TCG backends do
not like that. On the affected hosts, cut the TLB size in
half---there is still a measurable speedup on PPC with the
next patch.
Signed-off-by: Paolo Bonzi
From: Paolo Bonzini
This will be used to size the TLB when more than 8 MMU modes are
used by the target. Limitations come from the limited size of
the immediate fields (which sometimes, as in the case of Aarch64,
extend to instructions that shift the immediate).
Signed-off-by: Paolo Bonzini
Me
On 03.06.15 23:53, Peter Maydell wrote:
> On 3 June 2015 at 22:45, Alexander Graf wrote:
>> From: Markus Armbruster
>>
>> Alexander Graf writes:
>>
>>> On 09.03.15 19:30, Markus Armbruster wrote:
Alexander Graf writes:
> On 27.02.15 13:43, Markus Armbruster wrote:
>> Convert
From: Tyrel Datwyler
We don't actually rely on this interface to surface hotplug events, and
instead rely on the similar-but-interrupt-driven check-exception RTAS
interface used for EPOW events. However, the existence of this interface
is needed to ensure guest kernels initialize the event-report
From: Nathan Fontenot
These interfaces manage the power domains that guest devices are
assigned to and are used to power on/off devices. Currently we
only utilize 1 power domain, the 'live-insertion' domain, which
automates power management of plugged/unplugged devices, essentially
making these c
From: Michael Roth
This option enables/disables PCI hotplug for a particular PHB.
Also add machine compatibility code to disable it by default for machine
types prior to pseries-2.4.
Signed-off-by: Michael Roth
Reviewed-by: David Gibson
Signed-off-by: David Gibson
[agraf: move commas for com
From: Mike Day
This interface allows a guest to control various platform/device
sensors. Initially, we only implement support necessary to control
sensors that are required for hotplug: DR connector indicators/LEDs,
resource allocation state, and resource isolation state.
See docs/specs/ppc-spap
From: David Gibson
qemu currently implements the hypercalls H_LOGICAL_CI_LOAD and
H_LOGICAL_CI_STORE as PAPR extensions. These are used by the SLOF firmware
for IO, because performing cache inhibited MMIO accesses with the MMU off
(real mode) is very awkward on POWER.
This approach breaks when
From: David Gibson
At Alex Graf's request I'm now acting as sub-maintainer for the sPAPR
(-machine pseries) code. This updates MAINTAINERS accordingly.
While we're at it, change the label to mention pseries since that's the
actual name of the machine type, even if most of the C files use the sP
From: David Gibson
Now that 2.4 development has opened, create a new pseries machine type
variant. For now it is identical to the pseries-2.3 machine type, but
a number of new features are coming that will need to set backwards
compatibility options.
Signed-off-by: David Gibson
Signed-off-by:
From: Alexey Kardashevskiy
This replaces object_child_foreach() and callback with existing
SPAPR_PCI_LIOBN() and spapr_tce_find_by_liobn() to make the code easier
to read.
This is a mechanical patch so no behaviour change is expected.
Signed-off-by: Alexey Kardashevskiy
Signed-off-by: David Gi
From: Thomas Huth
hw_error() is designed for printing CPU-related error messages
(e.g. it also prints a full CPU register dump). For error messages
that are not directly related to CPU problems, a function like
error_report() should be used instead.
Signed-off-by: Thomas Huth
Signed-off-by: Dav
From: Michael Roth
This function handles generation of ibm,drc-* array device tree
properties to describe DRC topology to guests. This will by used
by the guest to direct RTAS calls to manage any dynamic resources
we associate with a particular DR Connector as part of
hotplug/unplug.
Since gener
From: Michael Roth
This interface is used to fetch an OF device-tree nodes that describes a
newly-attached device to guest. It is called multiple times to walk the
device-tree node and fetch individual properties into a 'workarea'/buffer
provided by the guest.
The device-tree is generated by QEM
From: Thomas Huth
When specifying a non-existing file with the "-bios" parameter, QEMU
complained that it "could not find LPAR rtas". That's obviously a
copy-n-paste bug from the code which loads the spapr-rtas.bin, it
should complain about a missing firmware file instead.
Additionally the error
From: Alexey Kardashevskiy
We are going to have multiple DMA windows per PHB and we want them to
migrate so we need a predictable way of assigning LIOBNs.
This introduces a macro which makes up a LIOBN from fixed prefix,
PHB index (unique PHB id) and window number.
This introduces a SPAPR_PCI_D
From: Alexey Kardashevskiy
Useful for debugging.
Signed-off-by: Alexey Kardashevskiy
Signed-off-by: David Gibson
Signed-off-by: Alexander Graf
---
hw/ppc/spapr_iommu.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/hw/ppc/spapr_iommu.c b/hw/ppc/spapr_iommu.c
index c17
From: Nikunj A Dadhania
Machines types can have different requirement for default ram
size. Introduce a member in the machine class and set the current
default_ram_size to 128MB.
For QEMUMachine types override the value during the registration of
the machine and for MachineClass introduce the ge
From: Paolo Bonzini
tcg-target.h does not use any QEMU-specific symbols, save for tci's usage
of CPUArchState. Pull that up to tcg/tcg.h.
This will make it possible to include tcg-target.h in cpu-defs.h.
Signed-off-by: Paolo Bonzini
Reviewed-by: Richard Henderson
Signed-off-by: Alexander Gra
From: Alexey Kardashevskiy
This makes find_phb()/find_dev() public and changed its names
to spapr_pci_find_phb()/spapr_pci_find_dev() as they are going to
be used from other parts of QEMU such as VFIO DDW (dynamic DMA window)
or VFIO PCI error injection or VFIO EEH handling - in all these
cases t
From: Alexey Kardashevskiy
This introduces a macro which makes up a LIOBN from fixed prefix and
VIO device address (@reg property).
This is to keep LIOBN macros rendering consistent - the same macro for
PCI has been added by the previous patch.
Signed-off-by: Alexey Kardashevskiy
Reviewed-by:
From: Alexey Kardashevskiy
This gets rid of a magic constant describing the default DMA window size
for an emulated PHB.
Signed-off-by: Alexey Kardashevskiy
Signed-off-by: David Gibson
Signed-off-by: Alexander Graf
---
hw/ppc/spapr_pci.c | 6 +++---
include/hw/pci-host/spapr.h | 2 +
From: Alexey Kardashevskiy
PAPR is defined as big endian so TCEs need an adjustment so
does this patch.
This changes code to have ldq_be_phys() in one place.
Signed-off-by: Alexey Kardashevskiy
Reviewed-by: David Gibson
Signed-off-by: David Gibson
Signed-off-by: Alexander Graf
---
hw/ppc/s
From: Nikunj A Dadhania
Signed-off-by: Nikunj A Dadhania
Reviewed-by: Igor Mammedov
Reviewed-by: Thomas Huth
Acked-by: David Gibson
Signed-off-by: David Gibson
Signed-off-by: Alexander Graf
---
hw/ppc/spapr.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr
From: Alexey Kardashevskiy
At the moment spapr_tce_find_by_liobn() is used by H_PUT_TCE/...
handlers to find an IOMMU by LIOBN.
We are going to implement Dynamic DMA windows (DDW), new code
will go to a new file and we will use spapr_tce_find_by_liobn()
there too so let's make it public.
Signed
From: Tyrel Datwyler
This uses extension of existing EPOW interrupt/event mechanism
to notify userspace tools like librtas/drmgr to handle
in-guest configuration/cleanup operations in response to
device_add/device_del.
Userspace tools that don't implement this extension will need
to be run manua
From: Thomas Huth
The check "liobn & 0xULL" in spapr_tce_find_by_liobn()
is completely useless since liobn is only declared as an uint32_t
parameter. Fix this by using target_ulong instead (this is what most
of the callers of this function are using, too).
Signed-off-by: Thomas H
From: David Gibson
spapr_pci.c contains a number of expressions of the form (uval == -1) or
(uval != -1), where 'uval' is an unsigned value.
This mostly works in practice, because as long as the width of uval is
greater or equal than that of (int), the -1 will be promoted to the
unsigned type, w
From: Alexey Kardashevskiy
The existing KVM_CREATE_SPAPR_TCE ioctl only support 4G windows max as
the window size parameter to the kernel ioctl() is 32-bit so
there's no way of expressing a TCE window > 4GB.
We are going to add huge DMA windows support so this will create small
window and unexpe
From: Michael Roth
This is similar to the existing rtas_st_buffer(), but for cases
where the guest is not expecting a length-encoded byte array.
Namely, for calls where a "work area" buffer is used to pass
around arbitrary fields/data.
Signed-off-by: Michael Roth
Reviewed-by: David Gibson
Sign
From: Mike Day
This interface allows a guest to read various platform/device sensors.
initially, we only implement support necessary to support hotplug:
reading of the dr-entity-sense sensor, which communicates the state of
a hotplugged resource/device to the guest (EMPTY/PRESENT/UNUSABLE).
See
From: Michael Roth
These will be used to support hotplug/unplug of PCI devices to the PCI
bus associated with a particular PHB.
We also set up device-tree properties in each PHBs initial FDT to
describe the DRCs associated with them. This advertises to guests that
each PHB is DR-capable device w
From: Michael Roth
We need to work with PCI BARs to generate OF properties
during PCI hotplug for sPAPR guests.
Signed-off-by: Michael Roth
Reviewed-by: David Gibson
Acked-by: Michael S. Tsirkin
Signed-off-by: David Gibson
Signed-off-by: Alexander Graf
---
hw/pci/pci.c | 2 +-
incl
Hi Peter,
This is my current patch queue for ppc. Please pull.
Alex
The following changes since commit 3fc827d591679f3e262b9d1f8b34528eabfca8c0:
target-arm: Correct check for non-EL3 (2015-06-02 13:22:29 +0100)
are available in the git repository at:
git://github.com/agraf/qemu.git tags
From: Thomas Huth
Some recent patches require a function from libfdt version 1.4.0,
so we should check for this version during the configure step
already. Unfortunately, there does not seem to be a proper #define
for the version number in the libfdt headers. So alternatively,
we check for the ava
From: Alexey Kardashevskiy
This is to reduce VIO noise while debugging PCI DMA.
Signed-off-by: Alexey Kardashevskiy
Signed-off-by: David Gibson
Signed-off-by: Alexander Graf
---
hw/ppc/spapr_iommu.c | 27 ---
include/hw/ppc/spapr.h | 1 +
trace-events |
From: Thomas Huth
Since some recent patches require libfdt version 1.4.0,
let's update the dtc submodule to this version.
Signed-off-by: Thomas Huth
Signed-off-by: Alexander Graf
---
dtc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dtc b/dtc
index bc895d6..65cc4d2 16000
From: Markus Armbruster
Alexander Graf writes:
> On 09.03.15 19:30, Markus Armbruster wrote:
>> Alexander Graf writes:
>>
>>> On 27.02.15 13:43, Markus Armbruster wrote:
Convert device models "macio-oldworld" and "macio-newworld".
Signed-off-by: Markus Armbruster
---
On 06/03/2015 02:09 PM, Aurelien Jarno wrote:
s390_cpu_handle_mmu_fault currently looks at the current ASC mode
defined in PSW mask instead of the MMU index. This prevent emulating
easily instructions using a specific ASC mode. Fix that by using the
MMU index converted back to ASC using the just
On 06/03/2015 02:09 PM, Aurelien Jarno wrote:
Use constants to define the MMU indexes, and add a function to do
the reverse conversion of cpu_mmu_index.
Cc: Alexander Graf
Cc: Richard Henderson
Signed-off-by: Aurelien Jarno
---
target-s390x/cpu.h | 25 ++---
1 file changed
On 06/03/2015 02:09 PM, Aurelien Jarno wrote:
It is part of the basic zArchitecture instructions.
Cc: Alexander Graf
Cc: Richard Henderson
Signed-off-by: Aurelien Jarno
---
target-s390x/helper.h | 1 +
target-s390x/insn-data.def | 2 ++
target-s390x/mem_helper.c | 39
On 06/03/2015 01:44 PM, Max Reitz wrote:
> Introduce a new QMP command 'blockdev-change-medium' which is intended
> to replace the 'change' command for block devices. The existing function
> qmp_change_blockdev() is accordingly renamed to
> qmp_blockdev_change_medium().
>
> Signed-off-by: Max Reit
1 - 100 of 507 matches
Mail list logo