This patch introduce libqblock API, make libqblock.la and make check-libqblock
could build this library.
Functionalities:
1 create a new image.
2 sync access of an image.
3 basic image information retrieving such as backing file.
4 detect if a sector is allocated in an image.
Supported
This patch added build system for testing libqblock, make check-libqblock
will build and test it, make clean or make check-clean will delete generated
binaries.
Signed-off-by: Wenchao Xia xiaw...@linux.vnet.ibm.com
---
.gitignore|2 ++
Makefile
In this example, at first it will create some qcow2 images, then get
information including backing file relationship. Then it will do sync IO on
the image.
Signed-off-by: Wenchao Xia xiaw...@linux.vnet.ibm.com
---
tests/libqblock/libqblock-qcow2.c | 392 -
This patch contains the major APIs in the library. For ABI some reserved
members were used.
Important APIs:
1 QBlockContext. This structure was used to retrieve errors, every thread
must create one first.
2 QBlockState. It stands for an block image object.
3 QBlockStaticInfo. It contains
This patch contains type and macro defines used in APIs, one file for public
usage by user, one for libqblock internal usage.
Signed-off-by: Wenchao Xia xiaw...@linux.vnet.ibm.com
---
libqblock/libqblock-internal.h | 75
libqblock/libqblock-types.h| 256
Il 29/09/2012 10:13, Wenchao Xia ha scritto:
+static void qb_setup_info_addr(QBlockStaticInfo *info,
+ QBlockStaticInfoAddr *info_addr)
+{
+uint64_t *virt_size = NULL;
+QBlockLocationInfo *backing_loc = NULL;
+bool *encrypt = NULL;
+
Libqblock was placed in new directory ./libqblock, libtool will build
dynamic library there, source files of block layer remains in ./block.
So block related source code will generate 3 sets of binary, first is old
ones used in qemu, second and third are non PIC and PIC ones in ./libqblock.
On Thu, Sep 27, 2012 at 5:16 PM, Avi Kivity a...@redhat.com wrote:
On 09/27/2012 05:13 AM, liu ping fan wrote:
On Mon, Sep 24, 2012 at 5:42 PM, Avi Kivity a...@redhat.com wrote:
On 09/24/2012 10:32 AM, liu ping fan wrote:
On Mon, Sep 24, 2012 at 3:44 PM, Avi Kivity a...@redhat.com wrote:
On
.. int inet_listen(const char *str, char *ostr, int olen,
.. int socktype, int port_offset, Error **errp)
Here 'ostr' is NULL, so change 'olen' to zero.
Signed-off-by: Amos Kong ak...@redhat.com
---
migration-tcp.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Hi All,
While working on a bugfix for USB migration I noticed that the versioning
of VMS_STRUCT does not work as I would expect.
Currently when loading VMS_STRUCT state, the vmsd version gets passed:
vmstate_load_state(f, field-vmsd, addr, field-vmsd-version_id);
This means that any later
On Mon, Sep 24, 2012 at 10:42 AM, Vasilis Liaskovitis
vasilis.liaskovi...@profitbricks.com wrote:
On Sat, Sep 22, 2012 at 01:46:57PM +, Blue Swirl wrote:
On Fri, Sep 21, 2012 at 11:17 AM, Vasilis Liaskovitis
vasilis.liaskovi...@profitbricks.com wrote:
Example:
-dimm
On Mon, Sep 24, 2012 at 2:56 PM, Peter Maydell peter.mayd...@linaro.org wrote:
On 24 September 2012 14:22, Peter Maydell peter.mayd...@linaro.org wrote:
On 23 September 2012 17:33, Blue Swirl blauwir...@gmail.com wrote:
Avoid this warning:
CCarm-softmmu/hw/arm/../arm_gic.o
On Mon, Sep 24, 2012 at 3:27 PM, Vasilis Liaskovitis
vasilis.liaskovi...@profitbricks.com wrote:
On Sat, Sep 22, 2012 at 02:15:28PM +, Blue Swirl wrote:
+
+/* Function to configure memory offsets of hotpluggable dimms */
+
+target_phys_addr_t pc_set_hp_memory_offset(uint64_t size)
On Tue, Sep 25, 2012 at 12:55 PM, Paolo Bonzini pbonz...@redhat.com wrote:
This adds a GPollFD to each AioHandler. It will then be possible to
attach these GPollFDs to a GSource, and from there to the main loop.
aio_wait examines the GPollFDs and avoids calling select() if any
is set (similar
On Wed, Sep 26, 2012 at 3:21 AM, David Gibson
da...@gibson.dropbear.id.au wrote:
The savevm code already includes a number of *_EQUAL helpers which act as
sanity checks verifying that the configuration of the saved state matches
that of the machine we're loading into to work. Variants already
On Wed, Sep 26, 2012 at 12:14 PM, Gerd Hoffmann kra...@redhat.com wrote:
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
docs/qemupciserial.inf | 107
1 files changed, 107 insertions(+), 0 deletions(-)
create mode 100644
On Wed, Sep 26, 2012 at 6:51 PM, Matt Renzelmann m...@cs.wisc.edu wrote:
The current implementation of pci_find_space does not correctly align
PCI capabilities in the PCI configuration space. It also does not
support PCI-Express devices. This patch fixes these issues.
Thanks to Alex
On 29 September 2012 12:25, Blue Swirl blauwir...@gmail.com wrote:
On Mon, Sep 24, 2012 at 2:56 PM, Peter Maydell peter.mayd...@linaro.org
wrote:
On 24 September 2012 14:22, Peter Maydell peter.mayd...@linaro.org wrote:
On 23 September 2012 17:33, Blue Swirl blauwir...@gmail.com wrote:
Avoid
On Wed, Sep 26, 2012 at 8:51 PM, Alexander Graf ag...@suse.de wrote:
On 26.09.2012, at 22:03, Anthony Liguori anth...@codemonkey.ws wrote:
Alexander Graf ag...@suse.de writes:
On 22.09.2012, at 15:31, Blue Swirl blauwir...@gmail.com wrote:
On Fri, Sep 21, 2012 at 3:08 AM, David Gibson
On Wed, Sep 26, 2012 at 9:59 PM, Anthony Liguori anth...@codemonkey.ws wrote:
Alex Williamson alex.william...@redhat.com writes:
When creating structure names in CamelCase, it's easy to have
back-to-back capitals when using acronyms (ex. PCIINTxRoutingNotifier,
QEMUSGList, VFIOINTx). In the
On Sat, Sep 29, 2012 at 11:44 AM, Peter Maydell
peter.mayd...@linaro.org wrote:
On 29 September 2012 12:25, Blue Swirl blauwir...@gmail.com wrote:
On Mon, Sep 24, 2012 at 2:56 PM, Peter Maydell peter.mayd...@linaro.org
wrote:
On 24 September 2012 14:22, Peter Maydell peter.mayd...@linaro.org
On Thu, Sep 27, 2012 at 1:55 AM, Richard Henderson r...@twiddle.net wrote:
Signed-off-by: Richard Henderson r...@twiddle.net
---
tcg/sparc/tcg-target.c | 109
++---
tcg/sparc/tcg-target.h | 5 ++-
2 files changed, 60 insertions(+), 54
On Thu, Sep 27, 2012 at 1:55 AM, Richard Henderson r...@twiddle.net wrote:
Now that we're always sparcv9, we can not bother using Bicc for
32-bit branches and BPcc for 64-bit branches and instead always
use BPcc.
But then the branch range is smaller (19 bits). The code buffer is
32M, wouldn't
On 29.09.2012, at 13:46, Blue Swirl blauwir...@gmail.com wrote:
On Wed, Sep 26, 2012 at 8:51 PM, Alexander Graf ag...@suse.de wrote:
On 26.09.2012, at 22:03, Anthony Liguori anth...@codemonkey.ws wrote:
Alexander Graf ag...@suse.de writes:
On 22.09.2012, at 15:31, Blue Swirl
On Sat, Sep 29, 2012 at 12:54 PM, Alexander Graf ag...@suse.de wrote:
On 29.09.2012, at 13:46, Blue Swirl blauwir...@gmail.com wrote:
On Wed, Sep 26, 2012 at 8:51 PM, Alexander Graf ag...@suse.de wrote:
On 26.09.2012, at 22:03, Anthony Liguori anth...@codemonkey.ws wrote:
Alexander Graf
On 09/13/12 16:57, Anthony Liguori wrote:
Michael S. Tsirkin m...@redhat.com writes:
On Tue, Sep 11, 2012 at 01:00:13PM -0400, Don Slutz wrote:
+if (next_chain_offset) {
+MptSGEntryChain sgec;
+cpu_physical_memory_read(seg_start_pa +
The current implementation of pci_find_space does not correctly align
PCI capabilities in the PCI configuration space. It also does not
support PCI-Express devices. This patch fixes these issues.
Thanks to Alex Williamson for feedback.
Signed-off-by: Matt Renzelmann m...@cs.wisc.edu
---
On 29.09.2012, at 16:11, Blue Swirl blauwir...@gmail.com wrote:
On Sat, Sep 29, 2012 at 12:54 PM, Alexander Graf ag...@suse.de wrote:
On 29.09.2012, at 13:46, Blue Swirl blauwir...@gmail.com wrote:
On Wed, Sep 26, 2012 at 8:51 PM, Alexander Graf ag...@suse.de wrote:
On 26.09.2012,
The first patch creates a sigprocmask wrapper on signal.c for its use in
syscall.c
The second patch changes the wrapper to protect sigsegv bit on the signal mask.
Alex Barcelo (2):
signal: added a wrapper for sigprocmask function
signal: sigsegv protection on do_sigprocmask
The sigsegv protection is done by forcing the catch (needed in qemu-user)
and then taking it off from the return mask (well, adding it in fact)
---
linux-user/signal.c |9 -
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/linux-user/signal.c b/linux-user/signal.c
A transparent wrapper for sigprocmask function.
---
linux-user/qemu.h|1 +
linux-user/signal.c |8
linux-user/syscall.c | 20 ++--
3 files changed, 19 insertions(+), 10 deletions(-)
diff --git a/linux-user/qemu.h b/linux-user/qemu.h
index fc4cc00..e2dd6a6
On 2012-09-29 05:07, Blue Swirl wrote:
On Thu, Sep 27, 2012 at 1:55 AM, Richard Henderson r...@twiddle.net wrote:
Now that we're always sparcv9, we can not bother using Bicc for
32-bit branches and BPcc for 64-bit branches and instead always
use BPcc.
But then the branch range is smaller
Hi everyone
A look through recent changes didn't reveal anything (or I missed it),
so please excuse me if this is already fixed, but with qemu-1.1.1 and
guest linux kernels 3.3.x and 3.5.0 the size of the memory qemu sets
via memory ballooning and what the guest sees do not match:
hmp: `balloon
A re-base and update of a tcg backend that I wrote almost 2 years ago.
r~
Richard Henderson (3):
tcg-alpha: Fix type mismatch errors in cpu_signal_handler.
tcg-alpha: Don't use a custom linker script.
tcg-alpha: New TCG target.
alpha.ld | 127
configure
Signed-off-by: Richard Henderson r...@twiddle.net
---
user-exec.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/user-exec.c b/user-exec.c
index ef9b172..1635e4a 100644
--- a/user-exec.c
+++ b/user-exec.c
@@ -352,8 +352,8 @@ int cpu_signal_handler(int host_signum, void
The default placement of the binary at 6G is fine.
Signed-off-by: Richard Henderson r...@twiddle.net
---
alpha.ld | 127 ---
1 file changed, 127 deletions(-)
delete mode 100644 alpha.ld
diff --git a/alpha.ld b/alpha.ld
deleted file
Am 29.09.2012 20:10, schrieb Richard Henderson:
Signed-off-by: Richard Hendersonr...@twiddle.net
---
user-exec.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/user-exec.c b/user-exec.c
index ef9b172..1635e4a 100644
--- a/user-exec.c
+++ b/user-exec.c
@@ -352,8 +352,8
On Sat, 29 Sep 2012 17:32:31 +0800
Amos Kong ak...@redhat.com wrote:
.. int inet_listen(const char *str, char *ostr, int olen,
.. int socktype, int port_offset, Error **errp)
Here 'ostr' is NULL, so change 'olen' to zero.
Signed-off-by: Amos Kong ak...@redhat.com
---
38 matches
Mail list logo