Signed-off-by: Emilio G. Cota
---
tcg/tcg-op.c | 5 +
tcg/tcg-op.h | 18 ++
tcg/tcg-opc.h | 5 +
3 files changed, 28 insertions(+)
diff --git a/tcg/tcg-op.c b/tcg/tcg-op.c
index 45098c3..6d5b1df 100644
--- a/tcg/tcg-op.c
+++ b/tcg/tcg-op.c
@@ -57,6 +57,11 @@ static vo
Signed-off-by: Emilio G. Cota
---
tcg/tcg.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/tcg/tcg.h b/tcg/tcg.h
index 8d30d61..9a873ac 100644
--- a/tcg/tcg.h
+++ b/tcg/tcg.h
@@ -599,6 +599,7 @@ void tb_lock(void);
void tb_unlock(void);
bool tb_lock_recursive(void);
void tb_lock_reset(voi
On some parallel workloads this gives up to a 15% speed improvement.
Signed-off-by: Emilio G. Cota
---
include/qemu/thread-posix.h | 47 ++
include/qemu/thread.h | 6 --
util/qemu-thread-posix.c| 50 +-
So that the declaration of tb_lock can be found.
Signed-off-by: Emilio G. Cota
---
hw/i386/kvmvapic.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/i386/kvmvapic.c b/hw/i386/kvmvapic.c
index 1c3b5b6..a9a33fd 100644
--- a/hw/i386/kvmvapic.c
+++ b/hw/i386/kvmvapic.c
@@ -13,6 +13,7 @@
#in
Signed-off-by: Emilio G. Cota
---
tcg/tcg-op.h | 10 ++
1 file changed, 10 insertions(+)
diff --git a/tcg/tcg-op.h b/tcg/tcg-op.h
index 52482c0..3ec9f13 100644
--- a/tcg/tcg-op.h
+++ b/tcg/tcg-op.h
@@ -716,6 +716,16 @@ static inline void tcg_gen_fence_full(void)
tcg_gen_op0(&tcg_ctx
Signed-off-by: Emilio G. Cota
---
linux-user/syscall.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index f62c698..732936f 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -4513,6 +4513,7 @@ static void *clone_func(void *arg)
This will be used by the atomic instruction emulation code.
Signed-off-by: Emilio G. Cota
---
softmmu_template.h | 48
tcg/tcg.h | 5 +
2 files changed, 53 insertions(+)
diff --git a/softmmu_template.h b/softmmu_template.h
index b66
Signed-off-by: Emilio G. Cota
---
util/qemu-thread-posix.c | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/util/qemu-thread-posix.c b/util/qemu-thread-posix.c
index 04dae0f..3760e27 100644
--- a/util/qemu-thread-posix.c
+++ b/util/qemu-thread-posix.c
@@ -303,7 +303
Note that user-only uses mmap_lock for this.
Signed-off-by: Emilio G. Cota
---
translate-all.c | 31 +++
1 file changed, 23 insertions(+), 8 deletions(-)
diff --git a/translate-all.c b/translate-all.c
index e7b4a31..8f8c402 100644
--- a/translate-all.c
+++ b/translat
This will be used by atomic instruction emulation code.
Signed-off-by: Emilio G. Cota
---
include/qemu/radix-tree.h | 29 ++
util/Makefile.objs| 2 +-
util/radix-tree.c | 75 +++
3 files changed, 105 insertions(+), 1 de
Signed-off-by: Emilio G. Cota
---
aie-helper.c | 112 ++
include/exec/cpu-defs.h | 5 +++
include/qemu/aie-helper.h | 6 +++
3 files changed, 123 insertions(+)
create mode 100644 aie-helper.c
create mode 100644 include/qemu/aie-help
Hi all,
Here is MTTCG code I've been working on out-of-tree for the last few months.
The patchset applies on top of pbonzini's mttcg branch, commit ca56de6f.
Fetch the branch from: https://github.com/bonzini/qemu/commits/mttcg
The highlights of the patchset are as follows:
- The first 5 patches
Signed-off-by: Emilio G. Cota
---
include/exec/gen-icount.h | 1 +
translate-all.c | 2 ++
2 files changed, 3 insertions(+)
diff --git a/include/exec/gen-icount.h b/include/exec/gen-icount.h
index 05d89d3..f429821 100644
--- a/include/exec/gen-icount.h
+++ b/include/exec/gen-icount.h
@
Signed-off-by: Emilio G. Cota
---
tcg/i386/tcg-target.c | 20
1 file changed, 20 insertions(+)
diff --git a/tcg/i386/tcg-target.c b/tcg/i386/tcg-target.c
index 887f22f..6600c45 100644
--- a/tcg/i386/tcg-target.c
+++ b/tcg/i386/tcg-target.c
@@ -1123,6 +1123,13 @@ static void
Signed-off-by: Emilio G. Cota
---
Makefile.target| 1 +
aie.c | 57 ++
include/qemu/aie.h | 49 ++
translate-all.c| 2 ++
4 files changed, 109 insertions(+)
create mode 100644 a
Signed-off-by: Emilio G. Cota
---
include/qemu/rcu.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/qemu/rcu.h b/include/qemu/rcu.h
index 7df1e86..f6d1d56 100644
--- a/include/qemu/rcu.h
+++ b/include/qemu/rcu.h
@@ -71,7 +71,7 @@ struct rcu_reader_data {
/* Data
Signed-off-by: Emilio G. Cota
---
cpu-exec.c| 34 --
include/qom/cpu.h | 1 +
2 files changed, 29 insertions(+), 6 deletions(-)
diff --git a/cpu-exec.c b/cpu-exec.c
index fd57b9c..a1700ac 100644
--- a/cpu-exec.c
+++ b/cpu-exec.c
@@ -371,6 +371,29 @@ stati
Otherwise after an exception we end up in a deadlock.
Signed-off-by: Emilio G. Cota
---
bsd-user/mmap.c | 12
cpu-exec.c | 1 +
include/exec/exec-all.h | 2 ++
linux-user/mmap.c | 8
4 files changed, 23 insertions(+)
diff --git a/bsd-user/mmap
On 23/08/2015 17:23, Emilio G. Cota wrote:
> So that it applies to usermode as well.
>
> Signed-off-by: Emilio G. Cota
> ---
> cpu-exec.c | 2 ++
> cpus.c | 1 -
> 2 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/cpu-exec.c b/cpu-exec.c
> index b8a11e1..2b9a447 100644
> --
This paves the way for a lockless tb_find_fast.
Signed-off-by: Emilio G. Cota
---
cpu-exec.c| 8 +++-
exec.c| 2 ++
include/qom/cpu.h | 15 +++
qom/cpu.c | 2 +-
translate-all.c | 32 +++-
5 files changed, 56 insertions
Signed-off-by: Emilio G. Cota
---
translate-all.c | 28
1 file changed, 28 insertions(+)
diff --git a/translate-all.c b/translate-all.c
index df65c83..e7b4a31 100644
--- a/translate-all.c
+++ b/translate-all.c
@@ -252,6 +252,8 @@ static int cpu_restore_state_from_tb(
Signed-off-by: Emilio G. Cota
---
aie-helper.c | 3 +-
linux-user/main.c | 4 +-
target-i386/cpu.h | 3 -
target-i386/excp_helper.c | 7 ++
target-i386/helper.h | 6 +-
target-i386/mem_helper.c | 39 +++--
target-i386/translate.c | 217 +
On 23/08/2015 17:24, Emilio G. Cota wrote:
> Note that user-only uses mmap_lock for this.
>
> Signed-off-by: Emilio G. Cota
Why is this needed? The RCU-like page_find should work just fine.
Paolo
> ---
> translate-all.c | 31 +++
> 1 file changed, 23 insertions(
While at it, add an assertion in tb_flush to check for tb_lock
being held.
Signed-off-by: Emilio G. Cota
---
translate-all.c | 40 +++-
1 file changed, 11 insertions(+), 29 deletions(-)
diff --git a/translate-all.c b/translate-all.c
index f3f7fb2..378517d 100
Signed-off-by: Emilio G. Cota
---
cputlb.c | 39 +++
1 file changed, 11 insertions(+), 28 deletions(-)
diff --git a/cputlb.c b/cputlb.c
index d81a4eb..717a856 100644
--- a/cputlb.c
+++ b/cputlb.c
@@ -145,41 +145,24 @@ void tlb_flush_page(CPUState *cpu, target_
This avoids the chance of reading a corrupted list of CPUs in usermode.
Note: this breaks hw/ppc/spapr due to the removal of CPU_FOREACH_REVERSE.
Signed-off-by: Emilio G. Cota
---
exec.c | 16 ++--
include/qom/cpu.h| 15 +++
linux-user/main.c| 2 +-
Signed-off-by: Emilio G. Cota
---
cputlb.c | 41 +++--
1 file changed, 11 insertions(+), 30 deletions(-)
diff --git a/cputlb.c b/cputlb.c
index 1b3673e..d81a4eb 100644
--- a/cputlb.c
+++ b/cputlb.c
@@ -73,43 +73,24 @@ void tlb_flush(CPUState *cpu, int flush_gl
Signed-off-by: Emilio G. Cota
---
cpu-exec.c | 9 ++---
exec.c | 2 +-
hw/openrisc/cputimer.c | 2 +-
qom/cpu.c | 4 ++--
target-arm/helper-a64.c| 2 +-
target-arm/helper.c
On 23/08/2015 17:24, Emilio G. Cota wrote:
> This reverts commit 81f3053b77f7d3a4d9100c425cd8cec99ee7a3d4.
>
> The interrupt raised by the change in the commit above
> kills performance when running many idling VCPUs. For example,
> on my 64-core host when running a workload where cores are
> id
This reverts commit 81f3053b77f7d3a4d9100c425cd8cec99ee7a3d4.
The interrupt raised by the change in the commit above
kills performance when running many idling VCPUs. For example,
on my 64-core host when running a workload where cores are
idling often (e.g. blackscholes), performance drops signifi
This will allow us to safely look up TB's without taking any locks.
Note however that tb_lock protects the valid field, so if chaining
is an option then we'll have to acquire the lock.
Signed-off-by: Emilio G. Cota
---
cpu-exec.c | 23 +++---
include/exec/exec-all.h
Using ccache with CCACHE_BASEDIR set to $(SRC_PATH) or a parent will
rewrite all absolute paths to relative paths. This interacts poorly with
QEMU's two-level build directory scheme. For example, lets say
BUILD_DIR=$(SRC_PATH)/build so build/blockdev.d will contain:
blockdev.o: ../blockdev.c ../
It has no callers left.
Signed-off-by: Emilio G. Cota
---
cpu-exec.c| 10 -
cpus.c| 64 +--
include/qom/cpu.h | 24 +
3 files changed, 2 insertions(+), 96 deletions(-)
diff --git a/cpu-exec.c b/c
On 23/08/2015 17:24, Emilio G. Cota wrote:
> Signed-off-by: Emilio G. Cota
> ---
> cputlb.c | 41 +++--
> 1 file changed, 11 insertions(+), 30 deletions(-)
As suggested by me and Peter, synchronization on TLB flushes should be
arch-specific. CPUs can halt o
This is similar in intent to the async_safe_work mechanism. The main
differences are:
- Work is run on a single CPU thread *after* all others are put to sleep
- Sleeping threads are woken up by the worker thread upon completing its job
- A flag as been added to tcg_ctx so that only one thread ca
On 23/08/2015 17:23, Emilio G. Cota wrote:
> +case INDEX_op_fence_load:
> +tcg_out_fence(s, 0xe8);
> +break;
> +case INDEX_op_fence_full:
> +tcg_out_fence(s, 0xf0);
> +break;
> +case INDEX_op_fence_store:
> +tcg_out_fence(s, 0xf8);
> +br
The hash table size allocated to guest depends on the maxmem size.
If the host isn't able to allocate the required hash table size but
instead allocates less than the optimal requested size, then it will
not be possible to grow the RAM until maxmem via memory hotplug.
Attempts to hotplug memory til
On 23/08/2015 17:23, Emilio G. Cota wrote:
> Otherwise after an exception we end up in a deadlock.
Can you explain better the path that exits cpu_exec with the lock taken?
Also, let's remove the recursive locking by introducing "mmap_lock()
already taken" variants of target_mprotect and target_
On 22.08.15 08:32, Cormac O'Brien wrote:
> This patchset greatly improves QEMU's ability to run Mac OS 9 on the mac99
> machine, allowing progress past the bootloader and partial progress through
> the load screen.
>
> Signed-off-by: Cormac O'Brien
You don't need to SoB your cover letter ;).
On 21/08/2015 15:54, Eduardo Habkost wrote:
> > +if (tcg_enabled()) {
> > +memory_region_add_subregion_overlap(cpu->cpu_as_root,
> > +apic->apicbase &
> > +MSR_IA32_APICBASE_BASE,
> > +
Only grab tb_lock when new code has to be generated.
Note that due to the RCU usage we lose the ability to move
recently-found TB's to the beginning of the slot's list.
We could in theory try to do something smart about this,
but given that each CPU has a private tb_jmp_cache, it
might be OK to ju
On 23/08/2015 17:23, Emilio G. Cota wrote:
> On some parallel workloads this gives up to a 15% speed improvement.
>
> Signed-off-by: Emilio G. Cota
> ---
> include/qemu/thread-posix.h | 47 ++
> include/qemu/thread.h | 6 --
> util/qemu-thread
On 23/08/2015 17:23, Emilio G. Cota wrote:
> This paves the way for a lockless tb_find_fast.
>
> Signed-off-by: Emilio G. Cota
> ---
> cpu-exec.c| 8 +++-
> exec.c| 2 ++
> include/qom/cpu.h | 15 +++
> qom/cpu.c | 2 +-
> translate-all.c | 32 +
On 23/08/2015 17:23, Emilio G. Cota wrote:
> Signed-off-by: Emilio G. Cota
> ---
> cpu-exec.c | 9 ++---
> exec.c | 2 +-
> hw/openrisc/cputimer.c | 2 +-
> qom/cpu.c | 4 ++--
> target-arm/helper-a
On 12.08.15 05:12, Pavel Fedin wrote:
> This large region is necessary for some devices like ivshmem and video cards
> 32-bit kernels can be built without LPAE support. In this case such a kernel
> will not be able to use PCI controller which has windows in high addresses.
> In order to work arou
On 23/08/2015 17:23, Emilio G. Cota wrote:
> This will be used by the atomic instruction emulation code.
Is this a fast path? If not, we can use the existing addend field and
convert the host address to a ram_addr_t easily.
Paolo
> Signed-off-by: Emilio G. Cota
> ---
> softmmu_template.h |
On 23/08/2015 17:23, Emilio G. Cota wrote:
> Hi all,
>
> Here is MTTCG code I've been working on out-of-tree for the last few months.
>
> The patchset applies on top of pbonzini's mttcg branch, commit ca56de6f.
> Fetch the branch from: https://github.com/bonzini/qemu/commits/mttcg
>
> The high
On 24.08.15 00:03, Pavel Fedin wrote:
> This large region is necessary for some devices like ivshmem and video cards
> 32-bit kernels can be built without LPAE support. In this case such a kernel
> will not be able to use PCI controller which has windows in high addresses.
> In order to work arou
On 23/08/2015 17:24, Emilio G. Cota wrote:
> This is similar in intent to the async_safe_work mechanism. The main
> differences are:
>
> - Work is run on a single CPU thread *after* all others are put to sleep
>
> - Sleeping threads are woken up by the worker thread upon completing its job
>
>
On 23.08.15 16:42, Laurent Vivier wrote:
> All tcg host architectures now support the guest base and as
> there is no real performance lost, it can be always enabled.
>
> Anyway, guest base use can be disabled lively by setting guest
> base to 0.
>
> CONFIG_USE_GUEST_BASE is defined as (USE_GUE
Hi Michael,
> -Original Message-
> From: snabb-de...@googlegroups.com [mailto:snabb-
> de...@googlegroups.com] On Behalf Of Michael S. Tsirkin
> Sent: Thursday, August 13, 2015 5:23 PM
> To: Ouyang, Changchun
> Cc: qemu-devel@nongnu.org; snabb-de...@googlegroups.com;
> thibaut.col...@6wind
On 21 August 2015 at 05:47, Gabriel L. Somlo wrote:
> On Thu, Aug 20, 2015 at 07:21:48AM +0200, Ard Biesheuvel wrote:
>> On 19 August 2015 at 22:49, Gabriel L. Somlo wrote:
>> >> > From: "Gabriel L. Somlo"
>> >> >> Several different architectures supported by QEMU are set up with a
>> >> >> "fir
On 23/08/2015 17:23, Emilio G. Cota wrote:
> @@ -16,6 +16,7 @@ static inline void gen_tb_start(TranslationBlock *tb)
>
> exitreq_label = gen_new_label();
> flag = tcg_temp_new_i32();
> +tcg_gen_smp_rmb();
> tcg_gen_ld_i32(flag, cpu_env,
> offsetof(CPUState
On 23.08.15 03:50, Mark Cave-Ayland wrote:
> The code to flush the DBDMA channel was effectively duplicated in
> dbdma_control_write(), except for the fact that the copy executed outside of a
> RUN bit transition was broken by not clearing the FLUSH bit once the flush was
> complete.
>
> Newer P
On 08/21/2015 11:47 PM, Eduardo Habkost wrote:
> On Fri, Aug 21, 2015 at 05:05:45PM +0800, Jason Wang wrote:
> [...]
>> > diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
>> > index a896624..2a7b7d9 100644
>> > --- a/hw/i386/pc_piix.c
>> > +++ b/hw/i386/pc_piix.c
>> > @@ -304,9 +304,15 @@ stati
If the file is readonly its not expected to grow so
save the blocking call to nfs_fstat_async and use
the value saved at connection time. Also important
the monitor (and thus the main loop) will not hang
if block device info is queried and the NFS share
is unresponsive.
Signed-off-by: Peter Lieven
On 12.08.15 05:12, Pavel Fedin wrote:
> This large region is necessary for some devices like ivshmem and video cards
> 32-bit kernels can be built without LPAE support. In this case such a kernel
> will not be able to use PCI controller which has windows in high addresses.
> In order to work arou
On 23.08.15 16:42, Laurent Vivier wrote:
> Signed-off-by: Laurent Vivier
I would prefer to have a commit message here. It's not critical in this
patch, but makes life easier for people who dig through them later in
the git log, so they don't see the patch contents.
Reviewed-by: Alexander Graf
This large region is necessary for some devices like ivshmem and video cards
32-bit kernels can be built without LPAE support. In this case such a kernel
will not be able to use PCI controller which has windows in high addresses.
In order to work around the problem, "highmem" option is introduced.
On Wed, Aug 19, 2015 at 01:57:55AM +0200, Alberto Garcia wrote:
> We have this code in qjson.c to produce JSON from a QFloat:
>
> QFloat *val = qobject_to_qfloat(obj);
> char buffer[1024];
> int len;
>
> len = snprintf(buffer, sizeof(buffer), "%f", qfloat_get_doubl
On 22.08.15 08:32, Cormac O'Brien wrote:
> This patchset greatly improves QEMU's ability to run Mac OS 9 on the mac99
> machine, allowing progress past the bootloader and partial progress through
> the load screen.
>
> Signed-off-by: Cormac O'Brien
Sorry, I just realized that you didn't put yo
On Mon 24 Aug 2015 12:05:02 PM CEST, Markus Armbruster wrote:
>> This seems to happen because of GTK+ calling setlocale(). The easiest
>> solution is probably to call setlocale(LC_NUMERIC, "C") before
>> snprintf() (or at start-up ui/gtk.c), but opinions are welcome.
>
> A library calling setlocal
this patch adds a probe that lists all enforceable and migrateable
CPU models to the -cpu help output. The idea is to know a priory
which CPU modules can be exposed to the user without loosing any
feature flags.
Signed-off-by: Peter Lieven
---
target-i386/cpu.c | 49 +
On 08/21/2015 05:43 PM, Cornelia Huck wrote:
> On Fri, 21 Aug 2015 17:05:47 +0800
> Jason Wang wrote:
>
>> diff --git a/hw/virtio/virtio.c b/hw/virtio/virtio.c
>> index 788b556..c971ba2 100644
>> --- a/hw/virtio/virtio.c
>> +++ b/hw/virtio/virtio.c
>> @@ -1056,6 +1056,17 @@ static bool virtio_vi
Eric Blake writes:
> On 08/04/2015 02:18 AM, Markus Armbruster wrote:
>> A command's or event's 'data' must be a struct type, given either as a
>> dictionary, or as struct type name.
>>
>> Commit dd883c6 tightened the checking there, but not enough: we still
>> accept 'union'. Fix to reject it.
On 08/22/2015 08:10 AM, David Gibson wrote:
> On Fri, Aug 21, 2015 at 05:05:46PM +0800, Jason Wang wrote:
>> This will be used by virtio 1.0 virtio-pci virtqueue migration
>> backward compatibility.
>>
>> Cc: David Gibson
>> Cc: Alexander Graf
>> Cc: qemu-...@nongnu.org
>> Signed-off-by: Jason
Hi, some very old 64-bit processors had virtualization extensions but not
lahf_lm. However, they are very rare, so it is probably a good idea to add it
for the 2.5 machine type.
Thanks,
Paolo
Inviato dal telefono Android mediante TouchDown (www.nitrodesk.com)
-Original Message-
From:
This introduces rtas_ldq() to load 64-bits parameter from continuous
two 4-bytes memory chunk of RTAS parameter buffer, to simplify the
code.
Signed-off-by: Gavin Shan
---
hw/ppc/spapr_pci.c | 20 ++--
include/hw/ppc/spapr.h | 5 +
2 files changed, 15 insertions(+), 10 d
On Tue, Aug 11, 2015 at 10:11:03AM +0100, Peter Maydell wrote:
>On 10 August 2015 at 08:13, Gavin Shan wrote:
>> The header file was introduced by following Linux upstream commits:
>>
>> commit ed3e81f ("powerpc/eeh: Move PE state constants around")
>> commit ec33d36 ("powerpc/eeh: Introdu
Am 24.08.2015 um 13:50 schrieb Paolo Bonzini:
Hi, some very old 64-bit processors had virtualization extensions but not
lahf_lm. However, they are very rare, so it is probably a good idea to add it
for the 2.5 machine type.
Maybe same accounts for "sep" ?
Will you send a patch?
BR,
Peter
This includes linux/arch/powerpc/include/uapi/asm/eeh.h while
updating linux header files. The specific header file, introduced
by the following Linux upstream commits for EEH on sPAPR platform:
ed3e81f ("powerpc/eeh: Move PE state constants around")
ec33d36 ("powerpc/eeh: Introduce eeh_pe_inj
On Mon, Aug 24, 2015 at 05:23:15PM +1000, Gavin Shan wrote:
>On Tue, Aug 11, 2015 at 10:11:03AM +0100, Peter Maydell wrote:
>>On 10 August 2015 at 08:13, Gavin Shan wrote:
>>> The header file was introduced by following Linux upstream commits:
>>>
>>> commit ed3e81f ("powerpc/eeh: Move PE stat
c13dcf9 Linux 4.2-rc8
Signed-off-by: Gavin Shan
---
include/standard-headers/linux/pci_regs.h| 381 ---
include/standard-headers/linux/virtio_ring.h | 3 +-
linux-headers/asm-powerpc/eeh.h | 56
linux-headers/asm-x86/hyperv.h | 2 +
This large region is necessary for some devices like ivshmem and video cards
32-bit kernels can be built without LPAE support. In this case such a kernel
will not be able to use PCI controller which has windows in high addresses.
In order to work around the problem, "highmem" option is introduced.
Hi, some very old 64-bit processors had virtualization extensions but not
lahf_lm. However, they are very rare, so it is probably a good idea to add it
for the 2.5 machine type.
Thanks,
Paolo
Inviato dal telefono Android mediante TouchDown (www.nitrodesk.com)
-Original Message-
From:
Copying the USB maintainer.
Programmingkid writes:
> On Aug 8, 2015, at 8:48 AM, Programmingkid wrote:
>
>>
>> On Aug 8, 2015, at 2:04 AM, Markus Armbruster wrote:
USB devices can be connected with the @option{-usbdevice} commandline
option
-or the @code{usb_add} monitor c
This submits changes with formatted commit log while updating Linux
headers using scripts/update-linux-headers.sh.
Signed-off-by: Gavin Shan
---
scripts/update-linux-headers.sh | 21 +
1 file changed, 21 insertions(+)
diff --git a/scripts/update-linux-headers.sh b/scripts/up
The patch supports RTAS call "ibm,errinjct" to allow injecting
EEH errors to VFIO PCI devices. The implementation is similiar
to EEH support for VFIO PCI devices: The RTAS request is captured
by QEMU and routed to sPAPRPHBClass::eeh_inject_error() where the
request is translated to VFIO container I
The patchset depends on below Linux upstream commits:
commit ed3e81f ("powerpc/eeh: Move PE state constants around")
commit ec33d36 ("powerpc/eeh: Introduce eeh_pe_inject_err()")
According to PAPR specification 2.7, there're 3 RTAS calls relevent to error
injection: "ibm,open-errinjct", "ibm,
This allows to include "stdint.h" in virtio header files. Otherwise,
scripts/update-linux-headers.sh fails when updating headers from
Linux 4.2.rc8 kernel. include/uapi/linux/virtio_ring.h starts to
include "stdint.h" from commit d768f32a ("virtio: Fix typecast of
pointer in vring_init()").
Signed
On 24.08.15 00:31, Pavel Fedin wrote:
> This large region is necessary for some devices like ivshmem and video cards
> 32-bit kernels can be built without LPAE support. In this case such a kernel
> will not be able to use PCI controller which has windows in high addresses.
> In order to work arou
On 08/24/2015 05:30 AM, Markus Armbruster wrote:
>> We mentioned moving this into its own patch. In particular, I looked at
>> what it would take to allow anonymous structs for flat union types:
>>
>> { 'union': 'Flat', 'base': 'Base',
>> 'discriminator': 'type',
>> 'data': { 'branch1': {},
This supports RTAS calls "ibm,{open,close}-errinjct" to manupliate
the token, which is passed to RTAS call "ibm,errinjct" to indicate
the valid context for error injection. Each VM is permitted to have
only one token at once and we simply have sequential number for that.
It's notable that the least
As we have removed CONFIG_USE_GUEST_BASE, we always use a guest base
and the macros GUEST_BASE and RESERVED_VA become useless: replace
them by their values.
Signed-off-by: Laurent Vivier
---
v2: add a commit message. Repost only PATCH 2.
include/exec/cpu-all.h | 4 +---
include/exec/cpu_ldst
Update cpu_model in MachineState for i386, so that the field can be used
for cpu hotplug, instead of using a static variable.
Signed-off-by: Zhu Guihua
---
v2:
-transfer MachineState from all pc_cpus_init() callers
---
hw/i386/pc.c | 16 +++-
hw/i386/pc_piix.c| 2 +-
hw
When I use the usb_add command, isn't the bus.address number suppose to be
different for each device I add?
If I use the command-line to add a usb mouse and usb sound card like this "-usb
-device usb-mouse -device usb-audio", they each have a different bus.address
value when I see them using th
Switch VNC server over to using the QCryptoTLSSession object
for the TLS session. This removes the direct use of gnutls
from the VNC server code. It also removes most knowledge
about TLS certificate handling from the VNC server code.
This has the nice effect that all the CONFIG_VNC_TLS
conditionals
John Snow writes:
> On 08/19/2015 02:55 AM, Dr. David Alan Gilbert wrote:
>> * Eduardo Habkost (ehabk...@redhat.com) wrote:
>>> Migration with q35 was not possible before commit
>>> 04329029a8c539eb5f75dcb6d8b016f0c53a031a, because q35 unconditionally
>>> creates
>>> an ich9-ahci device, that wa
About structs and constraints:
Optional Header:
64bit nb_dirty_bitmaps
valid: 1 - 65536. I think here should not be 0, in this case
dirty-bitmap-optional-header should not exist at all. Should it instead
be 0 - 65536
64bit dirty_bitmaps_offset
valid: any, but dirty_bitmaps_offset % cl
On 24 August 2015 at 13:03, Gavin Shan wrote:
> This submits changes with formatted commit log while updating Linux
> headers using scripts/update-linux-headers.sh.
>
> Signed-off-by: Gavin Shan
Also, you typoed your email address
thanks
-- PMM
Hello,
I use qemu to emulate a SMP multicore processor and I am looking for a way : *
either to ask qemu scheduler to execute an other core. For that I need a kind
of *yield()* syscall that I could insert into user code and which would be
catched by QEMU scheduler. * or to give an optio
Copying maintainer.
Alberto Garcia writes:
> We have this code in qjson.c to produce JSON from a QFloat:
>
> QFloat *val = qobject_to_qfloat(obj);
> char buffer[1024];
> int len;
>
> len = snprintf(buffer, sizeof(buffer), "%f", qfloat_get_double(val));
> w
Introduce a QCryptoTLSSession object that will encapsulate
all the code for setting up and using a client/sever TLS
session. This isolates the code which depends on the gnutls
library, avoiding #ifdefs in the rest of the codebase, as
well as facilitating any possible future port to other TLS
librar
If the administrator incorrectly sets up their x509 certificates,
the errors seen at runtime during connection attempts are very
obscure and difficult to diagnose. This has been a particular
problem for people using openssl to generate their certificates
instead of the gnutls certtool, because the
Hi,
I noticed that Win2012R2 will not boot with CPU model kvm64.
The reason is that the feature lahf_lm is missing.
Is that an error or correct?
Thanks,
Peter
Sorry, drop this if you, look at the new version of this litter
On 24.08.2015 16:30, Vladimir Sementsov-Ogievskiy wrote:
About structs and constraints:
Optional Header:
64bit nb_dirty_bitmaps
valid: 1 - 65536. I think here should not be 0, in this case
dirty-bitmap-optional-header should n
Eric Blake writes:
> On 08/04/2015 09:58 AM, Markus Armbruster wrote:
>> Caution, rough edges.
>>
>
>>
>> The empty object type is used when a command takes no arguments or
>> produces no results.
>
>
>> +++ b/scripts/qapi.py
>
>> @@ -1050,6 +1054,9 @@ class QAPISchema(object):
>>
About structs and constraints:
== Optional Header ==
64bit nb_dirty_bitmaps
valid: 1 - 65536. I think here should not be 0, in this case
dirty-bitmap-optional-header should not exist at all. Should it instead
be 0 - 65536
64bit dirty_bitmaps_offset
valid: any, but dirty_bitmaps_offse
Introduce a QCryptoTLSCreds class to act as the base class for
storing TLS credentials. This will be later subclassed to provide
handling of anonymous and x509 credential types. The subclasses
will be user creatable objects, so instances can be created &
deleted via 'object-add' and 'object-del' QM
On 10.06.2015 18:34, Kevin Wolf wrote:
Am 08.06.2015 um 17:21 hat Vladimir Sementsov-Ogievskiy geschrieben:
From: Vladimir Sementsov-Ogievskiy
Persistent dirty bitmaps will be saved into qcow2 files. It may be used
as 'internal' bitmaps (for qcow2 drives) or as 'external' bitmaps for
other dri
1 - 100 of 244 matches
Mail list logo