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 P
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
---
tcg/mips/tcg-target.c | 46 --
1 file changed, 40 insertions(+), 6 deletions(-)
diff --git a/tcg/mips/tcg-
In addition, fill delay slots calling the helpers and tail
call to the store helpers.
Signed-off-by: Richard Henderson
---
tcg/mips/tcg-target.c | 107 ++
1 file changed, 56 insertions(+), 51 deletions(-)
diff --git a/tcg/mips/tcg-target.c b/tcg/m
Choosing good addresses for them means we can use JAL for helper calls.
Signed-off-by: Richard Henderson
---
configure | 7 +--
translate-all.c | 13 +
2 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 6adfa72..8978a82 100755
--- a
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
---
translate-all.c | 90 +
1 file changed, 85 insertions(+), 5 deletions(-)
diff --git a/translate-al
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
tcg-mips:
Signed-off-by: Richard Henderson
---
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
+++ b/tcg/mips/tcg-target.c
@@ -392,8 +
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
---
tcg/mips/tcg-target.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tcg/mips/tcg-t
At the same time, tidy deposit by introducing tcg_out_opc_bf.
Signed-off-by: Richard Henderson
---
tcg/mips/tcg-target.c | 60 ++-
tcg/mips/tcg-target.h | 4
2 files changed, 50 insertions(+), 14 deletions(-)
diff --git a/tcg/mips/tcg-target
Signed-off-by: Richard Henderson
---
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 f41081b..4c31027 100644
--- a/tc
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
---
tcg/mips/tcg-target.c | 16 +++-
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/tcg/mip
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
---
tcg/mips/tcg-target.c | 772 +-
1 file cha
Most opcodes fall in to one of a couple of patterns.
Signed-off-by: Richard Henderson
---
tcg/mips/tcg-target.c | 212 +++---
1 file changed, 98 insertions(+), 114 deletions(-)
diff --git a/tcg/mips/tcg-target.c b/tcg/mips/tcg-target.c
index 76a7852..
Use the same table to fold comparisons as with setcond.
Signed-off-by: Richard Henderson
---
tcg/mips/tcg-target.c | 87 ---
1 file changed, 41 insertions(+), 46 deletions(-)
diff --git a/tcg/mips/tcg-target.c b/tcg/mips/tcg-target.c
index 278925c
And use it in the opcode emission functions.
Signed-off-by: Richard Henderson
---
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
--- a/tcg/mips/tcg-target.c
+
Use this to reduce goto_tb by one insn.
Signed-off-by: Richard Henderson
---
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
--- a/tcg/mips/tcg-target.c
Use the same table to fold comparisons as with setcond.
Signed-off-by: Richard Henderson
---
tcg/mips/tcg-target.c | 66 +--
1 file changed, 17 insertions(+), 49 deletions(-)
diff --git a/tcg/mips/tcg-target.c b/tcg/mips/tcg-target.c
index 0e5ecf4
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
---
tcg/mips/tcg-target.c |
Reduce insn count from 5 to either 3 or 4.
Signed-off-by: Richard Henderson
---
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 516c2b7..76a7852 100
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
---
tcg/mips/tcg-target.c | 95 +--
1 file changed, 31 insertions(+), 64 deletions(-)
diff --git a/tcg/mips/tcg
Use these instead of hard-coding the registers to use for temporaries.
Signed-off-by: Richard Henderson
---
tcg/mips/tcg-target.c | 231 +-
1 file changed, 117 insertions(+), 114 deletions(-)
diff --git a/tcg/mips/tcg-target.c b/tcg/mips/tcg-targe
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
---
tcg/mips/tcg-target.c | 40
1 file changed, 36 insertions(+), 4 deletions(-)
diff
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
---
tcg/mips/tcg-target.c | 125 +++---
1 file changed, 67 insertions(+), 58 deletions(-)
diff --git a/tc
Emitting a single branch instead of (up to) 3, using setcond2
to generate the composite compare.
Signed-off-by: Richard Henderson
---
tcg/mips/tcg-target.c | 77 +--
1 file changed, 20 insertions(+), 57 deletions(-)
diff --git a/tcg/mips/tcg-targe
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
---
include/exec/exec-all.h | 9 -
tcg/mips/tcg-target.c | 11 ++-
2 files changed, 14 insertions(+), 6 deletions(-)
"Gonglei (Arei)" 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 how to? Thanks
Signed-off-by: Richard Henderson
---
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
--- a/tcg/mips/tcg-target.c
+++ b/tcg/m
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
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.
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 wi
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
> -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)" writes:
>
> > Hi,
> >
> > I know qemu has a
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 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 -
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
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 d
On 14 May 2014 08:44, Kevin Wolf 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.
>>
>> > g_s
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 devic
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 14
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 /u
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 would
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 a
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 [peter.mayd...@linaro.org
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
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
>>
>> "Gong
On Tue, 13 May 2014 09:29:37 -0600
Eric Blake 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: '{"retur
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"
> Signed-off-by: Markus Armbruster
> ---
> block/ssh.c | 9 -
> 1 file changed, 4 insertions(+), 5 deletions(-)
>
> diff --git
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 ma
"Dr. David Alan Gilbert (git)" writes:
> From: "Dr. David Alan Gilbert"
>
> 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
> Reported-by: William Dauchy
> ---
> vl.c
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 writes:
> Am 13.05.2014 um 19:44 hat Markus Armbruster geschrieben:
>> Fam Zheng 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
>> >> $Q
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.
>
>
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 (Are
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 migr
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 wrote:
> On
"Gonglei (Arei)" 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)" writes:
>
* Markus Armbruster (arm...@redhat.com) wrote:
> "Dr. David Alan Gilbert (git)" writes:
>
> > From: "Dr. David Alan Gilbert"
> >
> > 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. D
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
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” pac
From: Wanlong Gao
Signed-off-by: Wanlong Gao
Reviewed-by: Eduardo Habkost
Signed-off-by: Paolo Bonzini
Signed-off-by: Hu Tao
---
Makefile.target | 2 +-
cpus.c| 14
include/exec/cpu-all.h| 2 -
include/exec/cpu-common.h | 2 +
include/sysemu/cpus
From: Luiz Capitulino
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
Signed-off-by: Paolo Bonzini
Signed-off-by: Hu Tao
From: Paolo Bonzini
Reviewed-by: Michael S. Tsirkin
Signed-off-by: Paolo Bonzini
Signed-off-by: Hu Tao
---
hw/i386/pc.c | 11 +--
hw/i386/pc_piix.c| 8 +++-
hw/i386/pc_q35.c | 4 +---
include/hw/i386/pc.h | 7 +++
4 files changed, 12 insertions(+), 18 deleti
From: Wanlong Gao
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
Signed-off-by: Andre Przywara
Signed-off-by: Wanlong Gao
[Fix hw/ppc/spapr.c - Paolo]
Signed-off-by: Paolo Bonzi
From: Wanlong Gao
libnuma choosed 128 for MAX_NODES, so we follow libnuma here.
Signed-off-by: Wanlong Gao
Reviewed-by: Eduardo Habkost
Signed-off-by: Paolo Bonzini
Signed-off-by: Hu Tao
---
include/sysemu/sysemu.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/
From: Paolo Bonzini
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
Signed-off-by: Hu Tao
---
vl.c | 86 -
From: Paolo Bonzini
Signed-off-by: Paolo Bonzini
Signed-off-by: Hu Tao
---
hw/i386/pc.c| 4 +---
include/hw/boards.h | 6 +-
include/sysemu/sysemu.h | 1 +
numa.c | 9 +
4 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/hw/i386/pc.c b/
From: Paolo Bonzini
So that backends can use it.
Signed-off-by: Paolo Bonzini
Signed-off-by: Hu Tao
---
exec.c | 44 +--
include/qemu/osdep.h | 2 ++
util/oslib-posix.c | 73
3 files changed, 76
Signed-off-by: Hu Tao
[Raise errors on setting properties if !CONFIG_NUMA. Add BUILD_BUG_ON
checks. - Paolo]
Signed-off-by: Paolo Bonzini
Signed-off-by: Marcelo Tosatti
Signed-off-by: Hu Tao
Signed-off-by: Hu Tao
---
backends/hostmem.c | 125 ++
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 poli
From: Paolo Bonzini
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 memory-ram,size=1024M,policy=interleave,host-n
From: Igor Mammedov
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
Signed-off-by: Paolo Bonzini
Signed-off-by: Hu Tao
---
qmp.c | 11 ---
From: Wanlong Gao
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 to ensure that we write t
This is the hmp counterpart of qmp query-memdev.
Signed-off-by: Hu Tao
---
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
+++ b/hmp.c
@@ -22,6 +
From: Paolo Bonzini
Use QERR_INVALID_PARAMETER_VALUE for consistency.
Signed-off-by: Paolo Bonzini
Signed-off-by: Hu Tao
---
qmp.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/qmp.c b/qmp.c
index b722dbe..cef60fb 100644
--- a/qmp.c
+++ b/qmp.c
@@ -540,7 +540,8 @@ void
From: Paolo Bonzini
Signed-off-by: Paolo Bonzini
Signed-off-by: Hu Tao
---
backends/Makefile.objs | 1 +
backends/hostmem-file.c | 108
2 files changed, 109 insertions(+)
create mode 100644 backends/hostmem-file.c
diff --git a/backends/Make
From: Wanlong Gao
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
Signed-off-by: Wanlong Gao
Signed-off-by: Paolo Bonzini
Signed-off-by: Hu Ta
From: Paolo Bonzini
This allows the superclass to set various policies on the memory
region that the subclass creates.
Signed-off-by: Paolo Bonzini
Signed-off-by: Hu Tao
---
backends/hostmem-file.c | 9 -
backends/hostmem-ram.c | 7 +++
backends/hostmem.c | 12 +
Signed-off-by: Hu Tao
---
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
+++ b/include/qemu/range.h
@@ -3,6 +3,7 @@
From: Paolo Bonzini
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
Signed-off-by: Hu Tao
---
exec.c | 105 +---
include/exec/c
From: Paolo Bonzini
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
Signed-off-by: Hu Tao
---
backends/hostmem-file.c | 26 +-
exec.c | 18 ++--
From: Paolo Bonzini
Prepare for adding more flags. The "_MASK" suffix is unique, kill it.
Signed-off-by: Paolo Bonzini
Signed-off-by: Hu Tao
---
exec.c | 9 ++---
include/exec/cpu-all.h | 3 ---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/exec.c b/exec.
Add qmp command query-memdev to query for information
of memory devices
Signed-off-by: Hu Tao
---
numa.c | 72
qapi-schema.json | 34 ++
qmp-commands.hx | 32 +
3 files changed, 13
From: Paolo Bonzini
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
Signed-off-by: Hu Tao
---
backends/hostmem-file.c | 3 +++
backends
On 14 May 2014 10:28, Anshul Makkar 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 should look for.
If we had a
Signed-off-by: Hu Tao
---
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 b/qapi/string-input-visitor.c
index 793548a..0f6
Signed-off-by: Hu Tao
---
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
--- a/include/qom/object.h
+++
Signed-off-by: Hu Tao
---
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 b/qapi/string-output-visitor.c
index fb1d2e8..c
From: Paolo Bonzini
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
Signed-off-by: Hu Tao
---
exec.c | 36 ++
From: Igor Mammedov
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 affects memory_region_i
From: Paolo Bonzini
Signed-off-by: Paolo Bonzini
Signed-off-by: Hu Tao
---
backends/hostmem.c | 85 +++-
include/qemu/osdep.h | 10 ++
include/sysemu/hostmem.h | 1 +
3 files changed, 95 insertions(+), 1 deletion(-)
diff --git a/backe
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.
Pao
From: Paolo Bonzini
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 memory_region_allocate_system_
From: Wanlong Gao
Signed-off-by: Wanlong Gao
Signed-off-by: Igor Mammedov
Tested-by: Eduardo Habkost
Reviewed-by: Eduardo Habkost
Signed-off-by: Paolo Bonzini
Signed-off-by: Hu Tao
---
include/sysemu/sysemu.h | 3 +-
numa.c | 145 +++--
Am 14.05.2014 um 00:12 hat Eric Blake geschrieben:
> On 05/08/2014 12:12 PM, Max Reitz wrote:
> > If the filename given to bdrv_open() is prefixed with "json:", parse the
> > rest as a JSON object and merge the result into the options QDict. If
> > there are conflicts, report one of them to the use
Am 08.05.2014 um 20:12 hat Max Reitz geschrieben:
> This series acts as some kind of alternative or v6 to the "block/json:
> Add JSON protocol driver" series. It makes bdrv_open() parse filenames
> prefixed by "json:" as JSON objects (discarding the prefix beforehand)
> and then use the resulting Q
On 05/14/14 06:01, Jaeyong Yoo wrote:
>> -Original Message-
>> From: qemu-devel-bounces+jaeyong.yoo=samsung@nongnu.org [mailto:qemu-
>> devel-bounces+jaeyong.yoo=samsung@nongnu.org] On Behalf Of Laszlo
>> Ersek
>> Sent: Tuesday, May 13, 2014 10:55 PM
>> To: jaeyong@samsung.com;
On Wed, 14 May 2014, Michael S. Tsirkin wrote:
On Wed, May 14, 2014 at 01:39:03AM +0200, BALATON Zoltan wrote:
On Thu, 8 May 2014, Michael Tokarev wrote:
27.02.2014 05:05, BALATON Zoltan wrote:
Shoudl we actually make it machine-specific, to keep even prog-if value
of these things the same as
1 - 100 of 330 matches
Mail list logo