On Fri, 2010-10-22 at 14:40 -0600, Alex Williamson wrote:
> We need to pull in config.h or else kvm.h doesn't pull in
> linux/config.h, which we need if we ever want KVM_CAP_IRQCHIP
> defined. This requires moving the object over to Makefile.target
> or else we can't find config-target.h
>
> Sign
TIPOGRAFIA e STAMPA DIGITALE
www.tipoprint.com
Tel: 02 89 92 67 50
Gentile Cliente,
Crediamo sia cosa gradita farvi pervenire questa nostra offerta relativa ai
nostri stampati. E' una occasione da non perdere anche perche' potrete
sfruttare questa offerta per tutto il 2010 a sola condizione che ri
* Anthony Liguori (anth...@codemonkey.ws) wrote:
> On 10/22/2010 01:20 PM, Chris Wright wrote:
> >I'm not sure about that. That same new shiny Fedora 21 QEMU has no idea
> >what the right OS specific command to run in guest is. Granted, it's
> >not likely that "reboot" or "shutdown -r now" are li
fprintf_function uses format checking with GCC_FMT_ATTR.
Format errors were fixed in
* target-i386/helper.c
* target-mips/translate.c
* target-ppc/translate.c
Cc: Blue Swirl
Signed-off-by: Stefan Weil
---
cpu-all.h |8 +++-
cpus.c|3 +--
fprintf_function uses format checking with GCC_FMT_ATTR.
Cc: Blue Swirl
Signed-off-by: Stefan Weil
---
tcg/tcg.c |6 ++
tcg/tcg.h |3 +--
2 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/tcg/tcg.c b/tcg/tcg.c
index 0cdef0d..5dd6a2c 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.
fprintf_function uses format checking with GCC_FMT_ATTR.
It is declared in qemu-common.h and used in cpu-all.h
(which is included from cpu.h), so qemu-common.h must
be included earlier. Some redundant include statements
for standard include files were removed.
Fix also two format errors (ptrdiff_
This kind of function pointers is used very often in qemu.
The new data type uses format checking with GCC_FMT_ATTR
and will be used in later patches.
Cc: Blue Swirl
Signed-off-by: Stefan Weil
---
qemu-common.h |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/qemu-com
Am 22.10.2010 19:33, schrieb Luiz Capitulino:
On Fri, 22 Oct 2010 19:15:07 +0200
Markus Armbruster wrote:
Luiz Capitulino writes:
From: Jan Kiszka
This avoids
error: zero-length gnu_printf format string
Signed-off-by: Jan Kiszka
Signed-off-by: Luiz Capitulino
---
check-q
We need to pull in config.h or else kvm.h doesn't pull in
linux/config.h, which we need if we ever want KVM_CAP_IRQCHIP
defined. This requires moving the object over to Makefile.target
or else we can't find config-target.h
Signed-off-by: Alex Williamson
---
Makefile.objs |2 --
Makefile.
To enable common msix support to be used with pass through devices,
don't attempt to change the BAR if the device already has an
MSI-X capability. This also means we want to pay closer attention
to the size when we map the msix table page, as it isn't necessarily
covering the entire end of the BAR
I've been porting the qemu vfio driver to use the common msix
infrastructure and hit a couple issues. The first patch addresses
the problem that a device may already have MSI-X capability setup
and non-adjustable BARs, so msix_init should be able to use the
existing capability instead of adding it
Guest-side macros to generate backdoor instructions.
Signed-off-by: Lluís Vilanova
---
backdoor/guest.h | 24
1 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/backdoor/guest.h b/backdoor/guest.h
index 58847e2..17029d3 100644
--- a/backdoor/guest.h
+++ b
The user-provided implementation for instrumentation points can define and use
"instrumentation types" as the atomic unit of instrumentation point
(de)activation.
The set of "instrumentation types" is named as "instrumentation state" (just a
bitset, one bit per type), which can be independently c
Decode backdoor instructions following "backdoor/guest.h" and call the
user-defined backdoor helpers.
Signed-off-by: Lluís Vilanova
---
target-i386/translate.c | 30 ++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/target-i386/translate.c b/target
---
.gitignore |1 +
instrument/examples/dynprint/README| 16 +++
instrument/examples/dynprint/guest/Makefile|7 +++
instrument/examples/dynprint/guest/test.c | 39 +
instrument/examples/dynpr
Provides some code-generation macros intended to be used by the user when
generating code on instrumentation points.
Signed-off-by: Lluís Vilanova
---
cpu-all.h |2 +
instrument/generate.h | 124 +
instrument/types.h| 33 +++
Signed-off-by: Lluís Vilanova
---
cpu-all.h |6 +++
instrument/examples/dynprint/guest/test.c | 10 +
instrument/examples/dynprint/host/backdoor.c |8
instrument/examples/dynprint/host/helpers.c| 43
Provides a guest application that exercices the instruction-based backdoor
communication, as well as a backdoor callback implementation that prints the
guest requests.
Signed-off-by: Lluís Vilanova
---
.gitignore |1 +
backdoor/examples/print/README | 1
Signed-off-by: Lluís Vilanova
---
instrument/host.h | 31 ---
target-i386/cpu.h | 21 +++--
2 files changed, 11 insertions(+), 41 deletions(-)
delete mode 100644 instrument/host.h
diff --git a/instrument/host.h b/instrument/host.h
deleted file mo
This set of patches is meant to be applied on top of the Virtproxy v1 patchset.
OVERVIEW:
There are a wide range of use cases motivating the need for a guest agent of
some sort to extend the functionality/usability/control offered by QEMU. Some
examples include graceful guest shutdown/reboot an
---
target-alpha/helper.h |4
target-arm/helper.h|4
target-cris/helper.h |4
target-i386/helper.h |4
target-m68k/helper.h |4
target-microblaze/helper.h |4
target-mips/helper.h |4
target-ppc/he
Header for the user to include when compiling guest applications that want to
communicate with QEMU through backdoor instructions.
Signed-off-by: Lluís Vilanova
---
backdoor/guest.h | 36
1 files changed, 36 insertions(+), 0 deletions(-)
create mode 10064
Signed-off-by: Lluís Vilanova
---
instrument/examples/dynprint/guest/test.c |1 +
.../examples/dynprint/host/instrument-host.h | 21 ---
instrument/host-stub.h |7 ++
3 files changed, 25 insertions(+), 4 deletions(-)
diff
reads data from client/server connections as they become readable, then
sends the data over the channel
Signed-off-by: Michael Roth
---
virtproxy.c | 80 +++
1 files changed, 80 insertions(+), 0 deletions(-)
diff --git a/virtproxy.c b/vi
Nathan Froyd writes:
> On Tue, Oct 19, 2010 at 09:57:13PM +0200, Lluís wrote:
>> --- a/exec.c
>> +++ b/exec.c
>> @@ -688,6 +688,11 @@ static void page_flush_tb(void)
>> }
>> }
>>
>> +void tb_flush_jmp_cache (CPUState * env)
>> +{
>> +memset (env->tb_jmp_cache, 0, TB_JMP_CACHE_SIZE * sizeof (v
Signed-off-by: Michael Roth
---
virtproxy.c | 44
1 files changed, 44 insertions(+), 0 deletions(-)
diff --git a/virtproxy.c b/virtproxy.c
index 2f8996c..fa17722 100644
--- a/virtproxy.c
+++ b/virtproxy.c
@@ -149,3 +149,47 @@ static QemuOptsList vp
Signed-off-by: Lluís Vilanova
---
cpu-all.h | 59 +---
exec-all.h|2 +
linux-user/main.c | 12
softmmu_header.h | 15 ++
target-alpha/translate.c |4 +++
targe
Signed-off-by: Juergen Lock
--- a/Makefile
+++ b/Makefile
@@ -114,7 +114,7 @@ bt-host.o: QEMU_CFLAGS += $(BLUEZ_CFLAGS
##
qemu-img.o: qemu-img-cmds.h
-qemu-img.o qemu-tool.o qemu-nbd.o qemu-io.o: $(GENERATED_HEADERS)
+qemu-im
Add a '--with-instrument' configuration option pointing to user-provided
instrumentation callbacks.
Make is invoked on the user-provided directory, which must build a static
library that might contain extra code needed by the user-provided
instrumentation.
Signed-off-by: Lluís Vilanova
---
Mak
Provides an instrumentation point for instruction fetch/decode events.
Signed-off-by: Lluís Vilanova
---
target-i386/translate.c | 113 +++
1 files changed, 113 insertions(+), 0 deletions(-)
diff --git a/target-i386/translate.c b/target-i386/transla
Signed-off-by: Lluís Vilanova
---
instrument/examples/dynprint/host/helpers.c| 24 ++
.../dynprint/host/instrument-host-helpers.h|1 +
.../examples/dynprint/host/instrument-host.h | 19
instrument/gen-vmem-wrappers.h | 88 +
These helpers must be implemented by the user on "libbackdoor.a".
Signed-off-by: Lluís Vilanova
---
backdoor/helper.h | 21 +
1 files changed, 21 insertions(+), 0 deletions(-)
create mode 100644 backdoor/helper.h
diff --git a/backdoor/helper.h b/backdoor/helper.h
new file
Signed-off-by: Lluís Vilanova
---
target-alpha/helper.h |4
target-arm/helper.h|4
target-cris/helper.h |4
target-i386/helper.h |4
target-m68k/helper.h |4
target-microblaze/helper.h |4
target-mips/helper.h
Add a '--with-backdoor' configuration option pointing to user-provided backdoor
callback implementation.
Make is invoked on the user-provided directory, which must build a static
library containing, at least, the implementation of the backdoor helpers.
Signed-off-by: Lluís Vilanova
---
Makefile
SYNOPSIS
size[4] Tfsync tag[2] fid[4] datasync[4]
size[4] Rfsync tag[2]
DESCRIPTION
The Tfsync transaction transfers ("flushes") all modified in-core data of
file identified by fid to the disk device (or other permanent storage
device) where that file resides.
If da
Add RPC to view guest dmesg output.
Signed-off-by: Michael Roth
---
virtagent-daemon.c | 45 +
virtagent-daemon.h |1 +
2 files changed, 46 insertions(+), 0 deletions(-)
diff --git a/virtagent-daemon.c b/virtagent-daemon.c
index fad0f64..6aaa987
On Tue, Oct 19, 2010 at 09:57:13PM +0200, Lluís wrote:
> --- a/exec.c
> +++ b/exec.c
> @@ -688,6 +688,11 @@ static void page_flush_tb(void)
> }
> }
>
> +void tb_flush_jmp_cache (CPUState * env)
> +{
> +memset (env->tb_jmp_cache, 0, TB_JMP_CACHE_SIZE * sizeof (void *));
> +}
> +
This is
Sorry, the last cover had a bad starting commit. Patches continue from
here.
--
"And it's much the same thing with knowledge, for whenever you learn
something new, the whole world becomes that much richer."
-- The Princess of Pure Reason, as told by Norton Juster in The Phantom
Tollbooth
Add RPC to retrieve a guest file. A size limit of some sort will
eventually be needed else we can block the monitor for arbitrarily long
periods of time. This interface is intended for smaller reads like
peeking at logs and /proc and such.
Signed-off-by: Michael Roth
---
virtagent-daemon.c | 5
Signed-off-by: Michael Roth
---
Makefile |2 +-
qemu-vp.c | 469 -
2 files changed, 469 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 53b58d2..2dd64a3 100644
--- a/Makefile
+++ b/Makefile
@@ -135,7 +135,7 @
Signed-off-by: Michael Roth
---
Makefile|2 +-
Makefile.target |2 +-
configure | 25 +
3 files changed, 27 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 2dd64a3..b513d33 100644
--- a/Makefile
+++ b/Makefile
@@ -135,7 +135,7
On 10/22/2010 01:20 PM, Chris Wright wrote:
* Anthony Liguori (anth...@codemonkey.ws) wrote:
On 10/22/2010 12:29 PM, Chris Wright wrote:
* Anthony Liguori (anth...@codemonkey.ws) wrote:
The first step is just identifying what interfaces we need in a
guest agent. So far, I th
Virtagent depends on basic qemu functions re-implemented by qemu-vp to
allow it to be used in output of qemu (in particular, to allow the
client code to be used for guest-to-host RPC calls). To build virtagent
into qemu we need to define these in terms of the built-in qemu
functions.
Signed-off-by
Base skeleton and helpers for executing RPC commands. Monitor commands
will result in a connect() being issued to the virtagent service socket,
which will then be transported to the listening RPC server in the guest
via the virtproxy layer, RPC requests are then sent/recieved via http
over the resu
This allows the host or guest RPC server to be forked off from the
qemu-vp instance handling the communication between the host/guest.
Eventually this will be rolled into a virtagent init that can be used by
both qemu-vp and qemu (in anticipation of integrating qemu-vp/virtproxy
as a chardev).
Sig
Utilize the getfile RPC to provide a means to view text files in the
guest. Getfile can handle binary files as well but we don't advertise
that here due to the special handling requiring to store it and provide
it back to the user (base64 encoding it for instance). Hence the
potentially confusing "
Add commands to view guest dmesg output. Currently it is a 16K buffer.
Signed-off-by: Michael Roth
---
hmp-commands.hx | 16 +
qmp-commands.hx | 35 +++
virtagent.c | 100 +++
virtagent.h |3 ++
4 files
This accept()'s connections to the socket we told virt-proxy to listen
for the channel connection on and sets the appropriate read handler for
the resulting FD.
Signed-off-by: Michael Roth
---
virtproxy.c | 37 +
1 files changed, 37 insertions(+), 0 deletion
Common code for sending/recieving RPCs via http over virtproxy channel.
Eventually these will all be switched to asynchronous handlers to avoid
deadlocks between qemu and the guest. For now we can usually get away with
just doing asynchronous reads for http/RPC responses if we don't send
large RPC
Signed-off-by: Michael Roth
---
.gitignore |1 +
Makefile |4 +++-
configure |1 +
3 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/.gitignore b/.gitignore
index a43e4d1..da307d2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -31,6 +31,7 @@ qemu-img-cmds.texi
qemu-img-
Basic skeleton code for RPC daemon loop. This is shared by both the
guest-side RPC server as well as the host-side one (the advertised RPCs
for each by guest/host-specific arrays).
Signed-off-by: Michael Roth
---
virtagent-daemon.c | 118
vir
Signed-off-by: Michael Roth
---
virtproxy.c | 59 +++
virtproxy.h |2 ++
2 files changed, 61 insertions(+), 0 deletions(-)
diff --git a/virtproxy.c b/virtproxy.c
index 5ec4e77..86a8e5b 100644
--- a/virtproxy.c
+++ b/virtproxy.c
@@ -6
Here's a set of patches with the current state of static
instrumentation.
Hope that this organization will help understanding the point of
it. Patch 9 describes the taken approach for instrumenting during code
generation, which is the main point of this.
Code can also be reached at:
https://
Signed-off-by: Michael Roth
---
virtproxy.c | 134 +++
virtproxy.h | 34 +++
2 files changed, 168 insertions(+), 0 deletions(-)
create mode 100644 virtproxy.c
create mode 100644 virtproxy.h
diff --git a/virtproxy.c b/virtp
OVERVIEW:
Virtproxy proxies and multiplexes socket streams over a data channel between a
host and a guest (currently network connections, emulated serial, or
virtio-serial channels are supported). This allows for services such as guest
data collection agents, host/guest file transfer, and event
Process control packets coming in over the channel. This entails setting
up/tearing down connections to local services initiated from the other
end of the channel.
Signed-off-by: Michael Roth
---
virtproxy.c | 154 +++
1 files changed, 154
Signed-off-by: Michael Roth
---
virtproxy.c | 23 +++
virtproxy.h |3 +++
2 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/virtproxy.c b/virtproxy.c
index c9c3022..cc0ac9a 100644
--- a/virtproxy.c
+++ b/virtproxy.c
@@ -313,3 +313,26 @@ static void vp_chan
Signed-off-by: Michael Roth
---
virtproxy.c | 17 +
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/virtproxy.c b/virtproxy.c
index f30b859..2f8996c 100644
--- a/virtproxy.c
+++ b/virtproxy.c
@@ -13,6 +13,23 @@
#include "virtproxy.h"
+#define DEBUG_VP
+
+#i
Signed-off-by: Michael Roth
---
virtproxy.c | 23 +++
1 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/virtproxy.c b/virtproxy.c
index 4f56aba..5ec4e77 100644
--- a/virtproxy.c
+++ b/virtproxy.c
@@ -431,6 +431,29 @@ static int vp_handle_data_packet(void *drv,
Handle data coming in over the channel as VPPackets: Process control
messages and forward data from remote client/server connections to the
appropriate server/client FD on our end.
Signed-off-by: Michael Roth
---
virtproxy.c | 83 +++
1 f
Functions to add listener FDs (oforwards) which set up proxied connections
to associated service, and the corresponding handler function to process
to new connections to said FDs and initialize new client connections to
the associated remote server over the channel
Signed-off-by: Michael Roth
---
Process VPPackets coming in from channel and send them to the
appropriate server/client connections.
Signed-off-by: Michael Roth
---
virtproxy.c | 42 ++
1 files changed, 42 insertions(+), 0 deletions(-)
diff --git a/virtproxy.c b/virtproxy.c
index 6c36
Daemon to be run in guest, or on host in standalone mode.
(re-)implements some qemu utility functions used by core virtproxy.c
code via wrapper functions. For built-in virtproxy code we will define
these wrapper functions in terms of qemu's built-in implementations.
Main logic will come in a later
Signed-off-by: Lluís Vilanova
---
exec-all.h |2 ++
exec.c |9 +++--
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/exec-all.h b/exec-all.h
index 3a53fe6..2ae09c5 100644
--- a/exec-all.h
+++ b/exec-all.h
@@ -182,6 +182,8 @@ static inline unsigned int tb_phys_hash_f
This provides a consistent naming scheme across all targets.
Signed-off-by: Lluís Vilanova
---
target-arm/helper.c|2 +-
target-arm/helper.h| 450
target-arm/helpers.h | 450
tar
Signed-off-by: Lluís Vilanova
---
def-helper.h | 26 ++
1 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/def-helper.h b/def-helper.h
index 8a822c7..7abaf76 100644
--- a/def-helper.h
+++ b/def-helper.h
@@ -118,6 +118,8 @@
DEF_HELPER_FLAGS_3(name, 0, r
Using a pointer on the host should not go through lduw.
Signed-off-by: Lluís Vilanova
---
linux-user/signal.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/linux-user/signal.c b/linux-user/signal.c
index 77683f7..097da9d 100644
--- a/linux-user/signal.c
+++ b/linux-
Thanks, applied both.
On Fri, Oct 22, 2010 at 10:33 AM, Stefan Weil wrote:
> Am 13.10.2010 20:54, schrieb Stefan Weil:
>>
>> Replace the remaining format attribute printf by macro
>> GCC_FMT_ATTR which uses gnu_printf (if supported).
>>
>> v2
>> * Removal of dyngen specific code is now done in a
* Anthony Liguori (anth...@codemonkey.ws) wrote:
> On 10/22/2010 12:29 PM, Chris Wright wrote:
> >* Anthony Liguori (anth...@codemonkey.ws) wrote:
> >>The first step is just identifying what interfaces we need in a
> >>guest agent. So far, I think we can get away with a very small
> >>number of in
Hello,
I'm a member of the MySpace community and thought you'd like to join too.
Join MySpace and you will
On 10/21/2010 5:10 AM, Arun R Bharadwaj wrote:
> From: Gautham R Shenoy
>
> infrastructure for offloading blocking tasks such as making posix calls on
> to the helper threads and handle the post_posix_operations() from the
> context of the iothread. This frees the vcpu thread to process any other
On Fri, Oct 22, 2010 at 3:22 PM, Stefan Hajnoczi
wrote:
> On Thu, Oct 21, 2010 at 08:13:51PM +, Blue Swirl wrote:
>> Replace debug printf statements with tracepoints.
>>
>> Signed-off-by: Blue Swirl
>> ---
>> There were problems with tracetool if the tracepoint string contained
>> parentheses
* Anthony Liguori (anth...@codemonkey.ws) wrote:
> The first step is just identifying what interfaces we need in a
> guest agent. So far, I think we can get away with a very small
> number of interfaces (mainly read/write files, execute command).
Could you elaborate here? I can't imagine you mea
On Fri, 22 Oct 2010 19:15:07 +0200
Markus Armbruster wrote:
> Luiz Capitulino writes:
>
> > From: Jan Kiszka
> >
> > This avoids
> >
> > error: zero-length gnu_printf format string
> >
> > Signed-off-by: Jan Kiszka
> > Signed-off-by: Luiz Capitulino
> > ---
> > check-qjson.c |4 +++-
On 10/22/2010 12:29 PM, Chris Wright wrote:
* Anthony Liguori (anth...@codemonkey.ws) wrote:
The first step is just identifying what interfaces we need in a
guest agent. So far, I think we can get away with a very small
number of interfaces (mainly read/write files, execute command).
Luiz Capitulino writes:
> From: Jan Kiszka
>
> This avoids
>
> error: zero-length gnu_printf format string
>
> Signed-off-by: Jan Kiszka
> Signed-off-by: Luiz Capitulino
> ---
> check-qjson.c |4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/check-qjson.c b/
On Fri, 22 Oct 2010, Kevin Wolf wrote:
> [ Adding qemu-devel to CC again ]
>
> Am 21.10.2010 20:59, schrieb Sage Weil:
> > On Thu, 21 Oct 2010, Christian Brunner wrote:
> >> Hi,
> >>
> >> is there a flush operation in librados? - I guess the only way to
> >> handle this, would be waiting until all
* Kevin Wolf [2010-10-22 11:12]:
> Am 22.10.2010 17:48, schrieb Luiz Capitulino:
> > On Thu, 21 Oct 2010 21:55:51 -0500
> > Ryan Harper wrote:
> >
> >> This patch series decouples the detachment of a block device from the
> >> removal
> >> of the backing pci-device. Removal of a hotplugged pci
Right now if we pass through multiple USB devices with matching vendor
and product IDs, only first one is passed to guest, as the code thinks
second device is already attached. The only way to get those devices
working is to specify bus.addr which is inconvenient if devices are
frequently replugged
Am 22.10.2010 17:48, schrieb Luiz Capitulino:
> On Thu, 21 Oct 2010 21:55:51 -0500
> Ryan Harper wrote:
>
>> This patch series decouples the detachment of a block device from the removal
>> of the backing pci-device. Removal of a hotplugged pci device requires the
>> guest to respond before qemu
On Thu, 21 Oct 2010 21:55:52 -0500
Ryan Harper wrote:
> Add a function to find a drive by id string.
>
> Changes since v1:
> -Coding Style fix
>
> Signed-off-by: Ryan Harper
> ---
> blockdev.c | 13 +
> blockdev.h |1 +
> 2 files changed, 14 insertions(+), 0 deletions(-)
>
On Thu, 21 Oct 2010 21:55:51 -0500
Ryan Harper wrote:
> This patch series decouples the detachment of a block device from the removal
> of the backing pci-device. Removal of a hotplugged pci device requires the
> guest to respond before qemu tears down the block device. In some cases, the
> gues
On Thu, 21 Oct 2010 21:55:53 -0500
Ryan Harper wrote:
> Block hot unplug is racy since the guest is required to acknowlege the ACPI
> unplug event; this may not happen synchronously with the device removal
> command
>
> This series aims to close a gap where by mgmt applications that assume the
On Thu, Oct 21, 2010 at 03:10:18PM +0530, Prerna Saxena wrote:
> trace-event : QMP interface to change state of a trace-event.
> (Analogous to hmp command : trace-event )
>
> Signed-off-by: Prerna Saxena
> ---
> qmp-commands.hx | 32
> 1 files changed, 32 inser
On Thu, Oct 21, 2010 at 08:13:51PM +, Blue Swirl wrote:
> Replace debug printf statements with tracepoints.
>
> Signed-off-by: Blue Swirl
> ---
> There were problems with tracetool if the tracepoint string contained
> parentheses or brackets, so I removed those.
>
> hw/cs4231.c| 2
Subject line fixed.
Stefan
This patch adds code to look up data cluster offsets in the image via
the L1/L2 tables. The L2 tables are writethrough cached in memory for
performance (each read/write requires a lookup so it is essential to
cache the tables).
With cluster lookup code in place it is possible to implement
bdrv_is
This patch introduces the qed on-disk layout and implements image
creation. Later patches add read/write and other functionality.
Signed-off-by: Stefan Hajnoczi
---
Makefile.objs |1 +
block/qed.c | 546 +
block/qed.h | 148 +
This patch implements the read/write state machine. Operations are
fully asynchronous and multiple operations may be active at any time.
Allocating writes lock tables to ensure metadata updates do not
interfere with each other. If two allocating writes need to update the
same L2 table they will
Signed-off-by: Stefan Hajnoczi
---
docs/specs/qed_spec.txt | 128 +++
1 files changed, 128 insertions(+), 0 deletions(-)
create mode 100644 docs/specs/qed_spec.txt
diff --git a/docs/specs/qed_spec.txt b/docs/specs/qed_spec.txt
new file mode 100644
in
This patch adds support for the qemu-img check command. It also
introduces a dirty bit in the qed header to mark modified images as
needing a check. This bit is cleared when the image file is closed
cleanly.
If an image file is opened and it has the dirty bit set, a consistency
check will run an
QEMU Enhanced Disk format is a disk image format that forgoes features
found in qcow2 in favor of better levels of performance and data
integrity. Due to its simpler on-disk layout, it is possible to safely
perform metadata updates more efficiently.
Installations, suspend-to-disk, and other alloc
On 10/22/2010 09:38 AM, Michael S. Tsirkin wrote:
On Fri, Oct 22, 2010 at 01:35:47PM +0200, Markus Armbruster wrote:
"Michael S. Tsirkin" writes:
On Wed, Oct 20, 2010 at 05:18:56PM +0900, Isaku Yamahata wrote:
glue pcie_push_attention_button command.
Signed-off-by: Isaku Y
On Fri, Oct 22, 2010 at 01:35:47PM +0200, Markus Armbruster wrote:
> "Michael S. Tsirkin" writes:
>
> > On Wed, Oct 20, 2010 at 05:18:56PM +0900, Isaku Yamahata wrote:
> >> glue pcie_push_attention_button command.
> >>
> >> Signed-off-by: Isaku Yamahata
> >
> > So as a high level command, I thi
Am 22.10.2010 15:45, schrieb Anthony Liguori:
>>> On a physical system, if you don't have a battery backed disk and you
>>> enable the WC on your disk, then even with cache=writethrough we're unsafe.
>>>
>> I don't think that's right. O_SYNC should guarantee that the volatile
>> disk cache is
From: Kusanagi Kouichi
Signed-off-by: Kusanagi Kouichi
Signed-off-by: Luiz Capitulino
---
monitor.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/monitor.c b/monitor.c
index 260cc02..61607c5 100644
--- a/monitor.c
+++ b/monitor.c
@@ -3976,6 +3976,11 @@ static voi
On 10/22/2010 03:44 PM, Luiz Capitulino wrote:
> We could also have check-i386, check-qmp, etc. and check would simply
> call all of them.
That would be perfect, I think. I mean, if we could stick only to check
to do all our unit-testing
Well, the current "make test" is more integration test
Anthony,
The following patches have been sent to the list and look good to me. I've
also tested them.
The changes (since d03703c81a202cea156811e5dbc8e88627c19986) are available
in the following repository:
git://repo.or.cz/qemu/qmp-unstable.git for-anthony
Hidetoshi Seto (1):
Trivial
The werror option now affects not only write requests, but also flush requests.
Previously, it was not possible to stop a VM on a failed flush.
Signed-off-by: Kevin Wolf
---
hw/virtio-blk.c |8 +++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/hw/virtio-blk.c b/hw/virti
On Fri, 22 Oct 2010 08:43:39 -0500
Anthony Liguori wrote:
> On 10/22/2010 08:17 AM, Luiz Capitulino wrote:
> > You and Gerd asked about the purpose of this command, turns out that it's
> > only useful for developing new USB devices for QEMU, so I thought it would
> > be better to restrict it, so
1 - 100 of 146 matches
Mail list logo