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
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
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
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
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 +++--
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 >
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
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/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 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
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
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
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
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 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
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
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
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
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
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
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
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
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
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
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-
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
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
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
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
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
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
> -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;
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
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 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 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 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
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 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
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 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 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 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 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 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
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
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
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
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
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
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
101 - 151 of 151 matches
Mail list logo