On 25.01.2018 20:03, Eric Blake wrote:
> I was looking for a web view of qemu.git for reference, but
> my first try was at https://www.qemu.org/contribute/ which
> mentions how to clone but with no link for browsing. Meanwhile,
> the download page pointed people to the list of all repos (and
> eve
From: Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé
Message-id: 20180125171432.13554-4-f4...@amsat.org
Signed-off-by: Gerd Hoffmann
---
hw/usb/ccid.h | 4 +++-
hw/usb/ccid-card-emulated.c | 4 ++--
hw/usb/ccid-card-passthru.c | 1 +
hw/usb/dev-smartcard-re
From: Thomas Huth
The option have been marked as deprecated since QEMU 2.10, and so far
nobody complained that the host, serial, disk and net options are urgently
required anymore. So let's now get rid at least of this legacy pile, to
simplify the usb code quite a bit.
This patch removes the usb
From: Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé
Message-id: 20180125171432.13554-3-f4...@amsat.org
Signed-off-by: Gerd Hoffmann
---
hw/usb/dev-smartcard-reader.c | 25 +++--
1 file changed, 7 insertions(+), 18 deletions(-)
diff --git a/hw/usb/dev-smartca
Reviewed-by: Peter Maydell
Signed-off-by: Richard Henderson
---
target/arm/translate-a64.c | 42 --
1 file changed, 36 insertions(+), 6 deletions(-)
diff --git a/target/arm/translate-a64.c b/target/arm/translate-a64.c
index 5a4e62ae0f..11310f1a7a 100644
-
On 01/15/2018 10:18 AM, Peter Maydell wrote:
>> +void HELPER(gvec_fcmlah)(void *vd, void *vn, void *vm,
>> + void *vfpst, uint32_t desc)
>> +{
>> +uintptr_t opr_sz = simd_oprsz(desc);
>> +float16 *d = vd;
>> +float16 *n = vn;
>> +float16 *m = vm;
>> +floa
Hi Peter,
Here are the latest OpenBIOS updates (mainly the power support for SPARC).
Please pull.
ATB,
Mark.
The following changes since commit 2077fef91d5eb8e3745a84fabd87a5ee7d2b535d:
Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20180125'
into staging (2018-01-25
From: Prasad J Pandit
During Qemu guest migration, a destination process invokes ps2
post_load function. In that, if 'rptr' and 'count' values were
invalid, it could lead to OOB access or infinite loop issue.
Add check to avoid it.
Reported-by: Cyrille Chatras
Signed-off-by: Prasad J Pandit
Me
On 22/01/2018 07:02, Peter Xu wrote:
> v2
> - add begin() hooks [Paolo]
> - move vfio patch to front [Paolo]
> - one more patch for arm devlistener unregister [Paolo]
> - one more patch for vhost traces
> - removing RFC tag
>
> This series fixes bug reported here:
>
> https://bugzilla.redhat.co
This was accidentally omitted from 77cb0f5aaf "Split adb.c into adb.c,
adb-mouse.c
and adb-kbd.c".
Signed-off-by: Mark Cave-Ayland
---
hw/input/trace-events | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/input/trace-events b/hw/input/trace-events
index a8d46cb766..5affabc81d 100644
---
The following changes since commit 2077fef91d5eb8e3745a84fabd87a5ee7d2b535d:
Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20180125'
into staging (2018-01-25 17:04:47 +)
are available in the git repository at:
git://git.kraxel.org/qemu tags/usb-201801
From: Miika S
Signed-off-by: Miika S
Message-Id: <20171222152531.1849-3-miika9...@gmail.com>
Signed-off-by: Gerd Hoffmann
---
hw/input/virtio-input-hid.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/input/virtio-input-hid.c b/hw/input/virtio-input-hid.c
index e78faec0b1..a5917c2754
From: "Daniel P. Berrange"
Replace the qcode_to_keycode_set1, qcode_to_keycode_set2,
and qcode_to_keycode_set3 tables with automatically
generated tables.
Missing entries in qcode_to_keycode_set1 now fixed:
- Q_KEY_CODE_SYSRQ -> 0x54
- Q_KEY_CODE_PRINT -> 0x54 (NB ignored due to special case)
The following changes since commit 2077fef91d5eb8e3745a84fabd87a5ee7d2b535d:
Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20180125'
into staging (2018-01-25 17:04:47 +)
are available in the git repository at:
git://git.kraxel.org/qemu tags/input-201
Last July, Eric Blake wrote a nice summary for newcomers about what
QEMU has to do to emulate devices for the guests. So far, we missed
to integrate this somewhere into the QEM web site or wiki, so let's
publish this now as a nice blog post for the users.
Signed-off-by: Thomas Huth
---
_posts/20
On 22/01/2018 16:27, Thomas Huth wrote:
> The i2c core and the at24c EEPROM should only be compiled and linked
> on the machines that support i2c. Otherwise it's quite strange to see
> the at24c-eeprom to be "available" on qemu-system-s390x for example.
>
> Signed-off-by: Thomas Huth
> ---
> def
From: "Daniel P. Berrange"
The qcode-to-linux keymaps was accidentally added in the wrong place
by
commit de80d78594b4c3767a12d8d42debcf12cbf85a5b
Author: Owen Smith
Date: Fri Nov 3 11:56:28 2017 +
ui: generate qcode to linux mappings
breaking the alphabetical ordering of keym
On 25.01.2018 16:49, Collin L. Walling wrote:
> On 01/25/2018 10:25 AM, Thomas Huth wrote:
>> On 23.01.2018 19:26, Collin L. Walling wrote:
>>> Read the stage2 boot loader data block-by-block. We scan the
>>> current block for the string "zIPL" to detect the start of the
>>> boot menu banner. We th
If you want to follow blogs from QEMU contributors check out:
https://planet.virt-tools.org/
Daniel Berrange has provided the following steps for adding your own
blog to planet.virt-tools.org:
$ git clone git://libvirt.org/virttools-planet.git
and add your blog info to updater/virt-tools/conf
On 22/01/2018 20:35, Dr. David Alan Gilbert wrote:
> * Thomas Huth (th...@redhat.com) wrote:
>> The "default" parameter of the "-mon" option is useless since
>> QEMU v2.4.0, and marked as deprecated since QEMU v2.8.0. That
>> should have been long enough to let people update their scripts,
>> so ti
On Fri, Jan 26, 2018 at 11:39 AM, Paolo Bonzini wrote:
> On 23/01/2018 13:36, Izik Eidus wrote:
>> Moving it to a new file and add the BSD license there.
>>
>> Signed-off-by: Izik Eidus
>
> Since it's compatible, I'm just adding the NetApp BSD license to the file.
Sure.
>
> What is the original
On Fri, Jan 26, 2018 at 10:19:30AM +0100, Thomas Huth wrote:
> Last July, Eric Blake wrote a nice summary for newcomers about what
> QEMU has to do to emulate devices for the guests. So far, we missed
> to integrate this somewhere into the QEM web site or wiki, so let's
> publish this now as a nice
On 23.01.2018 19:26, Collin L. Walling wrote:
> Implements an sclp_read function to capture input from the
> console and a wrapper function that handles parsing certain
> characters and adding input to a buffer. The input is checked
> for any erroneous values and is handled appropriately.
>
> A pr
* Daniel Henrique Barboza (danie...@linux.vnet.ibm.com) wrote:
> MAX_VM_CMD_PACKAGED_SIZE is a constant used in qemu_savevm_send_packaged
> and loadvm_handle_cmd_packaged to determine whether a package is too
> big to be sent or received. qemu_savevm_send_packaged is called inside
> postcopy_start
tpm_crb is a device for TPM 2.0 Command Response Buffer (CRB)
Interface as defined in TCG PC Client Platform TPM Profile (PTP)
Specification Family “2.0” Level 00 Revision 01.03 v22.
The PTP allows device implementation to switch between TIS and CRB
model at run time, but given that CRB is a simpl
PIng
So, let me know if I need to make any changes in patch
On 1/18/18 1:09 PM, Paolo Bonzini wrote:
On 18/01/2018 12:51, Edgar Kaziakhmedov wrote:
+static int nbd_get_info(BlockDriverState *bs, BlockDriverInfo *bdi)
+{
+if (bs->supported_zero_flags & BDRV_REQ_MAY_UNMAP) {
+bdi->ca
On Thu, Jan 25, 2018 at 05:09:30PM +, Daniel P. Berrangé wrote:
> From: "Daniel P. Berrange"
[...]
> +@node vnc_setup_sasl
> +
> +@subsection Configuring SASL mechanisms
> +
> +The following documentation assumes use of the Cyrus SASL implementation on a
> +Linux host, but the principals sho
On Thu, Jan 25, 2018 at 03:10:31PM +, Peter Maydell wrote:
> On 25 January 2018 at 14:41, Peter Maydell wrote:
> > On 22 January 2018 at 18:33, Eduardo Habkost wrote:
> >> About QOM type names:
> >>
> >> On x86, all CPU models are resolved to "-", and
> >> i386 and x86_64 have different suffi
On Thu, Jan 25, 2018 at 02:41:50PM +, Peter Maydell wrote:
> On 22 January 2018 at 18:33, Eduardo Habkost wrote:
> > About QOM type names:
> >
> > On x86, all CPU models are resolved to "-", and
> > i386 and x86_64 have different suffixes. So the QOM type name is
> > "max-x86_64-cpu" on qemu-
On 23/01/2018 13:36, Izik Eidus wrote:
> Moving it to a new file and add the BSD license there.
>
> Signed-off-by: Izik Eidus
Since it's compatible, I'm just adding the NetApp BSD license to the file.
What is the original source? xhyve or something like that?
Paolo
> ---
> target/i386/hvf/e
Hi,
This series failed docker-mingw@fedora build test. Please find the testing
commands and
their output below. If you have Docker installed, you can probably reproduce it
locally.
Type: series
Message-id: 20180126120306.19225-1-marcandre.lur...@redhat.com
Subject: [Qemu-devel] [PATCH v3] tpm: a
On 25/01/2018 22:33, Pavel Pisa wrote:
> Hello Paolo,
>
> thanks for suggestions. I understand and fully agree with your
> request to switch to QOM. I have succeed with that for CAN devices
> some time ago. It worth to be done for the rest of the objects
> but I fear that I do not find time to com
Hi,
This series failed docker-quick@centos6 build test. Please find the testing
commands and
their output below. If you have Docker installed, you can probably reproduce it
locally.
Type: series
Message-id: 20180126120306.19225-1-marcandre.lur...@redhat.com
Subject: [Qemu-devel] [PATCH v3] tpm:
On 25/01/2018 17:19, Peter Maydell wrote:
> We dropped support for ia64 host CPUs in the 2.11 release (removing
> the TCG backend for it, and advertising the support as being
> completely removed in the changelog). However there are a few bits
> and pieces of code still floating about. Remove tho
On 25/01/2018 18:14, Daniel P. Berrangé wrote:
> From: "Daniel P. Berrange"
>
> The inet_parse() function looks for 'ipv4' and 'ipv6' flags, but only
> treats them as bare bool flags. The normal QemuOpts parsing would allow
> on/off values to be set too.
>
> This updates inet_parse() so that its
On Fri, Jan 26, 2018 at 09:52:21AM +, Stefan Hajnoczi wrote:
> If you want to follow blogs from QEMU contributors check out:
>
> https://planet.virt-tools.org/
>
> Daniel Berrange has provided the following steps for adding your own
> blog to planet.virt-tools.org:
>
> $ git clone git://li
From: Chao Peng
Add Intel Processor Trace related definition. It also add
corresponding part to kvm_get/set_msr and vmstate.
Signed-off-by: Luwei Kang
Signed-off-by: Chao Peng
---
target/i386/cpu.h | 22 ++
target/i386/kvm.c | 51 +++
From: Chao Peng
Expose Intel Processor Trace feature to guest.
In order to make this feature migration-safe, new feature word
information "FEAT_INTEL_PT_EBX" and "FEAT_INTEL_PT_ECX" be added.
Some constant value initialized in CPUID[0x14].0x01 to guarantee
get same result in diffrent hardware wh
On 12/07/2017 03:14 PM, Peter Maydell wrote:
> Move the definition of the 'host' cpu type into cpu.c, where all the
> other CPU types are defined. We can do this now we've decoupled it
> from the KVM-specific host feature probing. This means we now create
> the type unconditionally (assuming we w
On 26 January 2018 at 07:18, Richard Henderson
wrote:
> On 01/15/2018 09:47 AM, Peter Maydell wrote:
>> On 18 December 2017 at 17:24, Richard Henderson
>> wrote:
>>> Signed-off-by: Richard Henderson
>>> ---
>>> target/arm/translate.c | 38 +++---
>>> 1 file chang
From: Alistair Francis
Connect the MicroBlaze CPU and the ROM and RAM memory regions.
Signed-off-by: Alistair Francis
Reviewed-by: Edgar E. Iglesias
Signed-off-by: Edgar E. Iglesias
---
hw/microblaze/xlnx-zynqmp-pmu.c | 70 +++--
1 file changed, 68 inserti
From: Alistair Francis
In preperation for having an ARM and MicroBlaze ZynqMP machine let's
split out the current ARM specific config options.
Signed-off-by: Alistair Francis
Acked-by: Peter Maydell
Reviewed-by: Edgar E. Iglesias
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Edgar E. Ig
From: Fam Zheng
Because usb-storage creates an internal scsi device, we should propagate
options. We already do so for bootindex etc, but failed to take care of
share-rw. Fix it in an apparent way: add a new parameter to
scsi_bus_legacy_add_drive and pass in s->conf.share_rw.
Cc: qemu-sta...@non
From: Alistair Francis
This is the initial version of the Inter Processor Interrupt device.
Signed-off-by: Alistair Francis
Reviewed-by: Edgar E. Iglesias
Signed-off-by: Edgar E. Iglesias
---
hw/intc/Makefile.objs | 1 +
hw/intc/xlnx-zynqmp-ipi.c | 377 +
Hi,
This series failed build test on s390x host. Please find the details below.
Type: series
Message-id: 20180126120306.19225-1-marcandre.lur...@redhat.com
Subject: [Qemu-devel] [PATCH v3] tpm: add CRB device
=== TEST SCRIPT BEGIN ===
#!/bin/bash
# Testing script will be invoked under the git ch
Here is a set of trivial PPC patches which convert grackle and uninorth over
to use trace-events, and also add a missing newline to hw/input/trace-events
which was accidentally omitted when previously converting the ADB devices.
Signed-off-by: Mark Cave-Ayland
Mark Cave-Ayland (3):
grackle: co
From: Mao Zhongyi
Replace init() of CCIDCardClass with realize, then convert
ccid_card_init(), ccid_card_initfn() and it's callbacks to
take an Error** in ordor to report the error more clearly.
Signed-off-by: Mao Zhongyi
Signed-off-by: Cao jin
Signed-off-by: Philippe Mathieu-Daudé
Message-id
On 12/07/2017 03:14 PM, Peter Maydell wrote:
> We were passing a NULL error pointer to the object_property_set_bool()
> call that realizes the CPU object. This meant that we wouldn't detect
> failure, and would plough blindly on to crash later trying to use a
> NULL CPU object pointer. Detect error
Hi,
Stash this to fix test leaks:
diff --git a/tests/tpm-crb-test.c b/tests/tpm-crb-test.c
index de78a28844..8bf1507e00 100644
--- a/tests/tpm-crb-test.c
+++ b/tests/tpm-crb-test.c
@@ -81,6 +81,7 @@ static void *emu_tpm_thread(void *data)
g_free(s->tpm_msg);
s->tpm_msg = NULL;
+obj
On 25 January 2018 at 14:32, Gerd Hoffmann wrote:
> The following changes since commit 834a336eb911db8a8ca00e760ee6a85faca19414:
>
> Merge remote-tracking branch 'remotes/mst/tags/for_upstream' into staging
> (2018-01-24 19:24:26 +)
>
> are available in the git repository at:
>
> git://gi
On 26 January 2018 at 08:16, Mark Cave-Ayland
wrote:
> Hi Peter,
>
> Here are the latest OpenBIOS updates (mainly the power support for SPARC).
> Please pull.
>
>
> ATB,
>
> Mark.
>
>
> The following changes since commit 2077fef91d5eb8e3745a84fabd87a5ee7d2b535d:
>
> Merge remote-tracking branch
On 26 January 2018 at 14:32, Philippe Mathieu-Daudé wrote:
> On 12/07/2017 03:14 PM, Peter Maydell wrote:
>> We were passing a NULL error pointer to the object_property_set_bool()
>> call that realizes the CPU object. This meant that we wouldn't detect
>> failure, and would plough blindly on to cr
The table size in the qcow2 cache is currently equal to the cluster
size. This doesn't allow us to use the cache memory efficiently,
particularly with large cluster sizes, so we need to be able to have
smaller cache tables that are independent from the cluster size. This
patch adds a new field to Q
Each entry in the qcow2 L2 cache stores a full L2 table (which uses a
complete cluster in the qcow2 image). A cluster is usually too large
to be used efficiently as the size for a cache entry, so we want to
decouple both values by allowing smaller cache entries. Therefore the
qcow2 L2 cache will no
From: Alistair Francis
Previously if no device tree was passed to microblaze_load_kernel() then
qemu_find_file() would try to find a NULL pointer. To avoid this put a
check around qemu_find_file().
Signed-off-by: Alistair Francis
Reported-by: Peter Maydell
Reviewed-by: Philippe Mathieu-Daudé
Hi John & others:
(3 separate things.)
1: Image formats
Regarding qcow, unfortunately there is no change if I use this format.
- Windows 3.1 initially hung at "Starting MS-DOS..."; upon restart it
crashed when it decided it couldn't find COMMAND.COM (a frequent failure
mode I forgot to mention)
Adding support for L2 slices to l2_allocate() needs (among other
things) an extra loop that iterates over all slices of a new L2 table.
Putting all changes in one patch would make it hard to read because
all semantic changes would be mixed with pure indentation changes.
To make things easier this
After the previous patch we're now always using l2_load() in
get_cluster_table() regardless of whether a new L2 table has to be
allocated or not.
This patch refactors that part of the code to use one single l2_load()
call.
Signed-off-by: Alberto Garcia
---
block/qcow2-cluster.c | 21 +++
Similar to offset_to_l2_index(), this function returns the index in
the L1 table for a given guest offset. This is only used in a couple
of places and it's not a particularly complex calculation, but it
makes the code a bit more readable.
Although in the qcow2_get_cluster_offset() case the old cod
This function was only using the BlockDriverState parameter to get the
cache table size (since it was equal to the cluster size). This is no
longer necessary so this parameter can be removed.
Signed-off-by: Alberto Garcia
Reviewed-by: Eric Blake
---
block/qcow2-cache.c | 13 ++---
1 fil
On 12/18/2017 02:24 PM, Richard Henderson wrote:
> Signed-off-by: Richard Henderson
Reviewed-by: Philippe Mathieu-Daudé
> ---
> target/arm/translate.c | 38 +++---
> 1 file changed, 35 insertions(+), 3 deletions(-)
>
> diff --git a/target/arm/translate.c b/targ
From: Miika S
On Linux, a mouse event is generated for both down and up when mouse
wheel is used. This caused virtio_input_send() to be called twice each
time the wheel was used.
This commit adds a check for the button down state and only calls
virtio_input_send() when it is true.
Signed-off-by
;
> are available in the git repository at:
>
> git://git.kraxel.org/qemu tags/input-20180126-pull-request
>
> for you to fetch changes up to d0b610a55b81bdc485c877ef0466895fd40e8d6f:
>
> hw: convert virtio-input-hid dev
;
> are available in the git repository at:
>
> git://git.kraxel.org/qemu tags/usb-20180126-v3-pull-request
>
> for you to fetch changes up to 80ae865468bde918363a123aa26c6fc4385023ac:
>
> usb-ccid: convert CCIDCardClass::exit
From: Alistair Francis
Add the PMU IO Module Interrupt controller device.
Signed-off-by: Alistair Francis
Reviewed-by: Edgar E. Iglesias
Reviewed-by: Philippe Mathieu-Daudé
Signed-off-by: Edgar E. Iglesias
---
default-configs/microblaze-softmmu.mak | 1 +
hw/intc/Makefile.objs
The l2-cache-entry-size setting can only contain values that are
powers of two between 512 and the cluster size.
Signed-off-by: Alberto Garcia
---
tests/qemu-iotests/103 | 17 +
tests/qemu-iotests/103.out | 3 +++
2 files changed, 20 insertions(+)
diff --git a/tests/qemu-io
qcow2_update_snapshot_refcount() increases the refcount of all
clusters of a given snapshot. In order to do that it needs to load all
its L2 tables and iterate over their entries. Since we'll be loading
L2 slices instead of full tables we need to add an extra loop that
iterates over all slices of e
This test tries reopening a qcow2 image with valid and invalid
options. This patch adds l2-cache-entry-size to the set.
Signed-off-by: Alberto Garcia
---
tests/qemu-iotests/137 | 5 +
tests/qemu-iotests/137.out | 2 ++
2 files changed, 7 insertions(+)
diff --git a/tests/qemu-iotests/137
This patch updates get_cluster_table() to return L2 slices instead of
full L2 tables.
The code itself needs almost no changes, it only needs to call
offset_to_l2_slice_index() instead of offset_to_l2_index(). This patch
also renames all the relevant variables and the documentation.
Signed-off-by:
This function doesn't need any changes to support L2 slices, but since
it's now dealing with slices intead of full tables, the l2_table
variable is renamed for clarity.
Signed-off-by: Alberto Garcia
Reviewed-by: Eric Blake
---
block/qcow2-cluster.c | 4 ++--
1 file changed, 2 insertions(+), 2 d
This function was only using the BlockDriverState parameter to get the
cache table size (since it was equal to the cluster size). This is no
longer necessary so this parameter can be removed.
Signed-off-by: Alberto Garcia
Reviewed-by: Eric Blake
---
block/qcow2-cache.c | 9 -
1 file cha
This function has not been returning the offset of the L2 table since
commit 3948d1d4876065160583e79533bf604481063833
Signed-off-by: Alberto Garcia
Reviewed-by: Eric Blake
---
block/qcow2-cluster.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/block/qcow2-cluster.c b/blo
This function doesn't need any changes to support L2 slices, but since
it's now dealing with slices intead of full tables, the l2_table
variable is renamed for clarity.
Signed-off-by: Alberto Garcia
Reviewed-by: Eric Blake
---
block/qcow2-cluster.c | 6 +++---
1 file changed, 3 insertions(+), 3
This function was only using the BlockDriverState parameter to pass it
to qcow2_cache_get_table_idx() and qcow2_cache_table_release(). This
is no longer necessary so this parameter can be removed.
Signed-off-by: Alberto Garcia
Reviewed-by: Eric Blake
---
block/qcow2-cache.c| 2 +-
block/qco
qcow2_get_cluster_offset() checks how many contiguous bytes are
available at a given offset. The returned number of bytes is limited
by the amount that can be addressed without having to load more than
one L2 table.
Since we'll be loading L2 slices instead of full tables this patch
changes the lim
This patch updates l2_allocate() to support the qcow2 cache returning
L2 slices instead of full L2 tables.
The old code simply gets an L2 table from the cache and initializes it
with zeroes or with the contents of an existing table. With a cache
that returns slices instead of tables the idea remai
This function was only using the BlockDriverState parameter to pass it
to qcow2_cache_get_table_idx(). This is no longer necessary so this
parameter can be removed.
Signed-off-by: Alberto Garcia
Reviewed-by: Eric Blake
---
block/qcow2-cache.c| 3 +--
block/qcow2-cluster.c | 12 ++-
This function doesn't need any changes to support L2 slices, but since
it's now dealing with slices instead of full tables, the l2_table
variable is renamed for clarity.
Signed-off-by: Alberto Garcia
Reviewed-by: Eric Blake
---
block/qcow2-cluster.c | 16
1 file changed, 8 inse
At the moment it doesn't really make a difference whether we call
qcow2_get_refcount() before of after reading the L2 table, but if we
want to support L2 slices we'll need to read the refcount first.
This patch simply changes the order of those two operations to prepare
for that. The patch with th
This function was never using the BlockDriverState parameter so it can
be safely removed.
Signed-off-by: Alberto Garcia
Reviewed-by: Eric Blake
---
block/qcow2-cache.c | 2 +-
block/qcow2.c | 16
block/qcow2.h | 2 +-
3 files changed, 10 insertions(+), 10 deletion
expand_zero_clusters_in_l1() is used when downgrading qcow2 images
from v3 to v2 (compat=0.10). This is one of the functions that needed
more changes to support L2 slices, so this patch extends iotest 061 to
test downgrading a qcow2 image using a smaller slice size.
Signed-off-by: Alberto Garcia
This function was only using the BlockDriverState parameter to pass it
to qcow2_cache_table_release(). This is no longer necessary so this
parameter can be removed.
Signed-off-by: Alberto Garcia
Reviewed-by: Eric Blake
---
block/qcow2-cache.c | 2 +-
block/qcow2.c | 4 ++--
block/qcow2.h
The qcow2_truncate() code is mostly independent from whether
we're using L2 slices or full L2 tables, but in full and
falloc preallocation modes new L2 tables are allocated using
qcow2_alloc_cluster_link_l2(). Therefore the code needs to be
modified to ensure that all nb_clusters that are processe
this is the new revision of the patch series to allow configuring the
entry size of the qcow2 L2 cache. Follow this link for the full
description from the first version:
https://lists.gnu.org/archive/html/qemu-block/2017-10/msg00458.html
And here are some numbers showing the performance improv
The BDRVQcow2State structure contains an l2_size field, which stores
the number of 64-bit entries in an L2 table.
For efficiency reasons we want to be able to load slices instead of
full L2 tables, so we need to know how many entries an L2 slice can
hold.
An L2 slice is the portion of an L2 table
This function was only using the BlockDriverState parameter to pass it
to qcow2_cache_get_table_addr(). This is no longer necessary so this
parameter can be removed.
Signed-off-by: Alberto Garcia
Reviewed-by: Eric Blake
---
block/qcow2-cache.c| 3 +--
block/qcow2-refcount.c | 6 +++---
bloc
On 25 January 2018 at 15:15, Laurent Vivier wrote:
> The following changes since commit 0f79bfe38a2cf0f43c7ea4959da7f8ebd7858f3d:
>
> Merge remote-tracking branch
> 'remotes/vivier2/tags/linux-user-for-2.12-pull-request' into staging
> (2018-01-25 09:53:53 +)
>
> are available in the Git r
On 01/26/2018 11:33 AM, Peter Maydell wrote:
> On 26 January 2018 at 14:29, Philippe Mathieu-Daudé wrote:
>> Hi Peter,
>>
>> On 12/07/2017 03:14 PM, Peter Maydell wrote:
>>> Add support for "-cpu max" for ARM guests. This CPU type behaves
>>> like "-cpu host" when KVM is enabled, and like a system
Richard Henderson writes:
> Signed-off-by: Richard Henderson
I'm slightly confused by the fact some previously added functions in
this series are seeing changes. Is this just of an artefact of building
up the TCG API in stages or should the changes be rolled into the
original patches?
Also th
Move necessary stuff in escc.h and update type names.
Remove slavio_serial_ms_kbd_init().
Fix code style problems reported by checkpatch.pl
Update mac_newworld, mac_oldworld and sun4m to use directly the
QDEV interface.
Signed-off-by: Laurent Vivier
Reviewed-by: Philippe Mathieu-Daudé
---
Notes
* Eric Blake (ebl...@redhat.com) wrote:
> Since everything else about the nbd-server-* QMP commands is
> accessible from HMP, we might as well make removing an export
> available as well. For now, I went with a bool flag rather
> than a mode string for choosing between safe (default) and
> hard mo
Hi Peter,
On 12/07/2017 03:14 PM, Peter Maydell wrote:
> Add support for "-cpu max" for ARM guests. This CPU type behaves
> like "-cpu host" when KVM is enabled, and like a system CPU with
> the maximum possible feature set otherwise. (Note that this means
> it won't be migratable across versions,
On 01/25/2018 02:05 PM, Dr. David Alan Gilbert wrote:
> * Wei Huang (w...@redhat.com) wrote:
>> This patch adds the migration test support for aarch64. The test code,
>> which implements the same functionality as x86, is compiled into a binary
>> and booted as a kernel in qemu. Here are the desig
This function was only using the BlockDriverState parameter to pass it
to qcow2_cache_get_table_idx(). This is no longer necessary so this
parameter can be removed.
Signed-off-by: Alberto Garcia
Reviewed-by: Eric Blake
---
block/qcow2-cache.c| 2 +-
block/qcow2-cluster.c | 28
expand_zero_clusters_in_l1() expands zero clusters as a necessary step
to downgrade qcow2 images to a version that doesn't support metadata
zero clusters. This function takes an L1 table (which may or may not
be active) and iterates over all its L2 tables looking for zero
clusters.
Since we'll be
zero_single_l2() limits the number of clusters to be zeroed to the
amount that fits inside an L2 table. Since we'll be loading L2 slices
instead of full tables we need to update that limit.
Apart from that, this function doesn't need any additional changes, so
this patch simply updates the variabl
Now that the code is ready to handle L2 slices we can finally add an
option to allow configuring their size.
An L2 slice is the portion of an L2 table that is read by the qcow2
cache. Until now the cache was always reading full L2 tables, and
since the L2 table size is equal to the cluster size th
From: Vladimir Sementsov-Ogievskiy
Add command for removing an export. It is needed for cases when we
don't want to keep the export after the operation on it was completed.
The other example is a temporary node, created with blockdev-add.
If we want to delete it we should firstly remove any corre
From: Vladimir Sementsov-Ogievskiy
Allow user to specify name for new export, to not reuse internal
node name and to not show it to clients.
This also allows creating several exports per device.
Signed-off-by: Vladimir Sementsov-Ogievskiy
Reviewed-by: Eric Blake
Message-Id: <20180119135719.24
Initially int64_t was used, but on PowerPC architecture,
clang doesn't have atomic_*_8 function, so it produces
link time error.
QEMU is working with time as with 64bit value, but by
fact 32 bit is enough with CLOCK_REALTIME. In this case
blocktime will keep only 1200 hours time interval.
Signed-
1 - 100 of 223 matches
Mail list logo