On 07/05/2011 05:21 PM, Stefan Hajnoczi wrote:
On Tue, Jul 5, 2011 at 12:03 PM, Hannes Reinecke wrote:
+static void megasas_unmap_sgl(struct megasas_cmd_t *cmd)
+{
+uint16_t flags = le16_to_cpu(cmd->frame->header.flags);
+int i, is_write = (flags& MFI_FRAME_DIR_WRITE) ? 1 : 0;
+
+f
I am attempting to develop some code for a new board and am stuck trying to
implement a working IO system. How can I stream input to my qemu-system-X
executable and, for example, get something to be output from it, say, print
to screen, without using fprintf? Thanks!
Also, what does cpu_physical_m
The Buildbot has detected a new failure on builder qmp_x86_64_debian_5_0 while
building qemu.
Full details are available at:
http://buildbot.b1-systems.de/qemu/builders/qmp_x86_64_debian_5_0/builds/25
Buildbot URL: http://buildbot.b1-systems.de/qemu/
Buildslave for this Build: b1_qemu_1
Build
On Tue, Jul 5, 2011 at 3:09 PM, Erik Rull wrote:
>
> Hi all,
>
> I want to assign multiple host cores to a VM that are then exposed there as
> only one virtual processor core. I want to maximize there the available
> computation power and the guest OS cannot handle SMP.
>
> And: How can I enable q
Doh! Missed a final build test and this little bugger slipped in. Please
apply the following patch to fix it, qapi-backport-set3-v6 has been
updated accordingly. Thanks to Matsuda Daiki for the catch/patch!
--- qemu-ga.c.orig 2011-07-06 09:03:00.656139317 +0900
+++ qemu-ga.c 2011-07-06 0
Device code some times needs to access physical memory and does that
through the ld./st._phys functions. However, these are the exact same
functions that the CPU uses to access memory, which means they will
be endianness swapped depending on the target CPU.
However, devices don't know about the CP
On 06.07.2011, at 00:22, Blue Swirl wrote:
> On Wed, Jul 6, 2011 at 1:13 AM, Alexander Graf wrote:
>>
>> On 06.07.2011, at 00:05, Blue Swirl wrote:
>>
>>> On Wed, Jul 6, 2011 at 12:55 AM, Alexander Graf wrote:
On 05.07.2011, at 23:48, Blue Swirl wrote:
> On Tue, Jul 5, 20
On Wed, Jul 6, 2011 at 12:55 AM, Alexander Graf wrote:
>
> On 05.07.2011, at 23:48, Blue Swirl wrote:
>
>> On Tue, Jul 5, 2011 at 7:28 PM, Alexander Graf wrote:
>>> Device code some times needs to access physical memory and does that
>>> through the ld./st._phys functions. However, these are the
On 05.07.2011, at 23:48, Blue Swirl wrote:
> On Tue, Jul 5, 2011 at 7:28 PM, Alexander Graf wrote:
>> Device code some times needs to access physical memory and does that
>> through the ld./st._phys functions. However, these are the exact same
>> functions that the CPU uses to access memory, whi
On Tue, Jul 5, 2011 at 7:28 PM, Alexander Graf wrote:
> We have quite some code in hw/ that uses ld./st._phys functions
> in device emulation code. This is just pure wrong, as devices
> don't know about the CPU endianness (except for virtio), so they
> should instead use something endian specific.
On 05.07.2011, at 20:19, Yoder Stuart-B08248 wrote:
>
>
>> -Original Message-
>> From: Benjamin Herrenschmidt [mailto:b...@kernel.crashing.org]
>> Sent: Thursday, June 30, 2011 7:58 PM
>> To: Yoder Stuart-B08248
>> Cc: qemu-devel@nongnu.org; Wood Scott-B07421; Alexander Graf;
>> alex.w
On Tue, Jul 5, 2011 at 4:36 PM, Raghavendra D Prabhu
wrote:
> * On Mon, Jul 04, 2011 at 11:38:30PM +0100, Peter Maydell
> wrote:
>>
>> On 4 July 2011 23:00, Raghavendra D Prabhu
>> wrote:
>>>
>>> This is to avoid gcc optimizating out the comparison in assert,
>>> due to assumption of signed over
On Wed, Jul 6, 2011 at 1:13 AM, Alexander Graf wrote:
>
> On 06.07.2011, at 00:05, Blue Swirl wrote:
>
>> On Wed, Jul 6, 2011 at 12:55 AM, Alexander Graf wrote:
>>>
>>> On 05.07.2011, at 23:48, Blue Swirl wrote:
>>>
On Tue, Jul 5, 2011 at 7:28 PM, Alexander Graf wrote:
> Device code som
Hi all,
I want to assign multiple host cores to a VM that are then exposed there as
only one virtual processor core. I want to maximize there the available
computation power and the guest OS cannot handle SMP.
And: How can I enable qemu to run on multiple host cores? I have a i7
HT enabled linux
On 06.07.2011, at 00:05, Blue Swirl wrote:
> On Wed, Jul 6, 2011 at 12:55 AM, Alexander Graf wrote:
>>
>> On 05.07.2011, at 23:48, Blue Swirl wrote:
>>
>>> On Tue, Jul 5, 2011 at 7:28 PM, Alexander Graf wrote:
Device code some times needs to access physical memory and does that
thro
On Tue, Jul 5, 2011 at 7:28 PM, Alexander Graf wrote:
> Device code some times needs to access physical memory and does that
> through the ld./st._phys functions. However, these are the exact same
> functions that the CPU uses to access memory, which means they will
> be endianness swapped dependi
On Tue, 05 Jul 2011 13:58:34 -0500
Anthony Liguori wrote:
> On 07/05/2011 01:51 PM, Luiz Capitulino wrote:
> > On Tue, 05 Jul 2011 13:33:07 -0500
> > Anthony Liguori wrote:
> >
> >> On 07/05/2011 01:17 PM, Luiz Capitulino wrote:
> >>> We need to track the VM status so that QMP can report it to c
On 07/05/2011 01:17 PM, Luiz Capitulino wrote:
We need to track the VM status so that QMP can report it to clients.
This commit adds the VMStatus type and related functions. The
vm_status_set() function is used to keep track of the current
VM status.
The current statuses are:
Which states are
On Mar 05 Jul 2011 07:08:23 Wesley W. Terpstra escribió:
> I also recently tried to get a mipsel debian/sid chroot running under my
> amd64/squeeze system. As posted by Lisandro earlier this month, it didn't
> work. ;-) There are several problems, the most glaring of which the
> attached patch fixe
> -Original Message-
> From: Benjamin Herrenschmidt [mailto:b...@kernel.crashing.org]
> Sent: Thursday, June 30, 2011 7:58 PM
> To: Yoder Stuart-B08248
> Cc: qemu-devel@nongnu.org; Wood Scott-B07421; Alexander Graf;
> alex.william...@redhat.com;
> anth...@codemonkey.ws; d...@au1.ibm.com;
Signed-off-by: Luiz Capitulino
---
block.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/block.c b/block.c
index 28df3d8..2b414ec 100644
--- a/block.c
+++ b/block.c
@@ -1695,6 +1695,10 @@ static void bdrv_print_dict(QObject *obj, void *opaque)
monitor_printf
I just checked out the ncurses source - it looks like the type of
"chtype" actually depends on how ncurses is configured at build time:
curses.h.in:
#if @cf_cv_enable_lp64@ && defined(_LP64)
typedef unsigned chtype;
typedef unsigned mmask_t;
#else
typedef unsigned @cf_cv_typeof_chtype@ chtype;
typ
Contains the last I/O status for the given device. Currently this is
only supported by ide, scsi and virtio block devices.
Signed-off-by: Luiz Capitulino
---
block.c | 15 ++-
block.h |2 +-
qmp-commands.hx |6 ++
3 files changed, 21 insertions(+), 2 del
On Tue, 05 Jul 2011 13:33:07 -0500
Anthony Liguori wrote:
> On 07/05/2011 01:17 PM, Luiz Capitulino wrote:
> > We need to track the VM status so that QMP can report it to clients.
> >
> > This commit adds the VMStatus type and related functions. The
> > vm_status_set() function is used to keep tr
Signed-off-by: Luiz Capitulino
---
hw/scsi-disk.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/hw/scsi-disk.c b/hw/scsi-disk.c
index 66037fd..7002560 100644
--- a/hw/scsi-disk.c
+++ b/hw/scsi-disk.c
@@ -137,10 +137,12 @@ static void scsi_cancel_io(SCSIRequest *req
Hi again Damjan,
On Mon, Jul 4, 2011 at 6:35 PM, Damjan Marion wrote:
>
> On Jul 4, 2011, at 6:59 PM, Alexandre Raymond wrote:
>
>> Hi Damjan,
>>
>>
>> Can you try applying the following two patches and see if it solves
>> your problem?
>>
>> http://patchwork.ozlabs.org/patch/100348/
>> http://pa
This introduces qemu-img create option for sheepdog which allows the
data to be fully preallocated (note that sheepdog always preallocates
metadata).
The option is disabled by default and you need to enable it like the
following:
qemu-img create sheepdog:test -o preallocation=full 1G
Signed-off-
On Tue, Jul 05, 2011 at 12:41:21AM -0400, Devin Nakamura wrote:
> +int bdrv_open_conversion_target(BlockDriverState **bs,
> +char *filename, char *target_fmt, QEMUOptionParameter *options)
> +{
> +BlockDriver *drv;
> +
> +drv = bdrv_find_format(target_fmt);
> +if(!drv){
Please
The new xen_console protocol changed the default xen_console output device
from whatever Qemu chose to whatever xenstore choses and "pty" as fallback.
This is not how Qemu works. It has its own serial redirection semantics. So
it xenstore doesn't contain information on what to do, Qemu is the plac
At Fri, 01 Jul 2011 10:29:09 +0200,
Kevin Wolf wrote:
>
> Am 21.05.2011 14:35, schrieb MORITA Kazutaka:
> > This introduces a qemu-img create option for sheepdog which allows the
> > data to be preallocated (note that sheepdog always preallocates
> > metadata). This is necessary to use Sheepdog v
Roughly speaking, thin provisioning is a feature where the VM is started with
a small storage and when a no space error is triggered, more space is allocated
and the VM is put to run again.
This series allows a management tool using QMP to implement thin provisioning
support. It does the following
Hi Anthony,
This is my current patch queue for Xen stuff that accumulated over
the past few weeks.
Please pull.
Alex
The following changes since commit 9312805d33e8b106bae356d13a8071fb37d75554:
Vasily Khoruzhick (1):
pxa2xx_lcd: add proper rotation support
are available in the git re
On Tue, Jul 05, 2011 at 04:37:08PM +0100, Stefan Hajnoczi wrote:
> On Tue, Jul 5, 2011 at 3:32 PM, Marcelo Tosatti wrote:
> > On Tue, Jul 05, 2011 at 04:39:06PM +0300, Dor Laor wrote:
> >> On 07/05/2011 03:58 PM, Marcelo Tosatti wrote:
> >> >On Tue, Jul 05, 2011 at 01:40:08PM +0100, Stefan Hajnocz
We need to track the VM status so that QMP can report it to clients.
This commit adds the VMStatus type and related functions. The
vm_status_set() function is used to keep track of the current
VM status.
The current statuses are:
- debug: guest is running under gdb
- inmigrate: guest is
From: Stefano Stabellini
con_init leaks the string "type", fix it.
Signed-off-by: Stefano Stabellini
Signed-off-by: Alexander Graf
---
hw/xen_console.c |8 ++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/hw/xen_console.c b/hw/xen_console.c
index c6c8163..2d613ee 10
Signed-off-by: Luiz Capitulino
---
hw/virtio-blk.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/hw/virtio-blk.c b/hw/virtio-blk.c
index bf70200..692520c 100644
--- a/hw/virtio-blk.c
+++ b/hw/virtio-blk.c
@@ -94,6 +94,7 @@ static void virtio_blk_rw_complete(void *opaq
On Fri, 1 Jul 2011 17:32:43 -0500
Anthony Liguori wrote:
> On 07/01/2011 11:43 AM, Scott Wood wrote:
> > However, we'll need to address the question of what it means to say "irq 10"
>
> It depends on what the bus is. If you're going to declare "system bus"
> which is sort of what we call ISA f
This commit adds support to the BlockDriverState type to keep track
of the last I/O status. That is, at every I/O operation we update
a status field in the BlockDriverState instance. Valid statuses are:
OK, FAILED and ENOSPC.
ENOSPC is distinguished from FAILED because an management application
ca
On Tue, 5 Jul 2011 18:41:13 +0200
Fabien Chouteau wrote:
> On 05/07/2011 18:02, Scott Wood wrote:
> > On Mon, 4 Jul 2011 17:06:54 +0200
> > Fabien Chouteau wrote:
> >> Do you mean "lapse = period - ((tb - (1 << target_bit)) & (period - 1));" ?
> >
> > Yes.
> >
> > Or more simply:
> >
> > laps
Signed-off-by: Alexander Graf
---
hw/intel-hda.c | 21 -
1 files changed, 4 insertions(+), 17 deletions(-)
diff --git a/hw/intel-hda.c b/hw/intel-hda.c
index 0ce..5a2bc3a 100644
--- a/hw/intel-hda.c
+++ b/hw/intel-hda.c
@@ -224,19 +224,6 @@ static target_phys_addr_t int
This new key reports the current VM status to clients. Please, check
the documentation being added in this commit for more details.
Signed-off-by: Luiz Capitulino
---
monitor.c |3 +--
qmp-commands.hx | 17 -
2 files changed, 17 insertions(+), 3 deletions(-)
diff --g
On 07/05/2011 01:51 PM, Luiz Capitulino wrote:
On Tue, 05 Jul 2011 13:33:07 -0500
Anthony Liguori wrote:
On 07/05/2011 01:17 PM, Luiz Capitulino wrote:
We need to track the VM status so that QMP can report it to clients.
This commit adds the VMStatus type and related functions. The
vm_status
Signed-off-by: Alexander Graf
---
hw/spapr.h |4 ++--
hw/spapr_hcall.c | 12 ++--
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/hw/spapr.h b/hw/spapr.h
index b52133a..263691b 100644
--- a/hw/spapr.h
+++ b/hw/spapr.h
@@ -280,12 +280,12 @@ target_ulong spapr_hyp
On Tue, Jul 05, 2011 at 12:41:20AM -0400, Devin Nakamura wrote:
Please use 'block' instead of 'block_int' as the tag for this patch. I
usually do git log to find out which tag is used for a
particular file. 'block_int' has never been used in qemu.git but
'block' is used on block layer changes.
Signed-off-by: Alexander Graf
---
hw/pl080.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/hw/pl080.c b/hw/pl080.c
index 901f04a..dd8139b 100644
--- a/hw/pl080.c
+++ b/hw/pl080.c
@@ -199,10 +199,10 @@ again:
if (size == 0) {
/* Trans
Signed-off-by: Luiz Capitulino
---
hw/ide/core.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/hw/ide/core.c b/hw/ide/core.c
index bf9df41..5fae4c6 100644
--- a/hw/ide/core.c
+++ b/hw/ide/core.c
@@ -473,6 +473,7 @@ void ide_sector_read(IDEState *s)
if (n >
From: Jan Kiszka
Introduce CONFIG_XEN_BACKEND so that this new config solely controls the
target-independent backend build and CONFIG_XEN can focus on per-target
building.
Signed-off-by: Jan Kiszka
Signed-off-by: Alexander Graf
---
Makefile.objs |4 ++--
Makefile.target | 13 +++--
Am 05.07.2011 06:41, schrieb Devin Nakamura:
> Signed-off-by: Devin Nakamura
> ---
> block.c | 19 +++
> block.h |2 ++
> 2 files changed, 21 insertions(+), 0 deletions(-)
>
> diff --git a/block.c b/block.c
> index 24a25d5..e7699a6 100644
> --- a/block.c
> +++ b/block.c
> @
From: Jan Kiszka
Xen won't be enabled if there is no backend support available for the
host. And that also means the map cache will work. So drop the separate
config switch and move the required stubs over to xen-stub.c.
Signed-off-by: Jan Kiszka
Signed-off-by: Alexander Graf
---
Makefile.tar
From: Stefano Stabellini
When disk is a cdrom and the drive is empty the "params" node in
xenstore might be missing completely: cope with it instead of
segfaulting.
Updated in v2:
- actually removed the strchr(blkdev->params, ':') that caused the
segfault;
- free all the allocated strings from
When having code like this:
static PCIDeviceInfo piix_ide_info[] = {
{
.qdev.name= "piix3-ide",
.qdev.size= sizeof(PCIIDEState),
.qdev.no_user = 1,
.no_hotplug = 1,
.init = pci_piix_ide_initfn,
.v
From: Stefano Stabellini
Since CS 21994 on xen-unstable.hg and CS
466608f3a32e1f9808acdf832a5843af37e5fcec on qemu-xen-unstable.git, few
changes have been introduced to the PV console xenstore protocol, as
described by the document docs/misc/console.txt under xen-unstable.hg.
>From the Qemu poin
From: Jan Kiszka
The map cache is a Xen thing, so its API should make this clear.
Signed-off-by: Jan Kiszka
Signed-off-by: Alexander Graf
---
exec.c | 18 ++
trace-events|6 +++---
xen-all.c |4 ++--
xen-mapcache-stub.c | 11 ++---
From: Stefano Stabellini
Initialize the Xen console backend and the Xen disk backend even when
running in HVM mode so that PV on HVM drivers can connect to them.
Signed-off-by: Stefano Stabellini
Signed-off-by: Alexander Graf
---
xen-all.c |8
1 files changed, 8 insertions(+), 0
From: Stefano Stabellini
Register the vkbd backend even when running as device emulator for HVM
guests: it is useful because it doesn't need a frequent timer like usb.
Check whether the XenInput DisplayState has been set in the initialise
state, rather than the input state.
In case the DisplaySt
From: Stefano Stabellini
qemu_ram_ptr_length should take ram_addr_t as argument rather than
target_phys_addr_t because is doing comparisons with RAMBlock addresses.
cpu_physical_memory_map should create a ram_addr_t address to pass to
qemu_ram_ptr_length from PhysPageDesc phys_offset.
Remove co
Signed-off-by: Alexander Graf
---
hw/msi.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/msi.c b/hw/msi.c
index e8c5607..f214fcf 100644
--- a/hw/msi.c
+++ b/hw/msi.c
@@ -249,7 +249,7 @@ void msi_notify(PCIDevice *dev, unsigned int vector)
"notify
From: Stefano Stabellini
Sometimes the toolstack uses "aio" without an additional format
identifier, in such cases use "raw".
Updated in v2:
- fix code style.
Signed-off-by: Stefano Stabellini
Signed-off-by: Alexander Graf
---
hw/xen_disk.c |3 +++
1 files changed, 3 insertions(+), 0 de
On 05/07/2011 18:02, Scott Wood wrote:
> On Mon, 4 Jul 2011 17:06:54 +0200
> Fabien Chouteau wrote:
>
>> On 01/07/2011 22:22, Scott Wood wrote:
>>> On Fri, 1 Jul 2011 16:13:41 +0200
>>> Fabien Chouteau wrote:
+static void booke_update_fixed_timer(CPUState *env,
+
Signed-off-by: Alexander Graf
---
hw/s390-virtio-bus.c | 10 +-
hw/s390-virtio.c |6 +++---
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/hw/s390-virtio-bus.c b/hw/s390-virtio-bus.c
index d4a12f7..dde6ba5 100644
--- a/hw/s390-virtio-bus.c
+++ b/hw/s390-virtio-bu
On Tue, Jul 5, 2011 at 3:32 PM, Marcelo Tosatti wrote:
> On Tue, Jul 05, 2011 at 04:39:06PM +0300, Dor Laor wrote:
>> On 07/05/2011 03:58 PM, Marcelo Tosatti wrote:
>> >On Tue, Jul 05, 2011 at 01:40:08PM +0100, Stefan Hajnoczi wrote:
>> >>On Tue, Jul 5, 2011 at 9:01 AM, Dor Laor wrote:
>> >>>I tr
Signed-off-by: Alexander Graf
---
hw/msix.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/msix.c b/hw/msix.c
index 03d7bec..e67e700 100644
--- a/hw/msix.c
+++ b/hw/msix.c
@@ -359,7 +359,7 @@ void msix_notify(PCIDevice *dev, unsigned vector)
address = pci_get_
* On Mon, Jul 04, 2011 at 11:38:30PM +0100, Peter Maydell
wrote:
On 4 July 2011 23:00, Raghavendra D Prabhu wrote:
This is to avoid gcc optimizating out the comparison in assert,
due to assumption of signed overflow being undefined by default
(-Werror=strict-overflow).
--- a/Makefile.hw
+
Device code some times needs to access physical memory and does that
through the ld./st._phys functions. However, these are the exact same
functions that the CPU uses to access memory, which means they will
be endianness swapped depending on the target CPU.
However, devices don't know about the CP
On Tue, Jul 05, 2011 at 06:04:34PM +0300, Dor Laor wrote:
> On 07/05/2011 05:32 PM, Marcelo Tosatti wrote:
> >On Tue, Jul 05, 2011 at 04:39:06PM +0300, Dor Laor wrote:
> >>On 07/05/2011 03:58 PM, Marcelo Tosatti wrote:
> >>>On Tue, Jul 05, 2011 at 01:40:08PM +0100, Stefan Hajnoczi wrote:
> On T
On Mon, 4 Jul 2011 17:06:54 +0200
Fabien Chouteau wrote:
> On 01/07/2011 22:22, Scott Wood wrote:
> > On Fri, 1 Jul 2011 16:13:41 +0200
> > Fabien Chouteau wrote:
> >> +static void booke_update_fixed_timer(CPUState *env,
> >> + uint8_t target
Signed-off-by: Alexander Graf
---
hw/hpet.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/hpet.c b/hw/hpet.c
index ef9a2a0..4eda33d 100644
--- a/hw/hpet.c
+++ b/hw/hpet.c
@@ -192,7 +192,7 @@ static void update_irq(struct HPETTimer *timer, int set)
qemu_
On Tue, Jul 5, 2011 at 12:03 PM, Hannes Reinecke wrote:
> +static void megasas_unmap_sgl(struct megasas_cmd_t *cmd)
> +{
> + uint16_t flags = le16_to_cpu(cmd->frame->header.flags);
> + int i, is_write = (flags & MFI_FRAME_DIR_WRITE) ? 1 : 0;
> +
> + for (i = 0; i < cmd->frame->header.sge_
Signed-off-by: Alexander Graf
---
hw/ppc405_uc.c | 43 +++
1 files changed, 23 insertions(+), 20 deletions(-)
diff --git a/hw/ppc405_uc.c b/hw/ppc405_uc.c
index 2ce79ee..06a053b 100644
--- a/hw/ppc405_uc.c
+++ b/hw/ppc405_uc.c
@@ -51,39 +51,42 @@ ram_add
On 07/05/2011 05:32 PM, Marcelo Tosatti wrote:
On Tue, Jul 05, 2011 at 04:39:06PM +0300, Dor Laor wrote:
On 07/05/2011 03:58 PM, Marcelo Tosatti wrote:
On Tue, Jul 05, 2011 at 01:40:08PM +0100, Stefan Hajnoczi wrote:
On Tue, Jul 5, 2011 at 9:01 AM, Dor Laor wrote:
I tried to re-arrange all
We have quite some code in hw/ that uses ld./st._phys functions
in device emulation code. This is just pure wrong, as devices
don't know about the CPU endianness (except for virtio), so they
should instead use something endian specific.
Unfortunately, there is no endian specific call to easily rec
On 30/06/2011 10:38, Fabien Chouteau wrote:
> On 28/06/2011 15:15, Stefan Hajnoczi wrote:
>> On Tue, Jun 28, 2011 at 10:08 AM, Fabien Chouteau
>> wrote:
>>> On 28/06/2011 10:34, Stefan Hajnoczi wrote:
This patch doesn't hurt but we'd be just as well off without it.
Did you do this
On 07/05/2011 03:59 PM, Paolo Bonzini wrote:
On 07/05/2011 03:38 PM, Alexander Graf wrote:
+if (is_sgl64) {
+iov_pa = ldq_phys(pa);
+} else {
+iov_pa = ldl_phys(pa);
These load data from memory in target endianness. Are you sure that's
what you want? I'd
Am 05.07.2011 16:32, schrieb Marcelo Tosatti:
> On Tue, Jul 05, 2011 at 04:39:06PM +0300, Dor Laor wrote:
>> On 07/05/2011 03:58 PM, Marcelo Tosatti wrote:
>>> On Tue, Jul 05, 2011 at 01:40:08PM +0100, Stefan Hajnoczi wrote:
On Tue, Jul 5, 2011 at 9:01 AM, Dor Laor wrote:
> I tried to re-
On Tue, Jul 05, 2011 at 04:39:06PM +0300, Dor Laor wrote:
> On 07/05/2011 03:58 PM, Marcelo Tosatti wrote:
> >On Tue, Jul 05, 2011 at 01:40:08PM +0100, Stefan Hajnoczi wrote:
> >>On Tue, Jul 5, 2011 at 9:01 AM, Dor Laor wrote:
> >>>I tried to re-arrange all of the requirements and use cases using
On Tue, Jul 05, 2011 at 10:29:36PM +0900, Isaku Yamahata wrote:
> On Mon, Jul 04, 2011 at 12:43:59PM +0300, Michael S. Tsirkin wrote:
> > +/* Mapping mandated by PCI-to-PCI Bridge architecture specification,
> > + * revision 1.2 */
> > +/* Table 9-1: Interrupt Binding for Devices Behind a Bridge */
On 07/05/2011 03:38 PM, Alexander Graf wrote:
>>
>> +if (is_sgl64) {
>> +iov_pa = ldq_phys(pa);
>> +} else {
>> +iov_pa = ldl_phys(pa);
>
> These load data from memory in target endianness. Are you sure that's
> what you want? I'd expect this to be defined
On 5 July 2011 13:07, Johannes Schauer wrote:
> About a year ago, Kenneth Johansson reported [1], that trying to do a
> debian debootstrap using qemu user emulation will fail due to the
> following error:
>
> /bin/tar: ./postinst: Cannot utime: Level 2 not synchronized
This is the result of issue
This adds the initial set of QMP/QAPI commands provided by the guest
agent:
guest-sync
guest-ping
guest-info
guest-shutdown
guest-file-open
guest-file-read
guest-file-write
guest-file-seek
guest-file-close
guest-fsfreeze-freeze
guest-fsfreeze-thaw
guest-fsfreeze-status
The input/output specificat
Anthony advised to clone
http://wiki.qemu.org/index.php?title=Features/LiveBlockMigrationFuture
to the list in order to encourage discussion, so here it is:
qemu is expected to support these features (some already implemen
Signed-off-by: Michael Roth
---
Makefile|8 +++-
test-qmp-commands.c | 113 +++
2 files changed, 120 insertions(+), 1 deletions(-)
create mode 100644 test-qmp-commands.c
diff --git a/Makefile b/Makefile
index a243c24..cbd2d77 100
On 5 July 2011 11:08, Wesley W. Terpstra wrote:
> I also recently tried to get a mipsel debian/sid chroot running under my
> amd64/squeeze system. As posted by Lisandro earlier this month, it didn't
> work. ;-) There are several problems, the most glaring of which the attached
> patch fixes.
Than
On 07/05/2011 03:58 PM, Marcelo Tosatti wrote:
On Tue, Jul 05, 2011 at 01:40:08PM +0100, Stefan Hajnoczi wrote:
On Tue, Jul 5, 2011 at 9:01 AM, Dor Laor wrote:
I tried to re-arrange all of the requirements and use cases using this wiki
page: http://wiki.qemu.org/Features/LiveBlockMigration
It
Signed-off-by: Michael Roth
---
Makefile | 18 +++-
test-visitor.c | 305
2 files changed, 321 insertions(+), 2 deletions(-)
create mode 100644 test-visitor.c
diff --git a/Makefile b/Makefile
index 42ae4e5..a243c24 100644
--- a/
This is Set 3/3 of the QAPI+QGA patchsets.
These patches apply on top of qapi-backport-set2-v5, and can also be obtained
from:
git://repo.or.cz/qemu/mdroth.git qapi-backport-set3-v6
(Set1+2 are a backport of some of the QAPI-related work from Anthony's
glib tree. The main goal is to get the basi
On 07/05/2011 01:03 PM, Hannes Reinecke wrote:
This patch adds an emulation for the LSI Megaraid SAS 8708EM2 HBA.
Signed-off-by: Hannes Reinecke
---
Makefile.objs |1 +
default-configs/pci.mak |1 +
hw/megasas.c| 1950
On Mon, Jul 04, 2011 at 12:43:59PM +0300, Michael S. Tsirkin wrote:
> +/* Mapping mandated by PCI-to-PCI Bridge architecture specification,
> + * revision 1.2 */
> +/* Table 9-1: Interrupt Binding for Devices Behind a Bridge */
> +static int pci_bridge_dev_map_irq_fn(PCIDevice *dev, int irq_num)
>
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
This is the code generator for qapi visiter functions used to
marshal/unmarshal/dealloc qapi types. It generates the following 2
files:
$(prefix)qapi-visit.c: visiter function for a particular c type, used
to automagically convert qobjects into the
This is the actual guest daemon, it listens for requests over a
virtio-serial/isa-serial/unix socket channel and routes them through
to dispatch routines, and writes the results back to the channel in
a manner similar to QMP.
A shorthand invocation:
qemu-ga -d
Is equivalent to:
qemu-ga -c v
Signed-off-by: Michael Roth
---
qapi-schema-guest.json | 204
1 files changed, 204 insertions(+), 0 deletions(-)
create mode 100644 qapi-schema-guest.json
diff --git a/qapi-schema-guest.json b/qapi-schema-guest.json
new file mode 100644
index 0
Signed-off-by: Michael Roth
---
Makefile|4 ++-
configure |1 +
qga/guest-agent-command-state.c | 73 +++
qga/guest-agent-core.h | 25 +
4 files changed, 102 insertions(+), 1 deleti
Signed-off-by: Michael Roth
---
scripts/qapi.py | 203 +++
1 files changed, 203 insertions(+), 0 deletions(-)
create mode 100644 scripts/qapi.py
diff --git a/scripts/qapi.py b/scripts/qapi.py
new file mode 100644
index 000..56af232
--- /
On 4 July 2011 23:39, andrzej zaborowski wrote:
> Patch looks good overall, but for consistency we should rename
> functions which start with omap2_gpio_module_ to omap2_gpio_ if the
> state pointer passed is no longer the module pointer but instead the
> whole thing pointer. But maybe it would m
We need this to parse dictionaries with schema ordering intact so that C
prototypes can be generated deterministically.
Signed-off-by: Michael Roth
---
scripts/ordereddict.py | 128
1 files changed, 128 insertions(+), 0 deletions(-)
create mode
On 06/30/11 18:40, Edgar E. Iglesias wrote:
On Thu, Jun 30, 2011 at 06:30:04PM +0530, Suzuki Poulose wrote:
On 06/30/11 18:02, Edgar E. Iglesias wrote:
On Thu, Jun 30, 2011 at 05:45:23PM +0530, Suzuki Poulose wrote:
Hi,
I am working on enabling the KEXEC on PPC440 chipsets. To debug my patche
Signed-off-by: Michael Roth
---
docs/qapi-code-gen.txt | 316
1 files changed, 316 insertions(+), 0 deletions(-)
create mode 100644 docs/qapi-code-gen.txt
diff --git a/docs/qapi-code-gen.txt b/docs/qapi-code-gen.txt
new file mode 100644
index 0
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
On 07/05/2011 01:03 PM, Hannes Reinecke wrote:
This patch adds an emulation for the LSI Megaraid SAS 8708EM2 HBA.
Nice, so it does work for me this time :).
Tested-by: Alexander Graf
Alex
Type of Visitor class that can be passed into a qapi-generated C
type's visitor function to free() any heap-allocated data types.
Signed-off-by: Michael Roth
---
Makefile.objs |2 +-
qapi/qapi-dealloc-visitor.c | 138 +++
qapi/qapi-deall
1 - 100 of 151 matches
Mail list logo