On 12/02/2013 05:19 PM, Lei Li wrote:
Adds argument ram_addr_t to hook_ram_load, and replaces
QEMURamHookFunc with QEMURamLoadHookFunc for it. With this
new argument, it will allow cut almost half of the data
transferred on the Unix socket using by page flipping
migraton.
Signed-off-by: Lei Li
On 12/02/2013 05:19 PM, Lei Li wrote:
This patch exports MemoryRegion to save_page hook, replacing
argument ram_addr_t block_offset with a MemoryRegion suggested
by Paolo Bonzini.
Signed-off-by: Lei Li
---
arch_init.c |4 ++--
include/migration/migration.h |2 +-
i
For patch 9, 11-18, 20-24
Reviewed-by: Wenchao Xia
For patch 10, I am not sure whether there is a risk to bypass I/O limit
when bytes is too small:
bdrv_io_limits_intercept(bs, bytes >> BDRV_SECTOR_BITS, false);
于 2013/12/13 21:22, Kevin Wolf 写道:
> We can only have a single wait_serialising_requests() call per request
> because otherwise we can run into deadlocks where requests are waiting
> for each other.
do you mean:
mark_request_serialising(req)
...
wait_serialising_requests(req);
...
wait_serialisin
On 2013年12月27日 00:19, Peter Lieven wrote:
while evaluatiing compressed qcow2 images as a good basis for
virtual machine templates I found out that there are a lot
of partly redundant (compressed clusters have common physical
sectors) and relatively short reads.
This doesn't hurt if the image res
This patch prepares for the subsequent patches.
Signed-off-by: Hu Tao
---
block/qcow2.c| 8
qapi-schema.json | 12
2 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/block/qcow2.c b/block/qcow2.c
index f29aa88..729dac6 100644
--- a/block/qcow2.c
+++ b/bloc
and avoid convert it back later.
Signed-off-by: Hu Tao
---
block/qcow2.c | 8
block/raw-posix.c | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/block/qcow2.c b/block/qcow2.c
index 729dac6..f0a8d87 100644
--- a/block/qcow2.c
+++ b/block/qcow2.c
@@ -1561,7 +15
This patch adds a new option preallocation for raw format, and implements
full preallocation.
Signed-off-by: Hu Tao
---
block/raw-posix.c | 46 ++
1 file changed, 46 insertions(+)
diff --git a/block/raw-posix.c b/block/raw-posix.c
index 6f6b8c1..a722d
This series implements full image preallocation to create a non-sparse image
file at creation time, both for raw and qcow2 format. The purpose is to avoid
performance deterioration of the guest cause by sparse image.
v4: - remove bdrv_preallocate and make preallocation a bdrv_create_file option
This adds a preallocation=full mode to qcow2 image creation, which
creates a non-sparse image file.
Signed-off-by: Hu Tao
---
block/qcow2.c | 48 +---
1 file changed, 45 insertions(+), 3 deletions(-)
diff --git a/block/qcow2.c b/block/qcow2.c
index f0
On 12/27/2013 02:12 AM, Michael S. Tsirkin wrote:
> On Fri, Dec 27, 2013 at 01:59:19AM +1100, Alexey Kardashevskiy wrote:
>> On 12/27/2013 12:48 AM, Michael S. Tsirkin wrote:
>>> On Thu, Dec 26, 2013 at 11:51:04PM +1100, Alexey Kardashevskiy wrote:
On 12/26/2013 09:49 PM, Michael S. Tsirkin wr
On 27 December 2013 00:54, Peter Crosthwaite
wrote:
> Your bootstrap process is just "blob this file at this address" which to me
> is legitimate generic functionality. If you implement arbitrary file
> blobbing on Cmd line there are many applications across all archs and plats.
> and you fex case
On Dec 27, 2013 10:24 AM, "Li Guang" wrote:
>
> Peter Maydell wrote:
>>
>> On 26 December 2013 19:40, Hans de Goede wrote:
>>
>>>
>>> I'm one of the linux-sunxi developers, the only reason we've
>>> this fex file abomination, is because we've inherited it
>>> from the android-allwinner sources.
>
On 27 December 2013 00:21, Li Guang wrote:
> Peter Maydell wrote:
>> On 26 December 2013 19:40, Hans de Goede wrote:
>>> I'm one of the linux-sunxi developers, the only reason we've
>>> this fex file abomination, is because we've inherited it
>>> from the android-allwinner sources.
>> Thanks for
Peter Maydell wrote:
On 26 December 2013 19:40, Hans de Goede wrote:
I'm one of the linux-sunxi developers, the only reason we've
this fex file abomination, is because we've inherited it
from the android-allwinner sources.
Thanks for the clarification; I suspected that might be the c
On 26 December 2013 19:10, Richard Henderson wrote:
> On 12/26/2013 10:58 AM, Peter Maydell wrote:
>>> @@ -6231,7 +6214,7 @@ static target_ulong disas_insn(CPUX86State *env,
>>> DisasContext *s,
>>> exception */
>>> gen_op_jmp_T0();
>>> /* pop selector */
On Thu, 2013-12-26 at 20:19 +0200, Michael S. Tsirkin wrote:
> On Thu, Dec 26, 2013 at 07:15:00PM +0200, Marcel Apfelbaum wrote:
> > On Thu, 2013-12-26 at 18:51 +0200, Michael S. Tsirkin wrote:
> > > On Thu, Dec 26, 2013 at 06:12:25PM +0200, Michael S. Tsirkin wrote:
> > > > On Thu, Dec 26, 2013 at
On 26 December 2013 19:40, Hans de Goede wrote:
> I'm one of the linux-sunxi developers, the only reason we've
> this fex file abomination, is because we've inherited it
> from the android-allwinner sources.
Thanks for the clarification; I suspected that might be the case.
> Currently most of th
On 26 December 2013 21:27, Peter Maydell wrote:
> Why is it OK to skip the addition of the base address for ES
> (in the movl_A0_EDI case) when the comment for addseg says
> it only applies to CS/DS/ES?
Scratch that, misread of the comment. addseg applies to DS/ES/SS.
> Why is it not OK to skip
On 26 December 2013 19:31, Richard Henderson wrote:
> On 12/26/2013 10:38 AM, Peter Maydell wrote:
>> The old MO_16 code for gen_string_movl* doesn't care
>> about s->addseg, and always performs an add of a segment.
>> This new code might stop without doing the addition.
>
> The only time s->addse
Hi,
On 12/26/2013 01:58 AM, Li Guang wrote:
Peter Maydell wrote:
On 26 December 2013 00:39, Li Guang wrote:
Peter Maydell wrote:
On 26 December 2013 00:14, Li Guang wrote:
it's the approach sunxi-linux kernel config hardware,
the binary is actually a transformed text script,
and context o
On 12/26/2013 10:38 AM, Peter Maydell wrote:
> The old MO_16 code for gen_string_movl* doesn't care
> about s->addseg, and always performs an add of a segment.
> This new code might stop without doing the addition.
The only time s->addseg will be false in 16-bit mode is during translation of
LEA.
On 12/26/2013 10:58 AM, Peter Maydell wrote:
> On 29 November 2013 03:00, Richard Henderson wrote:
>> Merge gen_op_addl_A0_im and gen_op_addq_A0_im into gen_add_A0_im
>> and clean up the ifdef.
>>
>> Replace the one remaining user of gen_op_addl_A0_im with gen_add_A0_im.
>>
>> Signed-off-by: Richa
On 23 December 2013 22:54, Peter Maydell wrote:
> Otherwise, patches 1 to 38
> Reviewed-by: Peter Maydell
Patches 39, 40, 44, 45, 50..55, 57..60 also
Reviewed-by: Peter Maydell
Patch 56 I have a query on. Patches 41..43 and 46..49
all involve the lea_v function, regarding which see my comments
On 29 November 2013 03:00, Richard Henderson wrote:
> Merge gen_op_addl_A0_im and gen_op_addq_A0_im into gen_add_A0_im
> and clean up the ifdef.
>
> Replace the one remaining user of gen_op_addl_A0_im with gen_add_A0_im.
>
> Signed-off-by: Richard Henderson
> ---
> target-i386/translate.c | 27 +
On 29 November 2013 03:00, Richard Henderson wrote:
> Add forgotten zero-extension in the TARGET_X86_64, !CODE64, ss32 case;
> use this new function to implement gen_string_movl_A0_EDI,
> gen_string_movl_A0_ESI, gen_add_A0_ds_seg.
I'm afraid I can't figure out how this code matches up with the pr
On Thu, Dec 26, 2013 at 07:15:00PM +0200, Marcel Apfelbaum wrote:
> On Thu, 2013-12-26 at 18:51 +0200, Michael S. Tsirkin wrote:
> > On Thu, Dec 26, 2013 at 06:12:25PM +0200, Michael S. Tsirkin wrote:
> > > On Thu, Dec 26, 2013 at 05:58:09PM +0200, Marcel Apfelbaum wrote:
> > > > On Thu, 2013-12-26
On Thu, 2013-12-26 at 18:51 +0200, Michael S. Tsirkin wrote:
> On Thu, Dec 26, 2013 at 06:12:25PM +0200, Michael S. Tsirkin wrote:
> > On Thu, Dec 26, 2013 at 05:58:09PM +0200, Marcel Apfelbaum wrote:
> > > On Thu, 2013-12-26 at 17:41 +0200, Michael S. Tsirkin wrote:
> > > > On Thu, Dec 26, 2013 at
On Thu, Dec 26, 2013 at 06:12:25PM +0200, Michael S. Tsirkin wrote:
> On Thu, Dec 26, 2013 at 05:58:09PM +0200, Marcel Apfelbaum wrote:
> > On Thu, 2013-12-26 at 17:41 +0200, Michael S. Tsirkin wrote:
> > > On Thu, Dec 26, 2013 at 04:09:58PM +0200, Marcel Apfelbaum wrote:
> > > > On Thu, 2013-12-26
while evaluatiing compressed qcow2 images as a good basis for
virtual machine templates I found out that there are a lot
of partly redundant (compressed clusters have common physical
sectors) and relatively short reads.
This doesn't hurt if the image resides on a local
filesystem where we can bene
On Thu, Dec 26, 2013 at 05:58:09PM +0200, Marcel Apfelbaum wrote:
> On Thu, 2013-12-26 at 17:41 +0200, Michael S. Tsirkin wrote:
> > On Thu, Dec 26, 2013 at 04:09:58PM +0200, Marcel Apfelbaum wrote:
> > > On Thu, 2013-12-26 at 15:53 +0200, Michael S. Tsirkin wrote:
> > > > On Thu, Dec 26, 2013 at 0
On Thu, 2013-12-26 at 17:41 +0200, Michael S. Tsirkin wrote:
> On Thu, Dec 26, 2013 at 04:09:58PM +0200, Marcel Apfelbaum wrote:
> > On Thu, 2013-12-26 at 15:53 +0200, Michael S. Tsirkin wrote:
> > > On Thu, Dec 26, 2013 at 03:24:28PM +0200, Marcel Apfelbaum wrote:
> > > > On Thu, 2013-12-26 at 14:
On Thu, Dec 26, 2013 at 04:09:58PM +0200, Marcel Apfelbaum wrote:
> On Thu, 2013-12-26 at 15:53 +0200, Michael S. Tsirkin wrote:
> > On Thu, Dec 26, 2013 at 03:24:28PM +0200, Marcel Apfelbaum wrote:
> > > On Thu, 2013-12-26 at 14:46 +0200, Michael S. Tsirkin wrote:
> > > > On Thu, Dec 26, 2013 at 0
The test checked if iasl is installed by running "iasl"
and checking the error output.
It is better to use the iasl executable as appears
in configuration.
Signed-off-by: Marcel Apfelbaum
---
tests/acpi-test.c | 31 ---
1 file changed, 8 insertions(+), 23 deletions(-)
Acpi unit-tests will extract iasl executable
from CONFIG_IASL define.
Signed-off-by: Marcel Apfelbaum
---
scripts/create_config | 4
1 file changed, 4 insertions(+)
diff --git a/scripts/create_config b/scripts/create_config
index b1adbf5..06f5316 100755
--- a/scripts/create_config
+++ b/sc
On Fri, Dec 27, 2013 at 01:59:19AM +1100, Alexey Kardashevskiy wrote:
> On 12/27/2013 12:48 AM, Michael S. Tsirkin wrote:
> > On Thu, Dec 26, 2013 at 11:51:04PM +1100, Alexey Kardashevskiy wrote:
> >> On 12/26/2013 09:49 PM, Michael S. Tsirkin wrote:
> >>> On Thu, Dec 26, 2013 at 09:13:31PM +1100,
When running the test with TEST_ACPI_REBUILD_AML=y environment
variable, the test will rebuild and validate the expected aml
files.
Signed-off-by: Marcel Apfelbaum
---
tests/acpi-test.c | 30 +-
1 file changed, 25 insertions(+), 5 deletions(-)
diff --git a/tests/acpi
Ensure configure will set-up links for the files
if the build is created in other directory.
Signed-off-by: Marcel Apfelbaum
---
configure | 4
1 file changed, 4 insertions(+)
diff --git a/configure b/configure
index 07b6be3..53a1392 100755
--- a/configure
+++ b/configure
@@ -4744,6 +4744,
On 12/27/2013 12:48 AM, Michael S. Tsirkin wrote:
> On Thu, Dec 26, 2013 at 11:51:04PM +1100, Alexey Kardashevskiy wrote:
>> On 12/26/2013 09:49 PM, Michael S. Tsirkin wrote:
>>> On Thu, Dec 26, 2013 at 09:13:31PM +1100, Alexey Kardashevskiy wrote:
On 12/25/2013 08:52 PM, Michael S. Tsirkin wr
Acpi unit-test will fail every time the acpi tables change.
This script rebuild the expected aml files, so the test
will pass. It also validates the modifications.
Signed-off-by: Marcel Apfelbaum
---
tests/acpi-test-data/rebuild-expected-aml.sh | 36
1 file changed,
This test will run only if iasl is installed on the host machine.
The test plan:
1. Dumps the ACPI tables as AML on the disk.
2. Runs iasl to disassembly the tables into ASL files.
3. Runs iasl to disassembly the offline AML files into ASL files.
4. Compares the ASL files.
The test runs for bo
This resend includes the following:
Compare resulting aml vs expected aml:
- runs only if iasl is installed on the host machine.
- the test plan:
1. Dumps the ACPI tables as AML on the disk.
2. Runs iasl to disassembly the tables into ASL files.
3. Runs iasl to disassembly the offline A
Added unit-test's expected aml files to be compared
with the actual ACPI tables.
Signed-off-by: Marcel Apfelbaum
---
tests/acpi-test-data/pc/APIC | Bin 0 -> 120 bytes
tests/acpi-test-data/pc/DSDT | Bin 0 -> 4407 bytes
tests/acpi-test-data/pc/FACP | Bin 0 -> 116 bytes
tests/acpi-test-data/p
On Thu, 2013-12-26 at 16:24 +0200, Michael S. Tsirkin wrote:
> On Thu, Dec 26, 2013 at 04:07:59PM +0200, Marcel Apfelbaum wrote:
> > When running the test with TEST_ACPI_REBUILD_AML=y environment
> > variable, the test will rebuild and validate the expected aml
> > files.
> >
> > Signed-off-by: Ma
On Thu, 2013-12-26 at 16:24 +0200, Michael S. Tsirkin wrote:
> On Thu, Dec 26, 2013 at 04:07:59PM +0200, Marcel Apfelbaum wrote:
> > When running the test with TEST_ACPI_REBUILD_AML=y environment
> > variable, the test will rebuild and validate the expected aml
> > files.
> >
> > Signed-off-by: Ma
On Thu, Dec 26, 2013 at 02:19:49PM +0200, Marcel Apfelbaum wrote:
> Acpi unit-test will fail every time the acpi tables change.
> This script rebuild the expected aml files, so the test
> will pass. It also validates the modifications.
>
> Signed-off-by: Marcel Apfelbaum
> ---
> v1 -> v2:
> Addre
On Thu, Dec 26, 2013 at 04:07:59PM +0200, Marcel Apfelbaum wrote:
> When running the test with TEST_ACPI_REBUILD_AML=y environment
> variable, the test will rebuild and validate the expected aml
> files.
>
> Signed-off-by: Marcel Apfelbaum
> ---
> v2 -> v3:
> Addressed Michael S. Tsirkin's commen
On Thu, 2013-12-26 at 15:53 +0200, Michael S. Tsirkin wrote:
> On Thu, Dec 26, 2013 at 03:24:28PM +0200, Marcel Apfelbaum wrote:
> > On Thu, 2013-12-26 at 14:46 +0200, Michael S. Tsirkin wrote:
> > > On Thu, Dec 26, 2013 at 02:19:48PM +0200, Marcel Apfelbaum wrote:
> > > > Acpi unit-test will fail
Acpi unit-test will fail every time the acpi tables change.
This script rebuild the expected aml files, so the test
will pass. It also validates the modifications.
Signed-off-by: Marcel Apfelbaum
---
v2 -> v3:
Addressed Michael S. Tsirkin's comments:
- Some trailing space
v1 -> v2:
Addressed Mic
Acpi unit-test will fail every time the acpi tables change.
The series adds a script that rebuilds the expected aml files, so the test
will pass. It also validates the modifications.
The acpi unit test will rebuild the aml tables if TEST_ACPI_REBUILD_AML
environment variable is set.
v2 -> v3:
Ad
When running the test with TEST_ACPI_REBUILD_AML=y environment
variable, the test will rebuild and validate the expected aml
files.
Signed-off-by: Marcel Apfelbaum
---
v2 -> v3:
Addressed Michael S. Tsirkin's comments:
- Used qemu_write_full instead of write
v1 -> v2:
Addressed Michael S. Tsirki
On Thu, Dec 26, 2013 at 03:24:28PM +0200, Marcel Apfelbaum wrote:
> On Thu, 2013-12-26 at 14:46 +0200, Michael S. Tsirkin wrote:
> > On Thu, Dec 26, 2013 at 02:19:48PM +0200, Marcel Apfelbaum wrote:
> > > Acpi unit-test will fail every time the acpi tables change.
> > >
> > > The series adds a scr
On Thu, Dec 26, 2013 at 11:51:04PM +1100, Alexey Kardashevskiy wrote:
> On 12/26/2013 09:49 PM, Michael S. Tsirkin wrote:
> > On Thu, Dec 26, 2013 at 09:13:31PM +1100, Alexey Kardashevskiy wrote:
> >> On 12/25/2013 08:52 PM, Michael S. Tsirkin wrote:
> >>> On Wed, Dec 25, 2013 at 12:36:12PM +1100,
On Thu, 2013-12-26 at 14:46 +0200, Michael S. Tsirkin wrote:
> On Thu, Dec 26, 2013 at 02:19:48PM +0200, Marcel Apfelbaum wrote:
> > Acpi unit-test will fail every time the acpi tables change.
> >
> > The series adds a script that rebuilds the expected aml files, so the test
> > will pass. It also
On 12/26/2013 09:49 PM, Michael S. Tsirkin wrote:
> On Thu, Dec 26, 2013 at 09:13:31PM +1100, Alexey Kardashevskiy wrote:
>> On 12/25/2013 08:52 PM, Michael S. Tsirkin wrote:
>>> On Wed, Dec 25, 2013 at 12:36:12PM +1100, Alexey Kardashevskiy wrote:
On 12/25/2013 02:43 AM, Michael S. Tsirkin wr
This patch adds native support for accessing images on NFS shares without
the requirement to actually mount the entire NFS share on the host.
NFS Images can simply be specified by an url of the form:
nfs:
For example:
qemu-img create -f qcow2 nfs://10.0.0.1/qemu-images/test.qcow2
You need Li
On Thu, Dec 26, 2013 at 02:19:48PM +0200, Marcel Apfelbaum wrote:
> Acpi unit-test will fail every time the acpi tables change.
>
> The series adds a script that rebuilds the expected aml files, so the test
> will pass. It also validates the modifications.
>
> The acpi unit test will rebuild the
When running the test with TEST_ACPI_REBUILD_AML=y environment
variable, the test will rebuild and validate the expected aml
files.
Signed-off-by: Marcel Apfelbaum
---
v1 -> v2:
Addressed Michael S. Tsirkin's comments:
- added TEST_ prefix to the environment variable
tests/acpi-test.c | 30 ++
Acpi unit-test will fail every time the acpi tables change.
This script rebuild the expected aml files, so the test
will pass. It also validates the modifications.
Signed-off-by: Marcel Apfelbaum
---
v1 -> v2:
Addressed Michael S. Tsirkin's comments:
- added TEST_ prefix to the environment varia
Acpi unit-test will fail every time the acpi tables change.
The series adds a script that rebuilds the expected aml files, so the test
will pass. It also validates the modifications.
The acpi unit test will rebuild the aml tables if TEST_ACPI_REBUILD_AML
environment variable is set.
v1 -> v2:
Ad
On Thu, 2013-12-26 at 12:53 +0200, Michael S. Tsirkin wrote:
> On Thu, Dec 26, 2013 at 12:44:10PM +0200, Marcel Apfelbaum wrote:
> > Acpi unit-test will fail every time the acpi tables change.
> > This script rebuilds the expected aml files, so the test
> > will pass. It also validates the modifica
On Thu, 2013-12-26 at 12:56 +0200, Michael S. Tsirkin wrote:
> On Thu, Dec 26, 2013 at 12:44:11PM +0200, Marcel Apfelbaum wrote:
> > When running the test with ACPI_REBUILD_AML=y environment
> > variable, the test will rebuild and validate the expected aml
> > files.
> >
> > Signed-off-by: Marcel
On Thu, Dec 26, 2013 at 12:44:11PM +0200, Marcel Apfelbaum wrote:
> When running the test with ACPI_REBUILD_AML=y environment
> variable, the test will rebuild and validate the expected aml
> files.
>
> Signed-off-by: Marcel Apfelbaum
> ---
> tests/acpi-test.c | 30 +-
On Thu, Dec 26, 2013 at 12:44:10PM +0200, Marcel Apfelbaum wrote:
> Acpi unit-test will fail every time the acpi tables change.
> This script rebuilds the expected aml files, so the test
> will pass. It also validates the modifications.
>
> Signed-off-by: Marcel Apfelbaum
> ---
> tests/acpi-test
When running the test with ACPI_REBUILD_AML=y environment
variable, the test will rebuild and validate the expected aml
files.
Signed-off-by: Marcel Apfelbaum
---
tests/acpi-test.c | 30 +-
1 file changed, 25 insertions(+), 5 deletions(-)
diff --git a/tests/acpi-test
On Thu, Dec 26, 2013 at 09:13:31PM +1100, Alexey Kardashevskiy wrote:
> On 12/25/2013 08:52 PM, Michael S. Tsirkin wrote:
> > On Wed, Dec 25, 2013 at 12:36:12PM +1100, Alexey Kardashevskiy wrote:
> >> On 12/25/2013 02:43 AM, Michael S. Tsirkin wrote:
> >>> On Wed, Dec 25, 2013 at 01:15:29AM +1100,
Acpi unit-test will fail every time the acpi tables change.
This script rebuilds the expected aml files, so the test
will pass. It also validates the modifications.
Signed-off-by: Marcel Apfelbaum
---
tests/acpi-test-data/rebuild-expected-aml.sh | 36
1 file changed,
Acpi unit-test will fail every time the acpi tables change.
The series adds a script that rebuilds the expected aml files, so the test
will pass. It also validates the modifications.
The acpi unit test will rebuild the aml table if ACPI_REBUILD_AML
environment variable is set.
Marcel Apfelbaum (
On 12/25/2013 08:52 PM, Michael S. Tsirkin wrote:
> On Wed, Dec 25, 2013 at 12:36:12PM +1100, Alexey Kardashevskiy wrote:
>> On 12/25/2013 02:43 AM, Michael S. Tsirkin wrote:
>>> On Wed, Dec 25, 2013 at 01:15:29AM +1100, Alexey Kardashevskiy wrote:
On 12/24/2013 08:40 PM, Michael S. Tsirkin wr
On 2013年12月26日 14:10, ronnie sahlberg wrote:
On Wed, Dec 25, 2013 at 9:42 PM, Fam Zheng wrote:
On 2013年12月21日 00:04, Peter Lieven wrote:
This patch adds native support for accessing images on NFS shares without
the requirement to actually mount the entire NFS share on the host.
NFS Images ca
70 matches
Mail list logo