Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
hw/arm/Makefile.objs |1 +
hw/arm/sunxi-soc.c | 113 ++
2 files changed, 114 insertions(+), 0 deletions(-)
create mode 100644 hw/arm/sunxi-soc.c
diff --git a/hw/arm/Makefile.objs
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
MAINTAINERS |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 77edacf..232e1a1 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -284,6 +284,15 @@ M: Peter Maydell
this patch-set implemented a device-reduced
machine type for Allwinner's sunxi series SoC,
like sunxi-4i/5i/7i ...
now, It can support sunxi-4i with a cortex-a8 processor.
and will support more later, like sunxi-7i with cortex-a7,
and will add more devices.
v2: split timer and interrupt
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
default-configs/arm-softmmu.mak |2 +
hw/timer/Makefile.objs |1 +
hw/timer/sunxi-pit.c| 260 +++
include/hw/timer/sunxi-pit.h| 26
4 files changed, 289 insertions(+), 0
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
default-configs/arm-softmmu.mak |1 +
hw/intc/Makefile.objs |1 +
hw/intc/sunxi-pic.c | 301 +++
include/hw/intc/sunxi-pic.h | 27
4 files changed, 330 insertions(+), 0
Fix a bug that was introduced in commit 386a5a1e. A removal of a device
set the chr handlers to NULL. However when the device is plugged back,
its read callback is not restored so data can't be transfter from the
host to the guest via the virtio-serial port.
ping
2013/11/21 Stefan Hajnoczi stefa...@gmail.com
On Thu, Nov 21, 2013 at 11:33:56AM +0800, Chunyan Liu wrote:
2013/11/20 Stefan Hajnoczi stefa...@gmail.com
On Wed, Nov 20, 2013 at 04:50:29PM +0800, Chunyan Liu wrote:
block/cow.c | 22 ++
this patch aims to set bdi-cluster_size to the internal page size
of the iscsi target so that enabled callers can align requests
properly.
Signed-off-by: Peter Lieven p...@kamp.de
---
block/iscsi.c |6 ++
1 file changed, 6 insertions(+)
diff --git a/block/iscsi.c b/block/iscsi.c
index
Il 25/11/2013 09:29, Peter Lieven ha scritto:
this patch aims to set bdi-cluster_size to the internal page size
of the iscsi target so that enabled callers can align requests
properly.
Signed-off-by: Peter Lieven p...@kamp.de
---
block/iscsi.c |6 ++
1 file changed, 6
On 25.11.2013 09:54, Paolo Bonzini wrote:
Il 25/11/2013 09:29, Peter Lieven ha scritto:
this patch aims to set bdi-cluster_size to the internal page size
of the iscsi target so that enabled callers can align requests
properly.
Signed-off-by: Peter Lieven p...@kamp.de
---
block/iscsi.c |6
On 22.11.2013 13:39, Paolo Bonzini wrote:
bdrv_co_discard is only covering drivers which have a .bdrv_co_discard()
implementation, but not those with .bdrv_aio_discard(). Not very nice,
and easy to avoid.
Suggested-by: Kevin Wolf kw...@redhat.com
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
On 22.11.2013 13:39, Paolo Bonzini wrote:
This lets bdrv_co_do_rw receive flags, so that it can be used for
zero writes.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
block.c | 17 +++--
include/block/block.h | 1 +
2 files changed, 12 insertions(+), 6
On 22.11.2013 13:39, Paolo Bonzini wrote:
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
block.c | 2 +-
trace-events | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/block.c b/block.c
index 0665f35..cb07e57 100644
--- a/block.c
+++ b/block.c
@@ -2887,7
On 22.11.2013 13:39, Paolo Bonzini wrote:
This will be used by the SCSI layer.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
block.c | 11 +++
include/block/block.h | 3 +++
trace-events | 1 +
3 files changed, 15 insertions(+)
diff --git a/block.c
Am 21.11.2013 um 09:51 hat Stefan Hajnoczi geschrieben:
On Thu, Nov 21, 2013 at 11:33:56AM +0800, Chunyan Liu wrote:
2013/11/20 Stefan Hajnoczi stefa...@gmail.com
On Wed, Nov 20, 2013 at 04:50:29PM +0800, Chunyan Liu wrote:
block/cow.c | 22 ++
On 11/22/2013 10:37 PM, Vlad Yasevich wrote:
On 11/22/2013 04:47 AM, Jason Wang wrote:
On 11/22/2013 04:04 AM, Vlad Yasevich wrote:
e1000 provides a E1000_RAH_AV bit on every complete write
to the Receive Address Register. We can use this bit
2 ways:
1) To trigger HMP notifications.
Am 22.11.2013 um 17:58 hat Stefan Hajnoczi geschrieben:
On Fri, Nov 22, 2013 at 01:24:47PM +0800, Fam Zheng wrote:
This series adds for point-in-time snapshot NBD exporting based on
blockdev-backup (variant of drive-backup with existing device as target).
We get a thin point-in-time
Il 25/11/2013 07:39, Michael R. Hines ha scritto:
Because some random option ROM is loaded before the RAM region is
created, and thus the ram_addr_t's become misaligned. Keeping the
ram_addr_t's aligned in find_ram_offset is easy:
diff --git a/exec.c b/exec.c
index 79610ce..1b82e81 100644
Il 25/11/2013 08:29, Lei Li ha scritto:
In this case, if the migration would fail just because the misconfiguration
of device state on destination, in the meantime the outgoing migration has
no aware of this failure, I think it should add such handling (like
synchronize
of the device
Il 24/11/2013 12:04, Stefan Weil ha scritto:
Do we really need this? It only makes git bisect iterations from
versions after 2013-11-19 to versions before that date easier. If a
typical git bisect needs 10 steps, then in the worst cast 5 of them
won't automatically run configure. This is
Hi all,
This is an idea about allowing online incremental backup of block
device, with drive-backup and (proposed here) in-memory block dirty bitmap:
1. We enable a dirty bitmap on a block device, at the start point of
write tracking:
(QMP) dirty-bitmap-add device=foo name=bitmap0
On 22.11.2013 13:39, Paolo Bonzini wrote:
Similar to write_zeroes, let the generic code receive a ENOTSUP for
discard operations. Since bdrv_discard has advisory semantics,
we can just swallow the error.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
block.c | 2 +-
Am 22.11.2013 um 06:24 hat Fam Zheng geschrieben:
BlockDriverState.op_blockers is an array of list with BLOCK_OP_TYPE_MAX
s/list/lists/
elements. Each list is a list of blockers of an operation type
(BlockOpType), that marks this BDS is currently blocked for certain type
s/is/as/
s/for/for
On Thu, 21 Nov 2013 16:45:20 +0200
Michael S. Tsirkin m...@redhat.com wrote:
On Thu, Nov 21, 2013 at 03:37:55PM +0100, Igor Mammedov wrote:
On Thu, 21 Nov 2013 15:43:27 +0200
Michael S. Tsirkin m...@redhat.com wrote:
On Thu, Nov 21, 2013 at 02:39:10PM +0100, Igor Mammedov wrote:
On
On Thu, 21 Nov 2013 09:20:18 +0200
Michael S. Tsirkin m...@redhat.com wrote:
On Thu, Nov 21, 2013 at 03:38:46AM +0100, Igor Mammedov wrote:
replace magic numbers with enum describing Flags field of
memory affinity in SRAT table.
MemoryAffinityFlags enum will define flags decribed by:
On Thu, 21 Nov 2013 09:18:40 +0200
Michael S. Tsirkin m...@redhat.com wrote:
On Thu, Nov 21, 2013 at 03:38:47AM +0100, Igor Mammedov wrote:
Needed for Windows to use hotplugged memory device, otherwise
it complains that server is not configured for memory hotplug.
Tests shows that
Hi,
On Mon, Nov 25, 2013 at 5:41 PM, liguang lig.f...@cn.fujitsu.com wrote:
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
default-configs/arm-softmmu.mak |2 +
hw/timer/Makefile.objs |1 +
hw/timer/sunxi-pit.c| 260
+++
Il 25/11/2013 11:06, Peter Lieven ha scritto:
wouldn't it make sense to return -ENOTSUP in other drivers a well if the
operation is not supported and not return 0?
Yes; patches are welcome. :)
(I have a patch for block/iscsi.c that handles LBPU=1/LBPWS=0, and one
of the things it does is
On Fri, 22 Nov 2013 12:12:44 -0700
Alex Williamson alex.william...@redhat.com wrote:
KVM reports the number of available memory slots (KVM_CAP_NR_MEMSLOTS)
using the extension interface. Both x86 and s390 implement this, ARM
and powerpc do not yet enable it. Convert the static slots array to
On 22.11.2013 13:39, Paolo Bonzini wrote:
Right now, bdrv_co_do_write_zeroes will only try to align the
beginning of the request. However, it is simpler for many
formats to expect the block layer to separate both the head *and*
the tail. This makes sure that the format's bdrv_co_write_zeroes
On 22.11.2013 13:39, Paolo Bonzini wrote:
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
block/vhdx.c | 10 ++
block/vpc.c | 14 ++
2 files changed, 24 insertions(+)
diff --git a/block/vhdx.c b/block/vhdx.c
index 7d1af96..ed6fa53 100644
--- a/block/vhdx.c
+++
On Wed, Oct 09, 2013 at 01:19:41PM +0800, Fam Zheng wrote:
diff --git a/qapi-schema.json b/qapi-schema.json
index 381ffbf..eb13707 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -1910,9 +1910,11 @@
#
# @top: The file name of the backing image within the image
On 22.11.2013 13:39, Paolo Bonzini wrote:
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
block/qcow2.c | 2 ++
block/qed.c | 2 ++
block/vdi.c | 1 +
block/vhdx.c | 3 +++
block/vpc.c | 1 +
5 files changed, 9 insertions(+)
diff --git a/block/qcow2.c b/block/qcow2.c
index
Am 22.11.2013 um 06:24 hat Fam Zheng geschrieben:
BlockDriverState.op_blockers is an array of list with BLOCK_OP_TYPE_MAX
elements. Each list is a list of blockers of an operation type
(BlockOpType), that marks this BDS is currently blocked for certain type
of operation with reason errors
On 22.11.2013 13:39, Paolo Bonzini wrote:
This will let misaligned but large requests use zero clusters. This
is important because the cluster size is not guest visible.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
block/qcow2.c | 1 +
block/qed.c | 1 +
block/vmdk.c | 4
On 22.11.2013 13:39, Paolo Bonzini wrote:
The current check is right for MAY_UNMAP=1. For MAY_UNMAP=0, just
try and fall back to regular writes as soon as a WRITE SAME command
fails.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
block/iscsi.c | 19 +--
1 file changed,
On Wed, Oct 09, 2013 at 01:19:42PM +0800, Fam Zheng wrote:
diff --git a/tests/qemu-iotests/040 b/tests/qemu-iotests/040
index aad535a..902df0d 100755
--- a/tests/qemu-iotests/040
+++ b/tests/qemu-iotests/040
@@ -63,6 +63,28 @@ class ImageCommitTestCase(iotests.QMPTestCase):
i =
Il 25/11/2013 11:16, Thomas Huth ha scritto:
On Fri, 22 Nov 2013 12:12:44 -0700
Alex Williamson alex.william...@redhat.com wrote:
KVM reports the number of available memory slots (KVM_CAP_NR_MEMSLOTS)
using the extension interface. Both x86 and s390 implement this, ARM
and powerpc do not
On Thu, 21 Nov 2013 17:09:27 +0100
Andreas Färber afaer...@suse.de wrote:
Am 21.11.2013 15:34, schrieb Igor Mammedov:
On Thu, 21 Nov 2013 15:13:12 +0100
Andreas Färber afaer...@suse.de wrote:
Am 21.11.2013 06:48, schrieb Li Guang:
Why not give the memory that not be hot-added a chance to
On Mon, Nov 25, 2013 at 5:41 PM, liguang lig.f...@cn.fujitsu.com wrote:
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
default-configs/arm-softmmu.mak |1 +
hw/intc/Makefile.objs |1 +
hw/intc/sunxi-pic.c | 301
+++
Il 25/11/2013 11:34, Peter Lieven ha scritto:
@@ -1012,6 +1018,14 @@ retry:
}
if (iTask.status != SCSI_STATUS_GOOD) {
+if (iTask.status == SCSI_STATUS_CHECK_CONDITION
+iTask.task-sense.key == SCSI_SENSE_ILLEGAL_REQUEST
+iTask.task-sense.ascq
On Mon, Nov 25, 2013 at 5:41 PM, liguang lig.f...@cn.fujitsu.com wrote:
Signed-off-by: liguang lig.f...@cn.fujitsu.com
---
hw/arm/Makefile.objs |1 +
hw/arm/sunxi-soc.c | 113
++
2 files changed, 114 insertions(+), 0 deletions(-)
On 08.10.2013 14:39, Kevin Wolf wrote:
Am 08.10.2013 um 14:35 hat Paolo Bonzini geschrieben:
Il 08/10/2013 14:33, Kevin Wolf ha scritto:
this converts read, write and flush functions from aio to coroutines.
I'm not sure it's already the time for this... Cancellation sucks in
QEMU, and this
On 25 November 2013 09:53, Paolo Bonzini pbonz...@redhat.com wrote:
I think anything that makes it easier for users to do bisections instead
of us, and anything that makes it easier to script bisections (git
bisect run), is valuable.
Personally I've taken to doing bisections with a complete
On 25 November 2013 10:15, Peter Crosthwaite
peter.crosthwa...@xilinx.com wrote:
Hi,
On Mon, Nov 25, 2013 at 5:41 PM, liguang lig.f...@cn.fujitsu.com wrote:
+#define SUNXI_TIMER_IRQ_EN 0
+#define SUNXI_TIMER_IRQ_ST 0x4
+#define SUNXI_TIMER_CONTROL 0x0
+#define SUNXI_TIMER_INTERVAL 0x4
Il 21/11/2013 17:49, Paolo Bonzini ha scritto:
The following changes since commit 394cfa39ba24dd838ace1308ae24961243947fb8:
Merge remote-tracking branch 'quintela/migration.next' into staging
(2013-11-19 13:03:06 -0800)
are available in the git repository at:
Il 25/11/2013 11:47, Peter Lieven ha scritto:
On 08.10.2013 14:39, Kevin Wolf wrote:
Am 08.10.2013 um 14:35 hat Paolo Bonzini geschrieben:
Il 08/10/2013 14:33, Kevin Wolf ha scritto:
this converts read, write and flush functions from aio to
coroutines.
I'm not sure it's already the time for
On 25.11.2013 11:54, Paolo Bonzini wrote:
Il 25/11/2013 11:47, Peter Lieven ha scritto:
On 08.10.2013 14:39, Kevin Wolf wrote:
Am 08.10.2013 um 14:35 hat Paolo Bonzini geschrieben:
Il 08/10/2013 14:33, Kevin Wolf ha scritto:
this converts read, write and flush functions from aio to
Il 25/11/2013 11:56, Peter Lieven ha scritto:
Can we proceed with the above patch for 1.8?
Yes, thanks.
Will you pull it or shall I rebase and sent it again after 1.7.0 release?
Please do the latter.
Paolo
On Fri, 22 Nov 2013 15:23:56 +0100
Gerd Hoffmann kra...@redhat.com wrote:
On Do, 2013-11-21 at 03:38 +0100, Igor Mammedov wrote:
Add DimmBus for memory hotplug below 4Gb or above 4Gb depending
on initial memory size and hotplug memory size.
* if ram_size is less than 32-bit PCI hole
On 23.11.2013, at 05:08, Stefan Weil s...@weilnetz.de wrote:
Am 23.11.2013 04:53, schrieb Alexander Graf:
Thanks to the new timer infrastructure we are now able to trigger timer
events
and ridiculous granularities in sub-microsecond orders.
However, the BookE targets were quite unhappy
Am 22.11.2013 um 06:24 hat Fam Zheng geschrieben:
Signed-off-by: Fam Zheng f...@redhat.com
---
block.c | 37 -
include/block/block_int.h | 3 +++
2 files changed, 35 insertions(+), 5 deletions(-)
diff --git a/block.c b/block.c
index
On Fri, 22 Nov 2013 08:57:40 +0800
Li Guang lig.f...@cn.fujitsu.com wrote:
Michael S. Tsirkin wrote:
On Thu, Nov 21, 2013 at 04:32:27PM +0800, Li Guang wrote:
Michael S. Tsirkin wrote:
On Thu, Nov 21, 2013 at 04:18:45PM +0800, Li Guang wrote:
Hu Tao wrote:
Am 22.11.2013 um 06:24 hat Fam Zheng geschrieben:
Similar to drive-backup, but this command uses a device id as target
instead of creating/opening an image file.
Also add blocker on target bs, since the target is also a named device
now.
Signed-off-by: Fam Zheng f...@redhat.com
diff
On Sun, Nov 24, 2013 at 09:58:34PM +0100, Stefan Weil wrote:
Am 24.11.2013 17:48, schrieb Michael S. Tsirkin:
On Sun, Nov 24, 2013 at 05:39:58PM +0200, Michael S. Tsirkin wrote:
On Sun, Nov 24, 2013 at 02:54:51PM +0100, Stefan Weil wrote:
Am 24.11.2013 14:42, schrieb Michael S. Tsirkin:
Am 22.11.2013 um 06:24 hat Fam Zheng geschrieben:
Drive backup is a read only operation on source bs. We want to allow
this specific case to enable image-fleecing. Note that when
image-fleecing job starts, the job still add its blocker to source bs,
and any other operation on it will be
Am 22.11.2013 um 06:24 hat Fam Zheng geschrieben:
This adds the enum of all the operations that can be taken on a block
device.
Signed-off-by: Fam Zheng f...@redhat.com
Okay, so now I've read the whole series and I still couldn't solve this
mystery: Why is this a QAPI type and not some
On Mon, Nov 25, 2013 at 10:53:44AM +0100, Paolo Bonzini wrote:
Il 24/11/2013 12:04, Stefan Weil ha scritto:
Do we really need this? It only makes git bisect iterations from
versions after 2013-11-19 to versions before that date easier. If a
typical git bisect needs 10 steps, then in the
Does it make sense to hotplug memory above 4g unconditionally to
simplify things?
It does and it was so in v6 RFC,
But it would rule out hotplug for 32-bit guests that doesn't support
more then 4Gb.
Indeed.
As use case 32-bit guest could start whit small initial memory
and hotplug
Changes from v1:
added --iasl configure fix.
Note: I didn't rebase so if you pulled already, just redoing
the pull will do the right thing adding the single new patch.
The following changes since commit 394cfa39ba24dd838ace1308ae24961243947fb8:
Merge remote-tracking branch
From: Bandan Das b...@redhat.com
PCIBus registers a vmstate during init. Unregister it upon
removal/unplug.
Signed-off-by: Bandan Das b...@redhat.com
Cc: qemu-sta...@nongnu.org
Reviewed-by: Andreas Färber afaer...@suse.de
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
hw/pci/pci.c | 8
pc-bios/s390-zipl.rom is a flat image so it's expected that
loading it as elf will fail.
It should fall back on loading a flat file, but doesn't
on 32 bit systems, instead it fails printing:
qemu: hardware error: could not load bootloader 's390-zipl.rom'
The result is boot failure.
The
g_string_vprintf was only introduced in 2.24 so switch to vsnprintf
instead. A bit uglier but name size is fixed at 4 bytes here so it's
easy.
Reviewed-by: Paolo Bonzini pbonz...@redhat.com
Reported-by: Richard Henderson r...@redhat.com
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
This reverts commit cd5be5829c1ce87aa6b3a7806524fac07ac9a757.
Digging into hardware specs shows this does not
actually make QEMU behave more like hardware:
There are valid arguments backed by the spec to indicate why the version
of e1000 prior to cd5be582 was more correct: the high byte actually
--iasl option was added to CC option parsing section by mistake,
it's not effective there and attempts to use cause
an 'unknown option' error.
Fix this up.
Tested-by: Marcel Apfelbaum marce...@redhat.com
Signed-off-by: Michael S. Tsirkin m...@redhat.com
---
configure | 4 ++--
1 file changed, 2
g_array_get_element_size was only added in glib 2.14,
there's no way to find element size in with an older glib.
Fortunately we only use a single table (linker) where element size 1.
Switch element size to 1 everywhere, then we can just look at len field
to get table size in bytes.
Add an
From: Markus Armbruster arm...@redhat.com
Commit b5613fd neglected to drop the trace events along with the code.
Signed-off-by: Markus Armbruster arm...@redhat.com
---
trace-events | 13 -
1 file changed, 13 deletions(-)
diff --git a/trace-events b/trace-events
index
Peter Maydell peter.mayd...@linaro.org writes:
On 25 November 2013 09:53, Paolo Bonzini pbonz...@redhat.com wrote:
I think anything that makes it easier for users to do bisections instead
of us, and anything that makes it easier to script bisections (git
bisect run), is valuable.
Personally
Il 21/11/2013 03:38, Igor Mammedov ha scritto:
+typedef enum {
+HOTPLUG_DISABLED,
+HOTPLUG_ENABLED,
+COLDPLUG_ENABLED,
+} HotplugState;
+
+typedef int (*hotplug_fn)(DeviceState *hotplug_dev, DeviceState *dev,
+ HotplugState state);
I don't think this
Il 21/11/2013 03:38, Igor Mammedov ha scritto:
Along with conversion extend -m option to support following parameters:
mem - startup memory amount
slots - total number of hotplug memory slots
maxmem - maximum possible memory
slots and maxmem should go in pair and maxmem should be
Il 21/11/2013 03:38, Igor Mammedov ha scritto:
+
+/* verify properties correctnes and initialize backend */
+bc = MEMORY_BACKEND_GET_CLASS(obj);
+if (bc-get_memory) {
+HostMemoryBackend *backend = MEMORY_BACKEND(obj);
+if (!bc-get_memory(backend, local_err)) {
+
Il 21/11/2013 03:38, Igor Mammedov ha scritto:
+static void dimm_initfn(Object *obj)
+{
+object_property_add(obj, memdev, string, dimm_get_memdev,
+dimm_set_memdev, NULL, NULL, NULL);
Perhaps, instead of relying on memory_region_owner, you could have
separate
Il 21/11/2013 03:38, Igor Mammedov ha scritto:
diff --git a/include/hw/mem/dimm.h b/include/hw/mem/dimm.h
index abedae2..b655006 100644
--- a/include/hw/mem/dimm.h
+++ b/include/hw/mem/dimm.h
@@ -65,11 +65,15 @@ typedef struct DimmDeviceClass {
* @parent_obj: opaque parent object container
Il 25/11/2013 13:49, Paolo Bonzini ha scritto:
Il 21/11/2013 03:38, Igor Mammedov ha scritto:
+typedef enum {
+HOTPLUG_DISABLED,
+HOTPLUG_ENABLED,
+COLDPLUG_ENABLED,
+} HotplugState;
+
+typedef int (*hotplug_fn)(DeviceState *hotplug_dev, DeviceState *dev,
+
On Mon, 25 Nov 2013 12:39:05 +0100
Gerd Hoffmann kra...@redhat.com wrote:
Does it make sense to hotplug memory above 4g unconditionally to
simplify things?
It does and it was so in v6 RFC,
But it would rule out hotplug for 32-bit guests that doesn't support
more then 4Gb.
Indeed.
Il 25/11/2013 12:39, Gerd Hoffmann ha scritto:
As use case 32-bit guest could start whit small initial memory
and hotplug additional memory if needed up to point where 32-bit
PCI hole starts. That would allow guests to launch with small amount
but baloon up upto 2-3.5 Gb depending on
Am 22.11.2013 um 17:10 hat Max Reitz geschrieben:
Use an Error variable in the read_config() function.
Signed-off-by: Max Reitz mre...@redhat.com
---
block/blkdebug.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/block/blkdebug.c b/block/blkdebug.c
Il 21/11/2013 03:38, Igor Mammedov ha scritto:
+// 64-bit math: MAX = MIN + LEN - 1
+Add(MINL, LENL, MAXL)
+Add(MINH, LENH, MAXH)
+If (Or(LLess(MAXL, MINL), LLess(MAXL, LENL))) {
The Or is not necessary, LLess(MAXL, MINL) is
Il 25/11/2013 08:27, Markus Armbruster ha scritto:
Michael S. Tsirkin m...@redhat.com writes:
[...]
Here this made me think of the following question:
should not memory available on boot be listed in CMOS?
Let's assume new BIOS gets interrupt telling it there's new memory.
It clears the
On 11/24/2013 10:36 PM, Xu, Quan wrote:
Bryant,
I found that there is some conflict in qemu-options.hx between your patch
andqemu-1.7.0-rc1.tar.bz2
http://wiki.qemu-project.org/download/qemu-1.7.0-rc1.tar.bz2.
What QEMU version does this patch base on? Thanks.
Quan Xu
Intel
this patch aims to set bdi-cluster_size to the internal page size
of the iscsi target so that enabled callers can align requests
properly.
Signed-off-by: Peter Lieven p...@kamp.de
---
block/iscsi.c |7 +++
1 file changed, 7 insertions(+)
diff --git a/block/iscsi.c b/block/iscsi.c
index
Signed-off-by: Peter Lieven p...@kamp.de
---
qemu-img.c |1 -
1 file changed, 1 deletion(-)
diff --git a/qemu-img.c b/qemu-img.c
index efb744c..e2d1a0a 100644
--- a/qemu-img.c
+++ b/qemu-img.c
@@ -105,7 +105,6 @@ static void help(void)
conversion. If the number of bytes is
since the convert process is basically a sync operation it might
be benificial in some case to change the hardcoded I/O buffer
size to an alternate (greater) value.
Signed-off-by: Peter Lieven p...@kamp.de
---
qemu-img-cmds.hx |4 ++--
qemu-img.c | 25 -
we currently do not check if a sector is allocated during convert.
This means if a sector is unallocated that we allocate a bounce
buffer of zeroes, find out its zero later and do not write it
in the best case. In the worst case this can lead to reading
blocks from a raw device (like iSCSI)
Signed-off-by: Peter Lieven p...@kamp.de
---
qemu-img-cmds.hx |4 ++--
qemu-img.c | 23 ---
2 files changed, 22 insertions(+), 5 deletions(-)
diff --git a/qemu-img-cmds.hx b/qemu-img-cmds.hx
index 266cdf3..4190ec1 100644
--- a/qemu-img-cmds.hx
+++
this series adds some optimizations for qemu-img during convert which
have been developed recently:
- skipping input based on get_block_status
- variable I/O buffer size
- align write requests to cluster_size
- show progress in sectors or percent
Peter Lieven (6):
qemu-img: add support for
Signed-off-by: Peter Lieven p...@kamp.de
---
qemu-img-cmds.hx |4 ++--
qemu-img.c | 37 +
qemu-img.texi|5 -
3 files changed, 31 insertions(+), 15 deletions(-)
diff --git a/qemu-img-cmds.hx b/qemu-img-cmds.hx
index e0b8ab4..266cdf3
On Mon, 2013-11-25 at 13:26 +0200, Michael S. Tsirkin wrote:
On Sun, Nov 24, 2013 at 09:58:34PM +0100, Stefan Weil wrote:
Am 24.11.2013 17:48, schrieb Michael S. Tsirkin:
On Sun, Nov 24, 2013 at 05:39:58PM +0200, Michael S. Tsirkin wrote:
On Sun, Nov 24, 2013 at 02:54:51PM +0100, Stefan
On Sun, 24 Nov 2013 12:58:57 +0200
Michael S. Tsirkin m...@redhat.com wrote:
On Fri, Nov 22, 2013 at 06:14:46PM +0100, Igor Mammedov wrote:
On Thu, 21 Nov 2013 16:38:47 +0200
Michael S. Tsirkin m...@redhat.com wrote:
On Thu, Nov 21, 2013 at 03:21:37PM +0100, Igor Mammedov wrote:
On
On Mon, 25 Nov 2013 14:45:15 +0100
Paolo Bonzini pbonz...@redhat.com wrote:
Il 25/11/2013 08:27, Markus Armbruster ha scritto:
Michael S. Tsirkin m...@redhat.com writes:
[...]
Here this made me think of the following question:
should not memory available on boot be listed in CMOS?
The env-pc is not necessarily up-to-date in the helper function. Use
the program counter of the disassembly context instead.
Signed-off-by: Sebastian Huber sebastian.hu...@embedded-brains.de
---
target-sparc/helper.c|6 +++---
target-sparc/helper.h|2 +-
target-sparc/translate.c
On Mon, 25 Nov 2013 14:35:18 +0100
Paolo Bonzini pbonz...@redhat.com wrote:
Il 25/11/2013 12:39, Gerd Hoffmann ha scritto:
As use case 32-bit guest could start whit small initial memory
and hotplug additional memory if needed up to point where 32-bit
PCI hole starts. That would allow
On Mon, 25 Nov 2013 14:42:44 +0100
Paolo Bonzini pbonz...@redhat.com wrote:
Il 21/11/2013 03:38, Igor Mammedov ha scritto:
+// 64-bit math: MAX = MIN + LEN - 1
+Add(MINL, LENL, MAXL)
+Add(MINH, LENH, MAXH)
+If
Il 25/11/2013 15:18, Igor Mammedov ha scritto:
For example on reset all slots could be disabled by the
ACPIHotpluggableDimmBus (even coldplugged ones), and scanned + enabled
by ASL.
memory devices are scanned by OSPM during ACPI tables parsing and
guest (can) use present devices right
Am 22.11.2013 um 17:10 hat Max Reitz geschrieben:
If the filename is not prefixed by blkverify: in
blkverify_parse_filename(), the blkverify driver was not selected
through that protocol prefix, but by an explicit command line option
(like file.driver=blkverify). Contrary to the current
On Mon, 25 Nov 2013 14:01:51 +0100
Paolo Bonzini pbonz...@redhat.com wrote:
Il 21/11/2013 03:38, Igor Mammedov ha scritto:
diff --git a/include/hw/mem/dimm.h b/include/hw/mem/dimm.h
index abedae2..b655006 100644
--- a/include/hw/mem/dimm.h
+++ b/include/hw/mem/dimm.h
@@ -65,11 +65,15
Il 25/11/2013 14:57, Peter Lieven ha scritto:
+/* Guess the internal cluster (page) size of the iscsi target by the
means
+ * of opt_unmap_gran. Transfer the unmap granularity only if it has a
+ * reasonable size for bdi-cluster_size */
+if (iscsilun-bl.opt_unmap_gran *
Il 25/11/2013 14:57, Peter Lieven ha scritto:
since the convert process is basically a sync operation it might
be benificial in some case to change the hardcoded I/O buffer
size to an alternate (greater) value.
Do you really need the extra knob? You can just add to BlockLimits the
optimal
On Mon, 25 Nov 2013 15:31:22 +0100
Paolo Bonzini pbonz...@redhat.com wrote:
Il 25/11/2013 15:18, Igor Mammedov ha scritto:
For example on reset all slots could be disabled by the
ACPIHotpluggableDimmBus (even coldplugged ones), and scanned + enabled
by ASL.
memory devices are scanned
On 25.11.2013 15:54, Paolo Bonzini wrote:
Il 25/11/2013 14:57, Peter Lieven ha scritto:
since the convert process is basically a sync operation it might
be benificial in some case to change the hardcoded I/O buffer
size to an alternate (greater) value.
Do you really need the extra knob? You
1 - 100 of 244 matches
Mail list logo