From: Bharata B Rao bhar...@linux.vnet.ibm.com
Keep cpu_model field in MachineState uptodate so that it can be used
from the CPU hotplug path.
Signed-off-by: Bharata B Rao bhar...@linux.vnet.ibm.com
Reviewed-by: David Gibson da...@gibson.dropbear.id.au
Signed-off-by: David Gibson
The sPAPRMachineState structure includes an entry_point field containing
the initial PC value for starting the machine, even though this always has
the value 0x100.
I think this is a hangover from very early versions which bypassed the
firmware when using -kernel. In any case it has no function
On Mon, Jun 15, 2015 at 8:15 AM, fred.kon...@greensocs.com wrote:
From: Peter Maydell peter.mayd...@linaro.org
Implement an I2C slave which implements DDC and returns the
EDID data for an attached monitor.
Signed-off-by: Peter Maydell peter.mayd...@linaro.org
- Rebased on the current
On Tue 23 Jun 2015 06:48:39 PM CEST, Stefan Hajnoczi wrote:
It seems that self.vm.qmp('block-stream', ...) is returning None in
your case. Is that the only test that is failing?
Yes, only this test fails. I have pushed my tree here:
Radim fixed a bug that was causing me a post migration hang, I'm not
sure if it's the same case though, worth trying the patch here:
Thanks, the issue is fixed with this one. I obviously missed the patch
as -stable 4.0.6 was tagged after almost two weeks from the patch`
appearance and does not
On Wed, Jun 24, 2015 at 04:30:14PM +1000, David Gibson wrote:
Hi Alex,
Here are my accumulated spapr related qemu updates for the last little
while. Highlights are a SLOF update and changes to move PCI device
node creation from SLOF into qemu (using the same code paths as for
hotplug).
On Wed, Jun 24, 2015 at 12:30 AM, Liviu Ionescu i...@livius.net wrote:
On 23 Jun 2015, at 23:10, Liviu Ionescu i...@livius.net wrote:
another solution would look like:
DeviceState *dev = my_dev_alloc(NULL, TYPE_MYTYPE);
my_dev_prop_set_string(dev, param, something);
On 31/05/2015 08:11, Peter Crosthwaite wrote:
+/* If not executing code then assume we are ok. */
+if (cpu-current_tb == NULL) {
+return true;
+}
+return cpu-can_do_io != 0;
For what it's worth, I think the if here is dead. Pavel?
Paolo
This patch implements support for Xfer:auxv:read to provide auxiliary vector
information to clients which relies on it.
For example: AT_ENTRY in auxiliary vector provides the entry point information.
Client can use this information to compare it with entry point mentioned in
executable to
When running ESXi under qemu there is an issue with the ESXi guest
discarding packets that are too short. The guest discards any packets
under the normal minimum length for an ethernet packet (60). This
results in odd behaviour where other hosts or VMs on other hosts can
communicate with
On 05/14/2015 10:31 AM, Andrea Arcangeli wrote:
+static int userfaultfd_wake_function(wait_queue_t *wq, unsigned mode,
+ int wake_flags, void *key)
+{
+ struct userfaultfd_wake_range *range = key;
+ int ret;
+ struct userfaultfd_wait_queue *uwq;
On Thu, 06/11 16:29, Fam Zheng wrote:
On Mon, 06/08 14:02, Stefan Hajnoczi wrote:
On Mon, Jun 08, 2015 at 01:56:06PM +0800, Fam Zheng wrote:
v7: Fix the lost assignment of s-unmap.
v6: Fix pnum in bdrv_get_block_status_above. [Paolo]
v5: Rewrite patch 1.
Address Eric's
On 06/23/2015 07:07 PM, Stefan Weil wrote:
Am 23.06.2015 um 12:46 schrieb Paolo Bonzini:
On 23/06/2015 12:30, Peter Maydell wrote:
On 23 June 2015 at 10:55, Ян Завадовский zavadovsky@gmail.com wrote:
On Tue, Jun 23, 2015 at 9:02 AM, Stefan Weil s...@weilnetz.de wrote:
We should add an URL
From: Gonglei arei.gong...@huawei.com
Variable conf going out of scope leaks the storage
it points to in line 856.
Signed-off-by: Gonglei arei.gong...@huawei.com
---
v2:
using an better way to avoid memory leak. (Markus)
---
audio/ossaudio.c | 9 +++--
1 file changed, 3 insertions(+), 6
On Wed, Jun 24, 2015 at 10:47:47AM +0800, Fam Zheng wrote:
On Tue, 06/16 17:07, Stefan Hajnoczi wrote:
On Tue, Jun 02, 2015 at 11:21:51AM +0800, Fam Zheng wrote:
2. Is this about thread safety? (No, it's about exclusive access to a
BDS *within* the AioContext.)
As it has to quiesce
Hi Alex,
Here are my accumulated spapr related qemu updates for the last little
while. Highlights are a SLOF update and changes to move PCI device
node creation from SLOF into qemu (using the same code paths as for
hotplug). This also has some preliminaries for CPU and memory hotplug
on
The ram_limit field was imported from sPAPREnvironment where it predates
the machine's ram size being available generically from machine-ram_size.
Worse, the existing code was inconsistent about where it got the ram size
from. Sometimes it used spapr-ram_limit, sometimes the global 'ram_size'
From: Markus Armbruster arm...@redhat.com
Since we now require GLib 2.22+ (commit f40685c), we don't have to
work around lack of g_hash_table_iter_init() friends anymore.
This reverts commit f8833a37c0c6b22ddd57b45e48cfb0f97dbd5af4.
Signed-off-by: Markus Armbruster arm...@redhat.com
On 23 Jun 2015, at 23:10, Liviu Ionescu i...@livius.net wrote:
another solution would look like:
DeviceState *dev = my_dev_alloc(NULL, TYPE_MYTYPE);
my_dev_prop_set_string(dev, param, something);
my_dev_realize(dev);
my_dev_prop_set_uint32(dev, xyz, 123);
which obviously
On Mon, Jun 15, 2015 at 8:15 AM, fred.kon...@greensocs.com wrote:
From: KONRAD Frederic fred.kon...@greensocs.com
This is the implementation of the DPDMA.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/dma/Makefile.objs | 1 +
hw/dma/xilinx_dpdma.c | 779
On 06/19/2015 02:05 AM, Marcel Apfelbaum wrote:
Clear host multi-queue related features if the peer
doesn't support it.
Signed-off-by: Marcel Apfelbaum mar...@redhat.com
---
Notes:
This fixes a guest CPU soft lock, however the virtio-net
device will not work correctly. It seems that is
On 31/05/2015 08:11, Peter Crosthwaite wrote:
diff --git a/exec.c b/exec.c
index 0cb54f7..71ec173 100644
--- a/exec.c
+++ b/exec.c
@@ -48,7 +48,6 @@
#endif
#include exec/cpu-all.h
#include qemu/rcu_queue.h
-#include exec/cputlb.h
cputlb.h is still needed in exec.c (e.g.
Le 24/06/2015 07:07, Peter Crosthwaite a écrit :
On Mon, Jun 22, 2015 at 12:06 PM, Jean-Christophe Dubois
j...@tribudubois.net wrote:
For now we support:
* timers (GPT and EPIT)
* serial ports
* ethernet (through the newly added FEC emulator)
* I2C (through the newly added
On Mon, Jun 15, 2015 at 8:15 AM, fred.kon...@greensocs.com wrote:
From: KONRAD Frederic fred.kon...@greensocs.com
This introduces a new bus: aux-bus.
It contains an address space for aux slaves devices and a bridge to an I2C bus
for I2C through AUX transactions.
Signed-off-by: KONRAD
The code for -machine pseries maintains a global sPAPREnvironment structure
which keeps track of general state information about the guest platform.
This predates the existence of the MachineState structure, but performs
basically the same function.
Now that we have the generic MachineState, fold
From: Bharata B Rao bhar...@linux.vnet.ibm.com
Add support for ibm,lrdr-capacity since this is needed by the guest
kernel to know about the possible hot-pluggable CPUs and Memory. With
this, pseries kernels will start reporting correct maxcpus in
/sys/devices/system/cpu/possible.
Also define the
From: Greg Kurz gk...@linux.vnet.ibm.com
The tce_list variable is not a TCE but the address to a TCE: we shouldn't
clear permission bits as we do now. And this is dead code anyway since we
check tce_list is 4K aligned a few lines above.
This patch doesn't fix any bug, it is only code cleanup.
From: Greg Kurz gk...@linux.vnet.ibm.com
The fact that these enums have matching values is pure coincidence. We
actually need to translate from the PAPR definition to the QEMU one.
This patch doesn't fix any bug, it is only code cleanup.
Suggested-by: Alexey Kardashevskiy a...@ozlabs.ru
On 2015/06/24 14:57, Michael S. Tsirkin wrote:
Also, if QEMU or the backend is closed unexpectedly, there is no way to
recover without restarting both applications.
This was previously discussed:
https://lists.gnu.org/archive/html/qemu-devel/2014-03/msg00585.html
It doesn't look like any of
On Tue, Jun 23, 2015 at 11:23:16PM +0200, Michael S. Tsirkin wrote:
So any single CPU flag now needs to be added in
- kvm
- qemu
- libvirt
This is in fact already the case, and it will also possibly need
to be added to openstack too.
Next thing libvirt will decide it's a policy thing and
On Mon, Jun 15, 2015 at 8:15 AM, fred.kon...@greensocs.com wrote:
From: KONRAD Frederic fred.kon...@greensocs.com
This does a write to every slaves when the I2C bus get a write to address 0.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
---
hw/i2c/core.c | 46
From: Nikunj A Dadhania nik...@linux.vnet.ibm.com
Device node names should encode the unit address as hex, while the
code was encodind it as integers.
Also, use FDT_NAME_MAX macro for allocating and composing the name.
Signed-off-by: Nikunj A Dadhania nik...@linux.vnet.ibm.com
Reviewed-by:
Currently although we have an sPAPRMachineState descended from MachineState
we don't have an sPAPRMAchineClass descended from MachineClass. So far it
hasn't been needed, but several upcoming features are going to want it,
so this patch creates a stub implementation.
Signed-off-by: Michael Roth
On Mon, Jun 15, 2015 at 8:15 AM, fred.kon...@greensocs.com wrote:
From: KONRAD Frederic fred.kon...@greensocs.com
This introduces a DPCD modules. It wires on a aux-bus and can be accessed by
module
driver to get lane-speed, etc.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
From: Bharata B Rao bhar...@linux.vnet.ibm.com
Reorganize CPU device tree generation code so that it be reused from
hotplug path. CPU dt entries are now generated from spapr_finalize_fdt()
instead of spapr_create_fdt_skel().
Note: This is how the split-up looks like now:
Boot path
-
From: Nikunj A Dadhania nik...@linux.vnet.ibm.com
* phb_index is not being used and if required can be obtained from sphb
* use helper to get drc_index in spapr_populate_pci_child_dt()
* Check if drc_index is zero
Suggested-by: Alexey Kardashevskiy a...@ozlabs.ru
Signed-off-by: Nikunj A Dadhania
From: Greg Kurz gk...@linux.vnet.ibm.com
XICS needs to know the upper value for cpu_index as it is used to compute
the number of servers:
smp_cpus * kvmppc_smt_threads() / smp_threads
When passing -smp cpus=1,threads=9 on a POWER8 host, we end up with:
1 * 8 / 9 = 0
... which leads to
On 06/24/15 07:40, Michael S. Tsirkin wrote:
On Fri, Jun 19, 2015 at 04:40:17AM +0200, Laszlo Ersek wrote:
We have agreed that OpenFirmware device paths in the bootorder fw_cfg
file should follow the pattern
/pci@i0cf8,%x/...
for devices that live behind an extra root bus. The extra root
* Andrey Korolyov (and...@xdel.ru) wrote:
Hello,
during tests against 4.0.5/4.0.6 for the problem described in
https://lists.gnu.org/archive/html/qemu-devel/2015-06/msg03117.html I
had noticed another weird issue: VM hangs after a couple of minutes
after being migrated if the hypervisor is
On 07/06/2015 23:59, Peter Crosthwaite wrote:
This makes it more consistent with all other core code files, which
either just rely on qemu-common.h inclusion or precede cpu.h with
qemu-common.h.
cpu-all.h should not be included in addition to cpu.h. Remove it.
Signed-off-by: Peter
On 31/05/2015 08:11, Peter Crosthwaite wrote:
This is one of very few things in exec-all with a genuine CPU
architecture dependency. Move these hashing helpers to a new
header to trim exec-all.h down to a near architecture-agnostic
header.
The defs are only used by cpu-exec and
From: Nikunj A Dadhania nik...@linux.vnet.ibm.com
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 location
code for that hardware entity.
Populate
From: Nikunj A Dadhania nik...@linux.vnet.ibm.com
Current code missed the Prog IF register. All Class Code, Subclass,
and Prog IF registers are needed to identify the accurate device type.
For example: USB controllers use the PROG IF for denoting: USB
FullSpeed, HighSpeed or SuperSpeed.
From: Bharata B Rao bhar...@linux.vnet.ibm.com
Use max_cpus instead of smp_cpus when intializating xics system. Also
report max_cpus in ibm,interrupt-server-ranges device tree property of
interrupt controller node.
Signed-off-by: Bharata B Rao bhar...@linux.vnet.ibm.com
Signed-off-by: David
On 06/24/2015 10:01 AM, Laszlo Ersek wrote:
On 06/24/15 07:40, Michael S. Tsirkin wrote:
On Fri, Jun 19, 2015 at 04:40:17AM +0200, Laszlo Ersek wrote:
We have agreed that OpenFirmware device paths in the bootorder fw_cfg
file should follow the pattern
/pci@i0cf8,%x/...
for devices that
On Mon, Jun 15, 2015 at 8:15 AM, fred.kon...@greensocs.com wrote:
From: KONRAD Frederic fred.kon...@greensocs.com
This is the implementation of the DisplayPort.
It has an aux-bus to access dpcd and edid needed for the driver to complete.
No need to reference the driver.
Graphic plane is
On Mon, Jun 15, 2015 at 8:15 AM, fred.kon...@greensocs.com wrote:
From: KONRAD Frederic fred.kon...@greensocs.com
This adds the DP and the DPDMA to the Zynq MP.
Signed-off-by: KONRAD Frederic fred.kon...@greensocs.com
Reviewed-by: Peter Crosthwaite peter.crosthwa...@xilinx.com
---
Although you can't currently generate global tags via the make system
it is worth suppressing them in .gitignore so they don't get
accidentally included. Also the clang compile database can be ignored as
this should always be generated from your current make invocation.
Signed-off-by: Alex Bennée
On Tue, Jun 23, 2015 at 14:32:00 +0200, Andreas Färber wrote:
Am 08.06.2015 um 22:18 schrieb Jiri Denemark:
To help libvirt in the transition, a x86-cpu-model-dump script is provided,
that will generate a config file that can be loaded using -readconfig,
based on
the -cpu and -machine
From: Gonglei arei.gong...@huawei.com
in_num = req-elem.in_num, and req-elem.in_num is
checked in line 489, so the check about in_num variable
is superflous, let's drop it.
Signed-off-by: Gonglei arei.gong...@huawei.com
---
hw/block/virtio-blk.c | 3 +--
1 file changed, 1 insertion(+), 2
From: Alexey Kardashevskiy a...@ozlabs.ru
The changelog is:
version: update to 20150429
pci: Use QEMU created PCI device nodes
usb: support 64-bit pci bars
pci: Support 64-bit address translation
pci: program correct bridge limit registers during probe
scsi: handle report-luns
From: Bharata B Rao bhar...@linux.vnet.ibm.com
Factor out bits of sPAPR specific CPU initialization code into
a separate routine so that it can be called from CPU hotplug
path too.
Signed-off-by: Bharata B Rao bhar...@linux.vnet.ibm.com
Signed-off-by: David Gibson da...@gibson.dropbear.id.au
---
From: Nikunj A Dadhania nik...@linux.vnet.ibm.com
The properties reg/assigned-resources need to encode 64-bit memory
address space as part of phys.hi dword.
00 if configuration space
01 if IO region,
10 if 32-bit MEM region
11 if 64-bit MEM region
Signed-off-by: Nikunj A Dadhania
On 23/06/2015 22:10, Liviu Ionescu wrote:
I suggest your review should start from use cases like this:
DeviceState *dev = my_dev_alloc(NULL, TYPE_MYTYPE);
my_dev_prop_set_bool(dev, param, true);
my_dev_construct(OBJECT(dev), NULL);
my_dev_prop_set_uint32(dev, xyz, 123);
On 24 Jun 2015, at 11:29, Peter Crosthwaite peter.crosthwa...@xilinx.com
wrote:
Peter C, is this solution acceptable?
Settable props are generally acceptable, but it is unusual for a
machine init routine.
ok, I managed to restructure my code to get rid of the explicit constructor.
From: Nikunj A Dadhania nik...@linux.vnet.ibm.com
All the PCI enumeration and device node creation was off-loaded to
SLOF. With PCI hotplug support, code needed to be added to add device
node. This creates multiple copy of the code one in SLOF and other in
hotplug code. To unify this, the patch
From: Bharata B Rao bhar...@linux.vnet.ibm.com
When supporting CPU hot removal by parking the vCPU fd and reusing
it during hotplug again, there can be cases where we try to reenable
KVM_CAP_IRQ_XICS CAP for the vCPU for which it was already enabled.
Introduce a boolean member in ICPState to
From: Bharata B Rao bhar...@linux.vnet.ibm.com
Add CPU_FOREACH_REVERSE that walks CPUs in reverse.
Needed for PowerPC CPU device tree reorganization.
Signed-off-by: Bharata B Rao bhar...@linux.vnet.ibm.com
Reviewed-by: Andreas Färber afaer...@suse.de
Signed-off-by: David Gibson
On Tue, Jun 23, 2015 at 06:58:41PM +0200, Laszlo Ersek wrote:
This is (again) for the other pc-q35-2.4 ISA-FDC problem reported by
Jan. Addressing comments from Markus.
Jan, can you give it another try please? I realize this is getting old
pretty quick, so don't bother if you don't want to.
On 06/23/2015 01:49 PM, Michael S. Tsirkin wrote:
On Tue, Jun 23, 2015 at 10:12:17AM +0800, Jason Wang wrote:
On 06/18/2015 11:16 PM, Thibaut Collet wrote:
On Tue, Jun 16, 2015 at 10:05 AM, Jason Wang jasow...@redhat.com
wrote:
On 06/16/2015 03:24 PM, Thibaut Collet wrote:
On 24/06/2015 04:47, Fam Zheng wrote:
2. Is this about thread safety? (No, it's about exclusive access to a
BDS *within* the AioContext.)
As it has to quiesce iothreads as well (for now it's even more urgent than
exclusive access within the same AioContext), I'd rather take it as yes.
For vfio pcie device, we could expose the extended capability on
PCIE bus. in order to avoid config space broken, we introduce
a copy config for parsing extended caps. and rebuild the pcie
extended config space.
Signed-off-by: Chen Fan chen.fan.f...@cn.fujitsu.com
---
hw/vfio/pci.c | 72
the function is used to get affected devices by bus reset.
so here extract it, and can used for aer soon.
Signed-off-by: Chen Fan chen.fan.f...@cn.fujitsu.com
---
hw/vfio/pci.c | 66 +++
1 file changed, 48 insertions(+), 18 deletions(-)
On 08/06/2015 01:06, Peter Crosthwaite wrote:
I suspect you can instead make a header that is included by arch-obj
files, and move a lot of stuff there from include/exec/exec-all.h (for
example all the prototypes that use tb_page_addr_t).
So the problem was I needed this from cpu-qom
On 15/06/2015 18:33, Eric Auger wrote:
Anticipating for the introduction of new add/remove functions taking
a qemu_irq parameter, let's rename existing ones with a gsi suffix.
Signed-off-by: Eric Auger eric.au...@linaro.org
Tested-by: Vikram Sethi vikr...@codeaurora.org
Acked-by: Paolo
On 23/06/2015 22:30, Peter Crosthwaite wrote:
I'm confused. arm_cpu_is_big_endian() tells you whether the CPU
is *currently* big-endian or not. That doesn't help you with
answering the question I'm about to run a signal handler; what
should I set the CPSR.E bit to? in linux-user mode.
On 24 June 2015 at 11:34, Paolo Bonzini pbonz...@redhat.com wrote:
On 24/06/2015 12:21, Peter Maydell wrote:
I think signal_cpsr_e is exactly what you want for AArch32. It sets
CPSR.E in main and setup_return for AArch32.
For AArch64 you don't need anything because, even though the
On Wed, Jun 24, 2015 at 04:31:15PM +0800, Jason Wang wrote:
On 06/23/2015 01:49 PM, Michael S. Tsirkin wrote:
On Tue, Jun 23, 2015 at 10:12:17AM +0800, Jason Wang wrote:
On 06/18/2015 11:16 PM, Thibaut Collet wrote:
On Tue, Jun 16, 2015 at 10:05 AM, Jason Wang
On 2015-06-23 16:38, Yongbok Kim wrote:
Refactor those instructions in order to reuse them for microMIPS32
Release 6.
Rearrange gen_move_low32().
Signed-off-by: Yongbok Kim yongbok@imgtec.com
Reviewed-by: Leon Alrae leon.al...@imgtec.com
---
target-mips/translate.c | 166
this function search the capability from the end, the last
size should 0x100 - pos, not 0xff - pos.
Signed-off-by: Chen Fan chen.fan.f...@cn.fujitsu.com
---
hw/vfio/pci.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c
index e056c49..52e8ad4
For now, for vfio pci passthough devices when qemu receives
an error from host aer report, there just terminate the guest,
but usually user want to know what error occurred but stop the
guest, so this patches add aer capability support for vfio device,
and pass the error to guest, and have guest
On 24/06/2015 12:48, Peter Maydell wrote:
I didn't think SETEND existed at all in AArch64?
No, but the kernel traps it and flips SCTLR.E0E.
Traps what? There is no encoding in A64, unless I'm missing something...
Ah, it's the A64 kernel executing A32 code. So no problem.
Paolo
The miscellaneous commands part of the register is 3 bits wide.
Spotted by Coverity and confirmed in the datasheet, downloadable from
http://cache.freescale.com/files/32bit/doc/ref_manual/MCF5307BUM.pdf
(figure 14-6).
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
hw/char/mcf_uart.c | 2 +-
On 24/06/2015 12:04, Aurelien Jarno wrote:
+static void gen_align(DisasContext *ctx, int opc, int rd, int rs, int rt,
+ int bp)
{
+TCGv t0;
+if (rd == 0) {
+/* Treat as NOP. */
+return;
+}
+t0 = tcg_temp_new();
+gen_load_gpr(t0,
On 24/06/2015 14:31, cauchy-love wrote:
Sorry, but I don't know what does bisect mean exactly.Could you
please explain it? I feel it might be some kernel configuration items
introduce this problem.I am also trying other kernel versions from
2.6.34 to 2.6.38 (2.6.33.3 has good
On 15/06/2015 18:33, Eric Auger wrote:
Now that the platform-bus is instantiated in virt, the ARM sysbus-fdt
infrastructure, the VFIO platform device and its first Calxeda xgmac
specialization also are on the master, let's complete the work by
- enabling the instantiation of the VFIO
add 'aer' property to let user able to decide whether expose
the aer capability. by default we should disable aer feature,
because it needs configuration restrictions.
Signed-off-by: Chen Fan chen.fan.f...@cn.fujitsu.com
---
hw/vfio/pci.c | 2 ++
1 file changed, 2 insertions(+)
diff --git
On 24/06/2015 11:29, Liviu Ionescu wrote:
ok, I managed to restructure my code to get rid of the explicit
constructor. :-)
I also avoided properties aliases, and did prop setting in two steps,
in machine init I set props in MCU, and from here I manually set them
in specific peripherals,
On 24/06/2015 12:21, Peter Maydell wrote:
I think signal_cpsr_e is exactly what you want for AArch32. It sets
CPSR.E in main and setup_return for AArch32.
For AArch64 you don't need anything because, even though the kernel does
trap setend and tweak SCTLR.E0E in response to it,
On 24 June 2015 at 03:50, Peter Crosthwaite
peter.crosthwa...@xilinx.com wrote:
On Mon, Jun 22, 2015 at 10:31 AM, Andreas Färber afaer...@suse.de wrote:
I believe this argument will probably go away; otherwise this should've
been error_abort or something instead of NULL.
I'm not sure. As I
On Wed, Jun 24, 2015 at 11:20:50AM +0200, Jiri Denemark wrote:
On Tue, Jun 23, 2015 at 14:32:00 +0200, Andreas Färber wrote:
Am 08.06.2015 um 22:18 schrieb Jiri Denemark:
To help libvirt in the transition, a x86-cpu-model-dump script is
provided,
that will generate a config file that
On Fri, Jun 19, 2015 at 10:40:21AM +0530, Bharata B Rao wrote:
pc_dimm_plug() has code that will be needed for memory plug handlers
in other archs too. Extract code from pc_dimm_plug() into a generic
routine pc_dimm_memory_plug() that resides in pc-dimm.c. Also
correspondingly refactor
Am 23.06.2015 um 18:40 schrieb Marc-André Lureau:
Fix make test errors of this kind on fedora 22:
linux-test.c:230:19: error: storage size of ‘rusg1’ isn’t known
struct rusage rusg1, rusg2;
Signed-off-by: Marc-André Lureau marcandre.lur...@gmail.com
---
tests/tcg/linux-test.c | 1 +
On 24/06/2015 14:48, Andreas Färber wrote:
I was expecting you to handle cpu_exec_init() through your x86 tree, but
seems that didn't happen. I am going through CPU patches today, so could
take open series but then would need to pick up the ENV_* stuff too,
which I thought would go through
Am 05.06.2015 um 17:05 schrieb Eduardo Habkost:
On Fri, Jun 05, 2015 at 11:51:41PM +0900, Andreas Färber wrote:
Am 25.05.2015 um 15:22 schrieb Peter Crosthwaite:
The callers (most of them in target-foo/cpu.c) to this function all
have the cpu pointer handy. Just pass it to avoid an ENV_GET_CPU
On Wed, 06/24 17:29, arei.gong...@huawei.com wrote:
From: Gonglei arei.gong...@huawei.com
in_num = req-elem.in_num, and req-elem.in_num is
checked in line 489, so the check about in_num variable
is superflous, let's drop it.
Signed-off-by: Gonglei arei.gong...@huawei.com
Reviewed-by: Fam
the vfio_pci_hot_reset differentiate the single and multi in-used
devices for reset. but in multi case, when some dependent devices
are not assigned to VM, the devices can not be recovered by driver.
Signed-off-by: Chen Fan chen.fan.f...@cn.fujitsu.com
---
hw/vfio/pci.c | 13 +
1
when do virtual secondary bus reset, the vfio device under
this bus need to do host bus reset to reset the device.
so add this case.
Signed-off-by: Chen Fan chen.fan.f...@cn.fujitsu.com
---
hw/vfio/pci.c | 31 +++
1 file changed, 31 insertions(+)
diff --git
On Wed, Jun 24, 2015 at 09:52:09AM +0100, Daniel P. Berrange wrote:
On Tue, Jun 23, 2015 at 11:23:16PM +0200, Michael S. Tsirkin wrote:
So any single CPU flag now needs to be added in
- kvm
- qemu
- libvirt
This is in fact already the case, and it will also possibly need
to be
On Wed, Jun 24, 2015 at 12:21:57PM +0200, Michael S. Tsirkin wrote:
On Wed, Jun 24, 2015 at 11:20:50AM +0200, Jiri Denemark wrote:
On Tue, Jun 23, 2015 at 14:32:00 +0200, Andreas Färber wrote:
Am 08.06.2015 um 22:18 schrieb Jiri Denemark:
To help libvirt in the transition, a
On 24/06/2015 12:21, Michael S. Tsirkin wrote:
QEMU provides stable ABI for x86 CPUs only if you use -cpu ...,enforce.
Without enforce the CPU may change everytime a domain is started or
migrated. A small example: let's say a CPU model called Model includes
feature xyz; when QEMU is
On Wed, Jun 24, 2015 at 11:31:37AM +0100, Daniel P. Berrange wrote:
On Wed, Jun 24, 2015 at 12:21:57PM +0200, Michael S. Tsirkin wrote:
On Wed, Jun 24, 2015 at 11:20:50AM +0200, Jiri Denemark wrote:
On Tue, Jun 23, 2015 at 14:32:00 +0200, Andreas Färber wrote:
Am 08.06.2015 um 22:18
On 06/23/2015 04:44 PM, David Gibson wrote:
On Thu, Jun 18, 2015 at 09:37:22PM +1000, Alexey Kardashevskiy wrote:
(cut-n-paste from kernel patchset)
Each Partitionable Endpoint (IOMMU group) has an address range on a PCI bus
where devices are allowed to do DMA. These ranges are called DMA
Spotted by Coverity, because (env-PCXI MASK_PCXI_PCPN) 24
is always zero. The immediately preceding assignment is also
wrong though.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
target-tricore/op_helper.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
On 2015-06-23 16:38, Yongbok Kim wrote:
64-bit paired-single (PS) floating point data type is optional in the
pre-Release 6.
It has to raise RI exception when PS type is not implemented. (FIR.PS = 0)
(The PS data type is removed in the Release 6.)
Signed-off-by: Yongbok Kim
Calling pcie_aer_init to initilize aer related registers for
vfio device, then reload physical related registers to expose
device capability.
Signed-off-by: Chen Fan chen.fan.f...@cn.fujitsu.com
---
hw/vfio/pci.c | 89 +--
1 file changed,
Signed-off-by: Chen Fan chen.fan.f...@cn.fujitsu.com
---
hw/vfio/pci.c | 83 +++
1 file changed, 83 insertions(+)
diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c
index c2af8f1..7cc81ae 100644
--- a/hw/vfio/pci.c
+++ b/hw/vfio/pci.c
@@ -156,6
when the vfio device encounters an uncorrectable error in host,
the vfio_pci driver will signal the eventfd registered by this
vfio device, the results in the qemu eventfd handler getting
invoked.
this patch is to pass the error to guest and have the guest driver
recover from the error.
when init vfio devices done, we should test all the devices supported
aer whether conflict with others. For each one, get the hot reset
info for the affected device list. For each affected device, all
should attach to the VM and on the same slot. also, we should test
all of the non-AER supporting
On Wed 24 Jun 2015 10:02:03 AM CEST, Alberto Garcia wrote:
[A] - [B] - [C] - [D] - [E] - [F] - [G]
[...]
The way it works is that stream_start() reopens the destination image
in read-write mode (if needed), creates the stream_run() coroutine to
copy the data, and finally stream_complete()
1 - 100 of 339 matches
Mail list logo