On Tue, May 17, 2011 at 7:35 PM, Stefan Hajnoczi wrote:
> Please see http://wiki.qemu.org/Contribute/SubmitAPatch, which asks
> that patches are sent inline (not as attachments) for easy review and
> that you follow the coding style (see the CODING_STYLE file). Patches
> also need a Signed-off-by
Current vm_running was not explicitly initialized and its value was changed by
vm state notifier, this may confuse the virtio device being hotplugged such as
virtio-net with vhost backend as it may think the vm was not running. Solve this
by initialize this value explicitly in virtio_common_init().
On Tue, May 17, 2011 at 09:06:41AM +0200, Alexander Graf wrote:
> On 17.05.2011, at 08:47, David Gibson wrote:
> > From: Alexey Kardashevskiy
> >
> > The recently added pseries machine does not currently support PCI
> > emulation. For the (upcoming) kvm case, this is quite difficult to do
> > be
On Tue, May 17, 2011 at 06:03:39PM -0400, Mike Frysinger wrote:
Reviewed-by: Alon Levy
> Signed-off-by: Mike Frysinger
> ---
> .gitignore |1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/.gitignore b/.gitignore
> index 306baee..e5a51f3 100644
> --- a/.gitignore
>
On Tue, May 17, 2011 at 04:21:11PM +0200, Jan Kiszka wrote:
> I also succeeded with passing through a PCIe host device. Nicely, the
> full set capabilities showed up on the guest side this way. But GPU
> pass-through did not improve this way (it rather regressed, yet unclear
> why).
Interesting.
Here is the prog_interface part.
You were unsure about prog_interface, so I split it out.
Thus you can determine if prog_interface conversion is wanted or not.
>From abaf67175190c2f4d0c222c2ae8010e9de38bf59 Mon Sep 17 00:00:00 2001
Message-Id:
From: Isaku Yamahata
Date: Wed, 18 May 2011 09:58:2
Quoting Stefan Berger (stef...@linux.vnet.ibm.com):
> On 05/17/2011 04:58 PM, Serge E. Hallyn wrote:
> >Quoting Stefan Berger (stef...@linux.vnet.ibm.com):
> >>This patch adds support for TPM command line options.
> >>The command line supported here (considering the libtpms based
> >>backend) are
>
Thank you for subscribing. You have now unsubscribed and no more messages will
be sent.
Signed-off-by: Michael Roth
---
qapi/qmp-core.h | 90 +++
1 files changed, 90 insertions(+), 0 deletions(-)
create mode 100644 qapi/qmp-core.h
diff --git a/qapi/qmp-core.h b/qapi/qmp-core.h
new file mode 100644
index 000..c4a20a8
--- /d
Signed-off-by: Michael Roth
---
Makefile | 13 +
Makefile.objs |7 +++
2 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index 5d39363..55ae073 100644
--- a/Makefile
+++ b/Makefile
@@ -145,6 +145,19 @@ check-qlist: check-qlist.o qlist.
Signed-off-by: Michael Roth
---
test-visiter.c | 214
1 files changed, 214 insertions(+), 0 deletions(-)
create mode 100644 test-visiter.c
diff --git a/test-visiter.c b/test-visiter.c
new file mode 100644
index 000..31596a0
--- /dev
This is how QMP commands/parameters/types would be defined. We use a
subset of that functionality here to implement functions/types for unit
testing.
Signed-off-by: Michael Roth
---
qapi-schema-test.json | 16
1 files changed, 16 insertions(+), 0 deletions(-)
create mode 1006
Given an object recieved via QMP, this code uses the dispatch table
provided by qmp_registry.c to call the corresponding marshalling/dispatch
function and format return values/errors for delivery to the QMP.
Currently only synchronous QMP functions are supported, but this will
also be used for asyn
Registration/lookup functions for that provide a lookup table for
dispatching QMP commands.
Signed-off-by: Michael Roth
---
qapi/qmp-registry.c | 38 ++
1 files changed, 38 insertions(+), 0 deletions(-)
create mode 100644 qapi/qmp-registry.c
diff --git a/q
A type of Visiter class that is used to walk a qobject's
structure and assign each entry to the corresponding native C type.
Command marshaling function will use this to pull out QMP command
parameters recieved over the wire and pass them as native arguments
to the corresponding C functions.
Signe
Type of Visiter class that serves as the inverse of the input visiter:
it takes a series of native C types and uses their values to construct a
corresponding QObject. The command marshaling/dispatcher functions will
use this to convert the output of QMP functions into a QObject that can
be sent ove
Type of Visiter class that can be passed into a qapi-generated C
type's visiter function to free() any heap-allocated data types.
Signed-off-by: Michael Roth
---
qapi/qapi-dealloc-visiter.c | 125 +++
qapi/qapi-dealloc-visiter.h | 13 +
2 files chan
Base definitions/includes for Visiter interface used by generated
visiter/marshalling code.
Signed-off-by: Michael Roth
---
qapi/qapi-visit-core.h | 175
1 files changed, 175 insertions(+), 0 deletions(-)
create mode 100644 qapi/qapi-visit-core.
Base declarations and includes for qapi types generator.
Signed-off-by: Michael Roth
---
qapi/qapi-types-core.h | 12
1 files changed, 12 insertions(+), 0 deletions(-)
create mode 100644 qapi/qapi-types-core.h
diff --git a/qapi/qapi-types-core.h b/qapi/qapi-types-core.h
new file
This is the code generator for qapi command marshaling/dispatch.
Currently only generators for synchronous qapi/qmp functions are
supported. This script generates the following files:
$(prefix)qmp-marshal.c: command marshal/dispatch functions for each
QMP command define
Signed-off-by: Michael Roth
---
Makefile |8 +++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index 55ae073..39b2936 100644
--- a/Makefile
+++ b/Makefile
@@ -146,7 +146,7 @@ check-qfloat: check-qfloat.o qfloat.o $(CHECK_PROG_DEPS)
check-qjson: chec
Signed-off-by: Michael Roth
---
module.h |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/module.h b/module.h
index 9263f1c..ef66730 100644
--- a/module.h
+++ b/module.h
@@ -24,12 +24,14 @@ typedef enum {
MODULE_INIT_BLOCK,
MODULE_INIT_DEVICE,
MODULE_INIT_
Signed-off-by: Michael Roth
---
test-qmp-commands.c | 113 +++
1 files changed, 113 insertions(+), 0 deletions(-)
create mode 100644 test-qmp-commands.c
diff --git a/test-qmp-commands.c b/test-qmp-commands.c
new file mode 100644
index 000..8
This is the code generator for qapi visiter functions used to
marshal/unmarshal/dealloc qapi types. It generates the following 2
files:
$(prefix)qapi-types.c: visiter function for a particular c type, used
to automagically convert qobjects into the
This is the code generator for qapi types. It will generation the
following files:
$(prefix)qapi-types.h - C types corresponding to types defined in
the schema you pass in
$(prefix)qapi-types.c - Cleanup functions for the above C types
The $(prefix) is used to as a n
Signed-off-by: Michael Roth
---
qlist.h | 10 ++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/qlist.h b/qlist.h
index dbe7b92..13f22eb 100644
--- a/qlist.h
+++ b/qlist.h
@@ -50,4 +50,14 @@ QObject *qlist_peek(QList *qlist);
int qlist_empty(const QList *qlist);
QLis
From: Anthony Liguori
GLib is an extremely common library that has a portable thread implementation
along with tons of other goodies.
GLib and GObject have a fantastic amount of infrastructure we can leverage in
QEMU including an object oriented programming infrastructure.
Short term, it has a
Signed-off-by: Michael Roth
---
scripts/ordereddict.py | 128 ++
scripts/qapi.py| 181
2 files changed, 309 insertions(+), 0 deletions(-)
create mode 100644 scripts/ordereddict.py
create mode 100644 scri
Signed-off-by: Michael Roth
---
Makefile.objs |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Makefile.objs b/Makefile.objs
index c49e44c..0803297 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -15,6 +15,7 @@ oslib-obj-$(CONFIG_POSIX) += oslib-posix.o qemu-thread-posi
From: Anthony Liguori
Signed-off-by: Michael Roth
---
Makefile.objs |2 +-
error.c |1 +
qerror-report.c | 139 +++
qerror.c| 178 +++---
qerror.h|7 ++
5 files chang
Signed-off-by: Michael Roth
---
error.c | 131 +++
error.h | 70 +++
error_int.h | 27
3 files changed, 228 insertions(+), 0 deletions(-)
create mode 100644 error.c
create mode 100644
These apply on top of master, and can also be obtained from:
git://repo.or.cz/qemu/mdroth.git qapi_round1_v1
These patches are a backport of some of the QAPI-related work from Anthony's
glib tree. The main goal is to get the basic code generation infrastructure in
place so that it can be used by t
On Tue, May 17, 2011 at 18:17, Peter Maydell wrote:
> On 17 May 2011 22:10, Mike Frysinger wrote:
>> --- a/.gitignore
>> +++ b/.gitignore
>> @@ -58,6 +58,10 @@ QMP/qmp-commands.txt
>> *.orig
>> .pc
>> patches
>> +*.diff
>> +*.patch
>> +*.rej
>> +*.orig
>> pc-bios/bios-pq/status
>> pc-bios/vgab
Signed-off-by: Mike Frysinger
---
v2
- drop *.orig as it has been merged already
.gitignore |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
index 08013fc..790dc12 100644
--- a/.gitignore
+++ b/.gitignore
@@ -58,6 +58,9 @@ QMP/qmp-command
Some architectures (like Blackfin) only implement pselect6 (and skip
select/newselect). So add support for it using existing newselect code.
Signed-off-by: Mike Frysinger
---
linux-user/syscall.c | 145 +++---
1 files changed, 126 insertions(+), 19 d
On 05/17/2011 04:58 PM, Serge E. Hallyn wrote:
Quoting Stefan Berger (stef...@linux.vnet.ibm.com):
This patch adds support for TPM command line options.
The command line supported here (considering the libtpms based
backend) are
./qemu-... -tpm type=,path=,
Hm, I did
kvm -tpm type=builtin,pat
On 05/17/2011 04:58 PM, Serge E. Hallyn wrote:
Quoting Stefan Berger (stef...@linux.vnet.ibm.com):
This patch adds support for TPM command line options.
The command line supported here (considering the libtpms based
backend) are
./qemu-... -tpm type=,path=,
Hm, I did
kvm -tpm type=builtin,pat
On 05/16/2011 11:23 AM, Jagane Sundar wrote:
Hello Dor,
Let me see if I understand live snapshot correctly:
If I want to configure a VM for daily backup, then I would do
the following:
- Create a snapshot s1. s0 is marked read-only.
- Do a full backup of s0 on day 0.
- On day 1, I would create a
See ISA, 4.4.3 for details.
Vector addresses recorded in core configuration are absolute values that
correspond to default VECBASE value.
Signed-off-by: Max Filippov
---
target-xtensa/cpu.h |2 ++
target-xtensa/helper.c| 18 --
target-xtensa/translate.c |1 +
See ISA, 4.4.4 for details.
Correct (aligned as per ISA) address for unaligned access is generated
in case this option is not enabled.
Signed-off-by: Max Filippov
---
target-xtensa/translate.c | 33 +++--
1 files changed, 31 insertions(+), 2 deletions(-)
diff --gi
- mark privileged opcodes with ring check;
- make debug exception on exception handler entry.
Signed-off-by: Max Filippov
---
RFC -> PATCH changes:
- make privilege_check based on mem_index;
---
cpu-exec.c|6 +++
target-xtensa/cpu.h | 103 ++
All operations in this group are no-ops, because there are no delayed
side effects.
Signed-off-by: Max Filippov
---
target-xtensa/translate.c | 31 ++-
1 files changed, 30 insertions(+), 1 deletions(-)
diff --git a/target-xtensa/translate.c b/target-xtensa/translat
Signed-off-by: Max Filippov
---
hw/xtensa_sample.c|1 +
target-xtensa/cpu.h |2 ++
target-xtensa/translate.c |7 +++
3 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/hw/xtensa_sample.c b/hw/xtensa_sample.c
index b818fed..0657b65 100644
--- a/hw/xtensa_
- base + offset load/store operations for 1/2/4 byte values;
- cache operations (not implemented);
- multiprocessor synchronization operations.
Signed-off-by: Max Filippov
---
target-xtensa/cpu.h |1 +
target-xtensa/translate.c | 88 +
2 fi
See ISA, 4.7.1.3 for details.
Window check is inserted before commands that push "used register
watermark" beyond its current level. Used register watermark is reset on
instructions that change WINDOW_BASE/WINDOW_START SRs.
Signed-off-by: Max Filippov
---
target-xtensa/translate.c | 105 ++
See ISA, 4.4.6 (interrupt option), 4.4.7 (high priority interrupt
option) and 4.4.8 (timer interrupt option) for details.
Signed-off-by: Max Filippov
---
RFC -> PATCH changes:
- halt CPU on waiti, use qemu timer to wake up on CCOMPARE match;
- advance CCOUNT on TB exit, on exception and on RSR.CC
Special Registers hold the majority of the state added to the processor
by the options. See ISA, 5.3 for details.
User Registers hold state added in support of designer's TIE and in some
cases of options that Tensilica provides. See ISA, 5.4 for details.
Only registers mapped in sregnames or ureg
See ISA, 4.3.3 for details.
TB flag XTENSA_TBFLAG_LITBASE is used to track enable bit of LITBASE SR.
Signed-off-by: Max Filippov
---
RFC -> PATCH changes:
- add XTENSA_TBFLAG_LITBASE, use it in L32R;
---
target-xtensa/cpu.h |6 ++
target-xtensa/helper.c|1 +
target-xtensa/
Tensilica iss provides support for applications running in freestanding
environment through SIMCALL command. It is used by Tensilica libc to
access argc/argv, for file I/O, etc.
Signed-off-by: Max Filippov
---
RFC -> PATCH changes:
- use -semihosting to implement SIMCALL;
- fix user memory manipu
Group SNM0 (indirect jumps and calls).
Signed-off-by: Max Filippov
---
target-xtensa/translate.c | 43 +++
1 files changed, 43 insertions(+), 0 deletions(-)
diff --git a/target-xtensa/translate.c b/target-xtensa/translate.c
index 3b9ce91..0a43ec0 100644
Signed-off-by: Max Filippov
---
target-xtensa/translate.c | 60 -
1 files changed, 59 insertions(+), 1 deletions(-)
diff --git a/target-xtensa/translate.c b/target-xtensa/translate.c
index 7deda1b..8933e5a 100644
--- a/target-xtensa/translate.c
+++ b
See ISA, 4.3.2 for details.
Operations that change LEND SR value invalidate TBs at the old and at
the new LEND. LEND value at TB compilation time is considered constant
and loop instruction is generated based on this value.
Invalidation may be avoided for the TB at the old LEND address, since
loo
- BZ (comparison to zero);
- BI0 (comparison to signed immediate);
- BI1 (comparison to unsigned immediate);
- B (two registers comparison, bit sets comparison);
- BEQZ.N/BNEZ.N (narrow comparison to zero).
Signed-off-by: Max Filippov
---
RFC -> PATCH changes:
- extract common branching code into
- ST1: SAR (shift amount special register) manipulation, NSA(U);
- RST1: shifts, 16-bit multiplication.
Signed-off-by: Max Filippov
---
RFC -> PATCH changes:
- make NSA/NSAU helpers;
- optimize shifts for 5 bit wide SAR;
---
target-xtensa/cpu.h |4 +
target-xtensa/helpers.h |2 +
All operations in this group are no-ops, because cache ought to be
transparent to applications. However cache may be abused, then we'll
need to actually implement these opcodes.
Signed-off-by: Max Filippov
---
target-xtensa/translate.c | 95 -
1 file
NEG and ABS are the only members of RT0 group.
Signed-off-by: Max Filippov
---
target-xtensa/translate.c | 19 +++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/target-xtensa/translate.c b/target-xtensa/translate.c
index d27a47c..41ac4f2 100644
--- a/target-xt
See ISA, 4.7.1 for details.
Physical registers and currently visible window are separate fields in
CPUEnv. Only current window is accessible to TCG. On operations that
change window base helpers copy current window to and from physical
registers.
Window overflow check described in 4.7.1.3 is in s
- access to Special Registers (wsr, rsr);
- access to User Registers (wur, rur);
- misc. operations option (value clamp, sign extension, min, max);
- conditional moves.
Signed-off-by: Max Filippov
---
RFC -> PATCH changes:
- optimize SEXT from bits 7 and 15;
---
target-xtensa/translate.c | 161
Set up disas_xtensa_insn switch structure, mark required options on high
level groups. Implement arithmetic/bit logic/jump/call0.
Implement code generation loop with single step/breakpoint checking.
Signed-off-by: Max Filippov
---
RFC -> PATCH changes:
- put gen_exit_tb into else clause in gen_j
Instructions with op0 >= 8 are 2 bytes long, others are 3 bytes long.
Signed-off-by: Max Filippov
---
target-xtensa/translate.c | 54 +
1 files changed, 54 insertions(+), 0 deletions(-)
diff --git a/target-xtensa/translate.c b/target-xtensa/translat
Reserved opcodes must generate illegal instruction exception. Usually
they signal emulation quality problems.
Not implemented opcodes are good to see.
Signed-off-by: Max Filippov
---
target-xtensa/translate.c | 110 -
1 files changed, 109 insertions(+
Sample board and sample CPU core are used for debug and may be used for
development of custom SoC emulators.
This board has two fixed size memory regions for DTCM and ITCM and
variable length SRAM region.
Signed-off-by: Max Filippov
---
Makefile.target|1 +
hw/xtensa_sample.c | 99 +++
Signed-off-by: Max Filippov
---
RFC -> PATCH changes:
- remove cpu_reset from cpu_xtensa_init;
---
Makefile.target |2 +
arch_init.c |2 +
arch_init.h |1 +
cpu-exec.c|4 ++
elf.h |2 +
hw/xtensa_pic.c
Signed-off-by: Max Filippov
---
configure| 12 +++-
default-configs/xtensa-softmmu.mak |1 +
default-configs/xtensaeb-softmmu.mak |1 +
3 files changed, 13 insertions(+), 1 deletions(-)
create mode 100644 default-configs/xtensa-softmmu.mak
create
This series adds support for Tensilica Xtensa target.
Overall RFC -> PATCH changes:
- implement TB chaining;
- replace stray printfs with qemu_logs;
- consolidate big endianness support with corresponding little endianness
counterparts;
- removed gdbstub patch from this series, will post a separa
On 17 May 2011 22:10, Mike Frysinger wrote:
> --- a/.gitignore
> +++ b/.gitignore
> @@ -58,6 +58,10 @@ QMP/qmp-commands.txt
> *.orig
> .pc
> patches
> +*.diff
> +*.patch
> +*.rej
> +*.orig
> pc-bios/bios-pq/status
> pc-bios/vgabios-pq/status
> pc-bios/optionrom/linuxboot.bin
Er, *.orig is a
Signed-off-by: Mike Frysinger
---
.gitignore |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
index 306baee..e5a51f3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,6 +11,7 @@ trace-dtrace.dtrace
*-darwin-user
*-linux-user
*-bsd-user
+libcacard/v
Signed-off-by: Mike Frysinger
---
.gitignore |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
index e6557c3..306baee 100644
--- a/.gitignore
+++ b/.gitignore
@@ -35,6 +35,8 @@ qemu-io
qemu-monitor.texi
QMP/qmp-commands.txt
.gdbinit
+.gdb_history
Signed-off-by: Mike Frysinger
---
.gitignore |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
index 08013fc..e6557c3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -58,6 +58,10 @@ QMP/qmp-commands.txt
*.orig
.pc
patches
+*.diff
+*.patch
+*.rej
+*
Older gcc compilers do not support -Wendif-labels, so move it from the
hardcoded list to the dynamically detected list.
Signed-off-by: Mike Frysinger
---
configure |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 019bc8d..8b775a4 100755
---
Quoting Stefan Berger (stef...@linux.vnet.ibm.com):
> This patch adds support for TPM command line options.
> The command line supported here (considering the libtpms based
> backend) are
>
> ./qemu-... -tpm type=,path=,
Hm, I did
kvm -tpm type=builtin,path=tpm.img -m 1G disk.img -vnc :1
with d
On 05/17/11 14:39, Blue Swirl wrote:
> The development history (implement a feature, fix bugs, implement
> another, fix bugs etc) is not interesting and pulling it would make
> bisection and other bugfixing more difficult. The patches should not
> add known broken features and fix them next.
>
>
On Tue, May 17, 2011 at 8:32 PM, Boris Derzhavets
<723...@bugs.launchpad.net> wrote:
> Also in meantime git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git
This is not QEMU tree, but qemu-kvm. They are not the same.
On Tue, May 17, 2011 at 5:47 AM, David Ahern wrote:
>
>
> On 05/16/11 13:56, Gerd Hoffmann wrote:
>> This patch finally merges the EHCI host adapter aka USB 2.0 support.
>>
>> Based on git://git.kiszka.org/qemu.git ehci
>>
>> Changes:
>> - Adapt to recent changes in the usb subsystem.
>> - Don
On Tue, May 17, 2011 at 9:46 PM, Aurelien Jarno wrote:
> On Sat, May 14, 2011 at 10:38:40PM +0300, Blue Swirl wrote:
>> Use stack instead of temp_buf array in CPUState for TCG
>> temps.
>>
>> Signed-off-by: Blue Swirl
>> ---
>> tcg/i386/tcg-target.c | 19 ++-
>> 1 files changed
Continuing with my set of patches I sent long time ago to get traces
from guest code [1], the next (and almost final) step is to be able to
set a different CPI (cycles per instruction) value for each vCPU.
The first and simplest question is to know if icount could be easily
enabled on non-softmmu
On Tue, May 17, 2011 at 6:32 PM, Julien Grall wrote:
> Fix TA0_SHUTDOWN feature
But what would be the bug?
> Signed-off-by: Julien Grall
> ---
> target-sparc/op_helper.c | 13 +++--
> target-sparc/translate.c | 9 +
> 2 files changed, 12 insertions(+), 10 deletions(-)
>
>
On Tue, May 17, 2011 at 5:52 PM, Peter Maydell wrote:
> On 14 May 2011 20:36, Blue Swirl wrote:
>
>> +#if defined(__i386__)
>
>> +#elif defined(__x86_64__)
>
>> +#elif defined(_ARCH_PPC)
>
>> +#elif defined(__alpha__)
>
>> +#elif defined(__sparc__)
>
>> +#elif defined(__arm__)
>
>> +#elif defined
Rearrange the code so that we can avoid V9fsRemoveState
and additional malloc()s.
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 25 ++---
hw/9pfs/virtio-9p.h |6 --
2 files changed, 10 insertions(+), 21 deletions(-)
diff --git a/hw/9pfs/virtio-9
On 05/15/2011 09:43 AM, Sassan Panahinejad wrote:
In a lot of cases, the handling of errors was quite ugly.
This patch moves reading of errno to immediately after the system calls and
passes it up through the system more cleanly.
Also, in the case of the xattr functions (and possibly others), co
This patch is originally made by Arun Bharadwaj for glib support.
Later Harsh Prateek Bora added coroutines support.
This version implemented with suggestions from
Stefan Hajnoczi .
Signed-off-by: Arun R Bharadwaj
Signed-off-by: Harsh Prateek Bora
Signed-off-by: Venkateswararao Jujjuri "
---
Ma
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/cofs.c | 21 +
hw/9pfs/virtio-9p-coth.h |2 ++
2 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/hw/9pfs/cofs.c b/hw/9pfs/cofs.c
index 42
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 26 +++---
1 files changed, 7 insertions(+), 19 deletions(-)
diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c
index 89fe652..a79ec72 100644
--- a/hw/9pfs/virtio-9p.c
+++ b/hw/9pfs/virtio-9p.c
@@ -2577,2
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/cofs.c | 14 ++
hw/9pfs/virtio-9p-coth.h |1 +
hw/9pfs/virtio-9p.c | 11 ++-
3 files changed, 17 insertions(+), 9 deletions(-)
diff --git a/hw/9pfs/cofs.c b/hw/9pfs/cofs.c
index af7b78e..af17077 100644
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 88 +-
1 files changed, 30 insertions(+), 58 deletions(-)
diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c
index 465
Rearrange the code so that we can avoid V9fsReadLinkState.
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 25 ++---
hw/9pfs/virtio-9p.h |7 ---
2 files changed, 10 insertions(+), 22 deletions(-)
diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/codir.c | 19 +++
hw/9pfs/virtio-9p-coth.h |1 +
hw/9pfs/virtio-9p.c | 28 ++--
3 files changed, 26 insertions(+), 22 deletions(-)
diff --git a/hw/9pfs/codir.c b/hw/9pfs/codir.c
inde
From: Aneesh Kumar K.V
This include chmod, utimensat, chown and truncate.
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/cofs.c | 64 ++
hw/9pfs/virtio-9p-coth.h |4 +++
2 files changed, 68 insert
From: Aneesh Kumar K.V
This include llistxattr and lgetxattr.
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
Makefile.objs|1 +
hw/9pfs/coxattr.c| 50 ++
hw/9pfs/virtio-9p-coth.h |3 ++
3 fi
Signed-off-by: Venkateswararao Jujjuri "
---
Makefile.objs|2 +-
hw/9pfs/cofs.c | 42 ++
hw/9pfs/virtio-9p-coth.h |1 +
hw/9pfs/virtio-9p.c | 27 ---
hw/9pfs/virtio-9p.h |3 ++-
5 files
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 163 +--
hw/9pfs/virtio-9p.h |8 ---
2 files changed, 54 insertions(+), 117 deletions(-)
diff --git a/hw/9pfs/virtio-9p
This patch changes the top level handlers to coroutines and sets the base.
It will be followed up with series of patches to convert all filesystem
calls to threaded coroutines pushing all blocking clals in VirtFS out
of vcpu threads.
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p-
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 52 --
1 files changed, 13 insertions(+), 39 deletions(-)
diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c
index 25831c3..82e5490 100644
--- a/hw/9pfs/virtio-9p.c
+++ b/hw/9p
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/cofs.c | 14 ++
hw/9pfs/virtio-9p-coth.h |1 +
2 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/hw/9pfs/cofs.c b/hw/9pfs/cofs.c
index 6d94673..f
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 53 +--
hw/9pfs/virtio-9p.h | 11 --
2 files changed, 26 insertions(+), 38 deletions(-)
diff --git a/hw/9pfs/vir
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 198 ---
1 files changed, 63 insertions(+), 135 deletions(-)
diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c
index f
Rearrange the code so that we can avoid V9fsMkState and additional malloc()s.
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 38 +-
1 files changed, 17 insertions(+), 21 deletions(-)
diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
Makefile.objs|2 +-
hw/9pfs/cofile.c | 32
hw/9pfs/virtio-9p-coth.h |1 +
3 files changed, 34 insertions(+), 1 deletions(-)
create
From: Aneesh Kumar K.V
Signed-off-by: Aneesh Kumar K.V
Signed-off-by: Venkateswararao Jujjuri "
---
hw/9pfs/virtio-9p.c | 170 +--
1 files changed, 69 insertions(+), 101 deletions(-)
diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c
index 4
VirtFS (fileserver base on 9P) performs many blocking system calls in the
vCPU context. This effort is to move the blocking calls out of vCPU/IO
thread context, into asynchronous threads.
Anthony's " Add hard build dependency on glib" patch and
Kevin/Stefan's coroutine effort is a prerequisite.
1 - 100 of 241 matches
Mail list logo