On 13.05.2014 20:15, Fabian Aggeler wrote:
From: Sergey Fedorov s.fedo...@samsung.com
CPACR register allows to control access rights to coprocessor 0-13
interfaces. Bits corresponding to unimplemented coprocessors should be
RAZ/WI. QEMU implements only VFP coprocessor on ARMv6+ targets. So
On 13.05.2014 20:15, Fabian Aggeler wrote:
This patch is based on ideas found in a patch at
git://github.com/jowinter/qemu-trustzone.git
a9ad01767c4b25e14700b5682a412f4fd8146ee8 by
Johannes Winter johannes.win...@iaik.tugraz.at.
Each world (secure and non-secure) has its own MMU state.
On Tue, 13 May 2014 17:11:06 -0400
Mike Day ncm...@ncultra.org wrote:
g_sequence_lookup is not supported by glib 2.28. The usage
of g_sequence_lookup is not essential in this context (it's a
safeguard against duplicate values in the help message).
Removing the call enables the build on all
On Fri, May 09, 2014 at 01:53:32PM +0200, Paolo Bonzini wrote:
Il 09/05/2014 04:28, Marcelo Tosatti ha scritto:
Alex,
Unability to upgrade systems is not an excuse to fix the bug in the
wrong place.
It may be an excuse to fix the bug in both places though.
Paolo
Actually, its messy to
Hi,
i now was able to catch the error.
It is:
Length mismatch: :00:12.0/virtio-net-pci.rom: 4 in != 1
qemu: warning: error while loading state for instance 0x0 of device 'ram'
load of migration failed
Stefan
Am 09.05.2014 19:05, schrieb Paolo Bonzini:
Il 09/05/2014 15:13, Stefan
For userland builds calls will normally be in range,
and for the exit_tb opcode the branch to the epilogue.
Signed-off-by: Richard Henderson r...@twiddle.net
---
tcg/mips/tcg-target.c | 46 --
1 file changed, 40 insertions(+), 6 deletions(-)
diff
In addition, fill delay slots calling the helpers and tail
call to the store helpers.
Signed-off-by: Richard Henderson r...@twiddle.net
---
tcg/mips/tcg-target.c | 107 ++
1 file changed, 56 insertions(+), 51 deletions(-)
diff --git
Choosing good addresses for them means we can use JAL for helper calls.
Signed-off-by: Richard Henderson r...@twiddle.net
---
configure | 7 +--
translate-all.c | 13 +
2 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index
This assures us use of J for exit_tb and goto_tb, and JAL for calling
into the generated bswap helpers.
Signed-off-by: Richard Henderson r...@twiddle.net
---
translate-all.c | 90 +
1 file changed, 85 insertions(+), 5 deletions(-)
diff
Obviously the most important part here is the ldst updates,
but there are all sorts of opportunities for improvement in
this backend.
r~
Richard Henderson (24):
tcg-mips: Layout executable and code_gen_buffer
tcg-mips: Constrain the code_gen_buffer to be within one 256mb segment
Signed-off-by: Richard Henderson r...@twiddle.net
---
tcg/mips/tcg-target.c | 25 ++---
1 file changed, 18 insertions(+), 7 deletions(-)
diff --git a/tcg/mips/tcg-target.c b/tcg/mips/tcg-target.c
index d4236c0..2d2073f 100644
--- a/tcg/mips/tcg-target.c
+++
T0 is an argument register for the n32 and n64 abis. T9 is the call
address register for the abis, and is more directly under the control
of the backend.
Signed-off-by: Richard Henderson r...@twiddle.net
---
tcg/mips/tcg-target.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
At the same time, tidy deposit by introducing tcg_out_opc_bf.
Signed-off-by: Richard Henderson r...@twiddle.net
---
tcg/mips/tcg-target.c | 60 ++-
tcg/mips/tcg-target.h | 4
2 files changed, 50 insertions(+), 14 deletions(-)
diff --git
Signed-off-by: Richard Henderson r...@twiddle.net
---
tcg/mips/tcg-target.c | 76 ---
tcg/mips/tcg-target.h | 2 +-
2 files changed, 25 insertions(+), 53 deletions(-)
diff --git a/tcg/mips/tcg-target.c b/tcg/mips/tcg-target.c
index
Since we must use ADDUI, we would generate incorrect code for -32768.
Leaving off subtract of +32768 makes things easier for a follow-on patch.
Signed-off-by: Richard Henderson r...@twiddle.net
---
tcg/mips/tcg-target.c | 16 +++-
1 file changed, 11 insertions(+), 5 deletions(-)
At the same time, tidy up the call helpers, avoiding a memory reference.
Split out several subroutines. Use TCGMemOp constants. Make endianness
selectable at runtime.
Signed-off-by: Richard Henderson r...@twiddle.net
---
tcg/mips/tcg-target.c | 772
Most opcodes fall in to one of a couple of patterns.
Signed-off-by: Richard Henderson r...@twiddle.net
---
tcg/mips/tcg-target.c | 212 +++---
1 file changed, 98 insertions(+), 114 deletions(-)
diff --git a/tcg/mips/tcg-target.c
Use the same table to fold comparisons as with setcond.
Signed-off-by: Richard Henderson r...@twiddle.net
---
tcg/mips/tcg-target.c | 87 ---
1 file changed, 41 insertions(+), 46 deletions(-)
diff --git a/tcg/mips/tcg-target.c
And use it in the opcode emission functions.
Signed-off-by: Richard Henderson r...@twiddle.net
---
tcg/mips/tcg-target.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/tcg/mips/tcg-target.c b/tcg/mips/tcg-target.c
index 54571fb..920208a 100644
---
Use this to reduce goto_tb by one insn.
Signed-off-by: Richard Henderson r...@twiddle.net
---
tcg/mips/tcg-target.c | 23 ---
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/tcg/mips/tcg-target.c b/tcg/mips/tcg-target.c
index 2d2073f..5ccfb1d 100644
---
Use the same table to fold comparisons as with setcond.
Signed-off-by: Richard Henderson r...@twiddle.net
---
tcg/mips/tcg-target.c | 66 +--
1 file changed, 17 insertions(+), 49 deletions(-)
diff --git a/tcg/mips/tcg-target.c
Use FP (also known as S8) as a normal call-saved register.
Include T0 in the allocation order and call-clobbered list
even though it's currently used as a TCG temporary.
Put the argument registers at the end of the allocation order.
Signed-off-by: Richard Henderson r...@twiddle.net
---
Reduce insn count from 5 to either 3 or 4.
Signed-off-by: Richard Henderson r...@twiddle.net
---
tcg/mips/tcg-target.c | 87 +--
1 file changed, 56 insertions(+), 31 deletions(-)
diff --git a/tcg/mips/tcg-target.c b/tcg/mips/tcg-target.c
index
Hi,
I know qemu has a test framework, and I get some information
from http://wiki.qemu.org/Features/QTest
Recently I want to use qtest for some modules, but I have no idea
how to run those tests. Such as tests/ e1000-test
Any guidance? Or how to? Thanks in advance!
Best regards,
-Gonglei
Using tcg_unsigned_cond and tcg_high_cond.
Also, move the function up in the file for future cleanups.
Signed-off-by: Richard Henderson r...@twiddle.net
---
tcg/mips/tcg-target.c | 95 +--
1 file changed, 31 insertions(+), 64 deletions(-)
diff
Use these instead of hard-coding the registers to use for temporaries.
Signed-off-by: Richard Henderson r...@twiddle.net
---
tcg/mips/tcg-target.c | 231 +-
1 file changed, 117 insertions(+), 114 deletions(-)
diff --git a/tcg/mips/tcg-target.c
The original code results in one too many insns per zero
present in the input. And since comparing 64-bit numbers
vs zero is common...
Signed-off-by: Richard Henderson r...@twiddle.net
---
tcg/mips/tcg-target.c | 40
1 file changed, 36 insertions(+), 4
Use a table to fold comparisons to less-than.
Also, move the function up in the file for futher simplifications.
Signed-off-by: Richard Henderson r...@twiddle.net
---
tcg/mips/tcg-target.c | 125 +++---
1 file changed, 67 insertions(+), 58 deletions(-)
Emitting a single branch instead of (up to) 3, using setcond2
to generate the composite compare.
Signed-off-by: Richard Henderson r...@twiddle.net
---
tcg/mips/tcg-target.c | 77 +--
1 file changed, 20 insertions(+), 57 deletions(-)
diff --git
Now that the code_gen_buffer is constrained to not cross 256mb
regions, we are assured that we can use J to reach another TB.
Signed-off-by: Richard Henderson r...@twiddle.net
---
include/exec/exec-all.h | 9 -
tcg/mips/tcg-target.c | 11 ++-
2 files changed, 14 insertions(+),
Gonglei (Arei) arei.gong...@huawei.com writes:
Hi,
I know qemu has a test framework, and I get some information
from http://wiki.qemu.org/Features/QTest
Recently I want to use qtest for some modules, but I have no idea
how to run those tests. Such as tests/ e1000-test
Any guidance? Or
Signed-off-by: Richard Henderson r...@twiddle.net
---
tcg/mips/tcg-target.c | 201 ++
1 file changed, 103 insertions(+), 98 deletions(-)
diff --git a/tcg/mips/tcg-target.c b/tcg/mips/tcg-target.c
index 5021dea..516c2b7 100644
---
On Mon, May 12, 2014 at 10:26:37PM +0200, Alexander Graf wrote:
On 09.05.14 13:53, Paolo Bonzini wrote:
Il 09/05/2014 04:28, Marcelo Tosatti ha scritto:
Alex,
Unability to upgrade systems is not an excuse to fix the bug in the
wrong place.
It may be an excuse to fix the bug in both
Am 13.05.2014 um 23:48 hat Eric Blake geschrieben:
On 05/13/2014 03:11 PM, Mike Day wrote:
Subject line could have used a [PATCHv2] designation to make it obvious
this is a fixed version. But that doesn't affect what goes into git.
g_sequence_lookup is not supported by glib 2.28. The
Am 13.05.2014 um 21:47 hat Eric Blake geschrieben:
On 05/08/2014 02:42 AM, Matthew Booth wrote:
[PATCH 1/4] curl: Fix parsing of readahead option from filename
[PATCH 2/4] curl: Add sslverify option
[PATCH 3/4] curl: Add usage documentation
The first 3 patches are reposted with updates
Am 13.05.2014 um 18:07 hat Mike Day geschrieben:
The help message for qemu-img lists the supported block formats, of
which there are 27 as of version 2.0.50. The formats are printed in
the order of their driver's position in a linked list, which appears
random. This patch prints the formats in
-Original Message-
From: Markus Armbruster [mailto:arm...@redhat.com]
Sent: Wednesday, May 14, 2014 3:34 PM
To: Gonglei (Arei)
Cc: qemu-devel@nongnu.org; Andreas Färber
Subject: Re: [Qemu-devel] How to use qtest
Gonglei (Arei) arei.gong...@huawei.com writes:
Hi,
I know
x86 software emulation (non-KVM mode) does not check privilege levels on task
gate switches.
An int $8 in user mode panics any OS kernel by a forbidden direct call into
the double fault handler.
This testcase crashes a Linux kernel with a double fault panic:
$ cat test.c
int main(void)
{
Am 13.05.2014 um 19:44 hat Markus Armbruster geschrieben:
Fam Zheng f...@redhat.com writes:
On Tue, 05/13 10:46, Markus Armbruster wrote:
The shell script attempts to suppress core dumps like this:
old_ulimit=$(ulimit -c)
ulimit -c 0
$QEMU_IO arg...
ulimit -c
Il 14/05/2014 00:07, Kevin O'Connor ha scritto:
On Tue, May 13, 2014 at 02:39:20PM -0400, Kevin O'Connor wrote:
On Tue, May 13, 2014 at 08:24:47PM +0200, Paolo Bonzini wrote:
Il 27/04/2014 19:25, Kevin O'Connor ha scritto:
I was wondering about that as well. The Intel docs state that the CPL
Am 13.05.2014 um 16:00 hat Jeff Cody geschrieben:
This series adds support for VHDX images created with Microsofts p2v tool
Disk2VHD.
Jeff Cody (2):
block: vhdx - account for identical header sections
block: add test for vhdx image created by Disk2VHD
block/vhdx.c
On Wed, 05/14 09:50, Kevin Wolf wrote:
Am 13.05.2014 um 18:07 hat Mike Day geschrieben:
The help message for qemu-img lists the supported block formats, of
which there are 27 as of version 2.0.50. The formats are printed in
the order of their driver's position in a linked list, which
Il 14/05/2014 09:17, Stefan Priebe - Profihost AG ha scritto:
i now was able to catch the error.
It is:
Length mismatch: :00:12.0/virtio-net-pci.rom: 4 in != 1
qemu: warning: error while loading state for instance 0x0 of device 'ram'
load of migration failed
This is a bug of your
On 14 May 2014 08:44, Kevin Wolf kw...@redhat.com wrote:
Am 13.05.2014 um 23:48 hat Eric Blake geschrieben:
On 05/13/2014 03:11 PM, Mike Day wrote:
Subject line could have used a [PATCHv2] designation to make it obvious
this is a fixed version. But that doesn't affect what goes into git.
Am 14.05.2014 10:11, schrieb Paolo Bonzini:
Il 14/05/2014 09:17, Stefan Priebe - Profihost AG ha scritto:
i now was able to catch the error.
It is:
Length mismatch: :00:12.0/virtio-net-pci.rom: 4 in != 1
qemu: warning: error while loading state for instance 0x0 of device 'ram'
Il 14/05/2014 10:29, Stefan Priebe - Profihost AG ha scritto:
Hi,
i compile qemu on my own.
I have the rom files under /usr/share/kvm and they look like this:
ls -la /usr/share/kvm/*.rom
-rw-r--r-- 1 root root 173568 May 14 09:39 /usr/share/kvm/efi-e1000.rom
-rw-r--r-- 1 root root 174592 May
Am 14.05.2014 10:36, schrieb Paolo Bonzini:
Il 14/05/2014 10:29, Stefan Priebe - Profihost AG ha scritto:
Hi,
i compile qemu on my own.
I have the rom files under /usr/share/kvm and they look like this:
ls -la /usr/share/kvm/*.rom
-rw-r--r-- 1 root root 173568 May 14 09:39
Il 13/05/2014 17:04, Paolo Bonzini ha scritto:
KVM used to assume that CS.RPL could always be used as the CPL
value when KVM_SET_SREGS is called. QEMU could call KVM_GET_SREGS
and the KVM_SET_SREGS exactly after CR0.PE has been set to 1,
but before the long jump that reloads CS. Then, KVM
Hi Serge,
I keep getting the crash notification due to kvm crashes with the same
bug title as this one. I see that the status is Fix Released, I'm on
precise and fully up-to-date.
My package is:
ii qemu-kvm 1.0+noroms-0ubuntu14.14
Full virtualization on i386 and
I see. What is Greg Bellows working on exactly? Also peripherals like TZASC,
TZPC,...? My plan is to focus on them now if no one else is working on them.
What do you suggest to minimize overlap?
Thanks,
Fabian
From: Peter Maydell
Hi, any feedback about this version?
http://lists.gnu.org/archive/html/qemu-devel/2014-05/msg01098.html
http://lists.gnu.org/archive/html/qemu-devel/2014-05/msg01135.html
- Chunyan
On 5/7/2014 at 06:17 PM, in message 536A0846.4C2 : 102 : 21807, Chun Yan
Liu
wrote:
My git-send-email died
Hi,
Am 14.05.2014 09:50, schrieb Gonglei (Arei):
-Original Message-
From: Markus Armbruster [mailto:arm...@redhat.com]
Sent: Wednesday, May 14, 2014 3:34 PM
To: Gonglei (Arei)
Cc: qemu-devel@nongnu.org; Andreas Färber
Subject: Re: [Qemu-devel] How to use qtest
Gonglei (Arei)
On Tue, 13 May 2014 09:29:37 -0600
Eric Blake ebl...@redhat.com wrote:
Hi Eric,
On 05/13/2014 09:00 AM, Michael Mueller wrote:
This patch implements a new QMP request named query-cpu-model. It returns
the cpu model of cpu 0. eg:
request: '{execute : query-cpu-model }
answer:
On Tue, May 13, 2014 at 06:02:39PM +0200, Markus Armbruster wrote:
libssh2_session_last_error() already returns the error code.
Cc: Richard W.M. Jones rjo...@redhat.com
Signed-off-by: Markus Armbruster arm...@redhat.com
---
block/ssh.c | 9 -
1 file changed, 4 insertions(+), 5
The last four patches are just a refactoring to use qemu error
handling, therefore ACK to all four of them.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical
Dr. David Alan Gilbert (git) dgilb...@redhat.com writes:
From: Dr. David Alan Gilbert dgilb...@redhat.com
The 'name' option silently failed when used in config files
( http://lists.gnu.org/archive/html/qemu-devel/2014-04/msg00378.html )
Signed-off-by: Dr. David Alan Gilbert
Il 14/05/2014 10:38, Stefan Priebe - Profihost AG ha scritto:
Currently it has the same as i already updated the package there too.
So you mean i had done a mistake compiling the old package - so it had
wrong sizes?
Yes, probably.
Can you do an info mtree for a machine that's running on the
Kevin Wolf kw...@redhat.com writes:
Am 13.05.2014 um 19:44 hat Markus Armbruster geschrieben:
Fam Zheng f...@redhat.com writes:
On Tue, 05/13 10:46, Markus Armbruster wrote:
The shell script attempts to suppress core dumps like this:
old_ulimit=$(ulimit -c)
ulimit -c 0
Am 14.05.2014 11:00, schrieb Paolo Bonzini:
Il 14/05/2014 10:38, Stefan Priebe - Profihost AG ha scritto:
Currently it has the same as i already updated the package there too.
So you mean i had done a mistake compiling the old package - so it had
wrong sizes?
Yes, probably.
Can you do
Hi, Andreas
-Original Message-
From: Andreas Färber [mailto:afaer...@suse.de]
Sent: Wednesday, May 14, 2014 5:06 PM
To: Gonglei (Arei)
Cc: Markus Armbruster; qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] How to use qtest
Hi,
Am 14.05.2014 09:50, schrieb Gonglei (Arei):
On 05/12/2014 03:22 PM, Michael S. Tsirkin wrote:
On Fri, Apr 11, 2014 at 10:54:47AM +0800, Jason Wang wrote:
It's hard to track all mac addresses and their configurations (e.g
vlan or ipv6) in qemu. Without those informations, it's impossible to
build proper garp packet after migration.
Hi Peter,
So it means there are no targets or target list of features that
should be supported in 2.1 ?
If someone wants to pick a particular feature from some target list
and want to contribute to it, where he should look for.
Thanks
On Tue, May 13, 2014 at 5:58 PM, Peter Maydell
Gonglei (Arei) arei.gong...@huawei.com writes:
-Original Message-
From: Markus Armbruster [mailto:arm...@redhat.com]
Sent: Wednesday, May 14, 2014 3:34 PM
To: Gonglei (Arei)
Cc: qemu-devel@nongnu.org; Andreas Färber
Subject: Re: [Qemu-devel] How to use qtest
Gonglei (Arei)
* Markus Armbruster (arm...@redhat.com) wrote:
Dr. David Alan Gilbert (git) dgilb...@redhat.com writes:
From: Dr. David Alan Gilbert dgilb...@redhat.com
The 'name' option silently failed when used in config files
( http://lists.gnu.org/archive/html/qemu-devel/2014-04/msg00378.html )
Il 14/05/2014 11:25, Stefan Priebe - Profihost AG ha scritto:
Currently it has the same as i already updated the package there too.
So you mean i had done a mistake compiling the old package - so it had
wrong sizes?
Yes, probably.
Can you do an info mtree for a machine that's running on
Adding hyperv seemed to work for me too.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1308341
Title:
Multiple CPUs causes blue screen on Windows guest
Status in QEMU:
New
Status in “qemu”
From: Wanlong Gao gaowanl...@cn.fujitsu.com
Signed-off-by: Wanlong Gao gaowanl...@cn.fujitsu.com
Reviewed-by: Eduardo Habkost ehabk...@redhat.com
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Hu Tao hu...@cn.fujitsu.com
---
Makefile.target | 2 +-
cpus.c
From: Luiz Capitulino lcapitul...@redhat.com
The -numa option documentation in qemu's manpage lacks the command-line
options and some information regarding how it relates to options -m and
-smp. This commit fills in the missing text.
Signed-off-by: Luiz Capitulino lcapitul...@redhat.com
From: Paolo Bonzini pbonz...@redhat.com
Reviewed-by: Michael S. Tsirkin m...@redhat.com
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Hu Tao hu...@cn.fujitsu.com
---
hw/i386/pc.c | 11 +--
hw/i386/pc_piix.c| 8 +++-
hw/i386/pc_q35.c | 4 +---
From: Wanlong Gao gaowanl...@cn.fujitsu.com
Add the numa_info structure to contain the numa nodes memory,
VCPUs information and the future added numa nodes host memory
policies.
Reviewed-by: Eduardo Habkost ehabk...@redhat.com
Signed-off-by: Andre Przywara andre.przyw...@amd.com
Signed-off-by:
From: Wanlong Gao gaowanl...@cn.fujitsu.com
libnuma choosed 128 for MAX_NODES, so we follow libnuma here.
Signed-off-by: Wanlong Gao gaowanl...@cn.fujitsu.com
Reviewed-by: Eduardo Habkost ehabk...@redhat.com
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Hu Tao
From: Paolo Bonzini pbonz...@redhat.com
Follow the lines of the HMP implementation, using OptsVisitor
to parse the options. This gives access to OptsVisitor's
rich parsing of integer lists.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Hu Tao hu...@cn.fujitsu.com
---
vl.c |
From: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Hu Tao hu...@cn.fujitsu.com
---
hw/i386/pc.c| 4 +---
include/hw/boards.h | 6 +-
include/sysemu/sysemu.h | 1 +
numa.c | 9 +
4 files changed, 16
From: Paolo Bonzini pbonz...@redhat.com
So that backends can use it.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Hu Tao hu...@cn.fujitsu.com
---
exec.c | 44 +--
include/qemu/osdep.h | 2 ++
util/oslib-posix.c | 73
Signed-off-by: Hu Tao hu...@cn.fujitsu.com
[Raise errors on setting properties if !CONFIG_NUMA. Add BUILD_BUG_ON
checks. - Paolo]
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Marcelo Tosatti mtosa...@redhat.com
Signed-off-by: Hu Tao hu...@cn.fujitsu.com
Signed-off-by: Hu Tao
changes to v3.1:
- return -1 in object_create() if there is an error (patch 07)
- configure: change 'numactl' to 'numactl devel' (patch 24)
- configure: error out if numactl-devel is not installed and user
requests numa explicitly(aka --enable-numa) (patch 24)
- check for invalid
From: Paolo Bonzini pbonz...@redhat.com
This option provides the infrastructure for binding guest NUMA nodes
to host NUMA nodes. For example:
-object memory-ram,size=1024M,policy=bind,host-nodes=0,id=ram-node0 \
-numa node,nodeid=0,cpus=0,memdev=ram-node0 \
-object
From: Igor Mammedov imamm...@redhat.com
Add object to /objects before calling user_creatable_complete()
handler, so that object might be able to call
object_get_canonical_path() in its completion handler.
Signed-off-by: Igor Mammedov imamm...@redhat.com
Signed-off-by: Paolo Bonzini
From: Wanlong Gao gaowanl...@cn.fujitsu.com
If the total number of the assigned numa nodes memory is not
equal to the assigned ram size, it will write the wrong data
to ACPI table, then the guest will ignore the wrong ACPI table
and recognize all memory to one node. It's buggy, we should
check it
This is the hmp counterpart of qmp query-memdev.
Signed-off-by: Hu Tao hu...@cn.fujitsu.com
---
hmp.c | 36
hmp.h | 1 +
monitor.c | 7 +++
3 files changed, 44 insertions(+)
diff --git a/hmp.c b/hmp.c
index 5c4d612..1d5bf2d 100644
--- a/hmp.c
From: Paolo Bonzini pbonz...@redhat.com
Use QERR_INVALID_PARAMETER_VALUE for consistency.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Hu Tao hu...@cn.fujitsu.com
---
qmp.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/qmp.c b/qmp.c
index
From: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Hu Tao hu...@cn.fujitsu.com
---
backends/Makefile.objs | 1 +
backends/hostmem-file.c | 108
2 files changed, 109 insertions(+)
create mode
From: Wanlong Gao gaowanl...@cn.fujitsu.com
Add detection of libnuma (mostly contained in the numactl package)
to the configure script. Can be enabled or disabled on the command
line, default is use if available.
Signed-off-by: Andre Przywara andre.przyw...@amd.com
Signed-off-by: Wanlong Gao
From: Paolo Bonzini pbonz...@redhat.com
This allows the superclass to set various policies on the memory
region that the subclass creates.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Hu Tao hu...@cn.fujitsu.com
---
backends/hostmem-file.c | 9 -
Signed-off-by: Hu Tao hu...@cn.fujitsu.com
---
include/qemu/range.h | 124 +++
1 file changed, 124 insertions(+)
diff --git a/include/qemu/range.h b/include/qemu/range.h
index aae9720..8879f8a 100644
--- a/include/qemu/range.h
+++
From: Paolo Bonzini pbonz...@redhat.com
Split the internal interface in exec.c to a separate function, and
push the check on mem_path up to memory_region_init_ram.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Hu Tao hu...@cn.fujitsu.com
---
exec.c | 105
From: Paolo Bonzini pbonz...@redhat.com
A new share property can be used with the memory-file backend to
map memory with MAP_SHARED instead of MAP_PRIVATE.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Hu Tao hu...@cn.fujitsu.com
---
backends/hostmem-file.c | 26
From: Paolo Bonzini pbonz...@redhat.com
Prepare for adding more flags. The _MASK suffix is unique, kill it.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Hu Tao hu...@cn.fujitsu.com
---
exec.c | 9 ++---
include/exec/cpu-all.h | 3 ---
2 files changed, 6
Add qmp command query-memdev to query for information
of memory devices
Signed-off-by: Hu Tao hu...@cn.fujitsu.com
---
numa.c | 72
qapi-schema.json | 34 ++
qmp-commands.hx | 32 +
From: Paolo Bonzini pbonz...@redhat.com
And allow preallocation of file-based memory even without -mem-prealloc.
Some care is necessary because -mem-prealloc does not allow disabling
preallocation for hostmem-file.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Hu Tao
On 14 May 2014 10:28, Anshul Makkar anshul.mak...@profitbricks.com wrote:
Hi Peter,
So it means there are no targets or target list of features that
should be supported in 2.1 ?
If someone wants to pick a particular feature from some target list
and want to contribute to it, where he
Signed-off-by: Hu Tao hu...@cn.fujitsu.com
---
qapi/string-input-visitor.c | 181 --
tests/test-string-input-visitor.c | 39
2 files changed, 212 insertions(+), 8 deletions(-)
diff --git a/qapi/string-input-visitor.c
Signed-off-by: Hu Tao hu...@cn.fujitsu.com
---
include/qom/object.h | 28
qom/object.c | 35 +++
2 files changed, 63 insertions(+)
diff --git a/include/qom/object.h b/include/qom/object.h
index a641dcd..b882ccc 100644
---
Signed-off-by: Hu Tao hu...@cn.fujitsu.com
---
qapi/string-output-visitor.c | 230 +++--
tests/test-string-output-visitor.c | 34 ++
2 files changed, 254 insertions(+), 10 deletions(-)
diff --git a/qapi/string-output-visitor.c
From: Paolo Bonzini pbonz...@redhat.com
Right now, -mem-path will fall back to RAM-based allocation in some
cases. This should never happen with -object memory-file, prepare
the code by adding correct error propagation.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Hu Tao
From: Igor Mammedov imamm...@redhat.com
Provides framework for splitting host RAM allocation/
policies into a separate backend that could be used
by devices.
Initially only legacy RAM backend is provided, which
uses memory_region_init_ram() allocator and compatible
with every CLI option that
From: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
Signed-off-by: Hu Tao hu...@cn.fujitsu.com
---
backends/hostmem.c | 85 +++-
include/qemu/osdep.h | 10 ++
include/sysemu/hostmem.h | 1 +
3 files
Il 14/05/2014 03:47, Gonglei (Arei) ha scritto:
There was a kernel bug recently causing lost interrupts on migration,
maybe this is the same (rh bug 1036478)? Paolo? Is the fix upstream?
Which kernel has it?
It is in 3.15, but it only affects edge-triggered interrupts, so not UHCI.
Paolo
From: Paolo Bonzini pbonz...@redhat.com
Like the previous patch did in exec.c, split memory_region_init_ram and
memory_region_init_ram_from_file, and push mem_path one step further up.
Other RAM regions than system memory will now be backed by regular RAM.
Also, boards that do not use
From: Wanlong Gao gaowanl...@cn.fujitsu.com
Signed-off-by: Wanlong Gao gaowanl...@cn.fujitsu.com
Signed-off-by: Igor Mammedov imamm...@redhat.com
Tested-by: Eduardo Habkost ehabk...@redhat.com
Reviewed-by: Eduardo Habkost ehabk...@redhat.com
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
1 - 100 of 320 matches
Mail list logo