On 03/07/2012 10:08 AM, Peter Maydell wrote:
> If you look at the whole change, rather than just the
> fragment Stefan quoted to comment on:
>
> # Print a helpful header at the top of config.log
> echo "# QEMU configure log $(date)" >> config.log
> -echo "# produced by $0 $*" >> config.log
> +pr
On Wed, 2012-03-07 at 14:43 +0200, Gleb Natapov wrote:
> On Tue, Mar 06, 2012 at 05:13:36PM -0700, Alex Williamson wrote:
> > Here's a re-work of the patch that added _STA for the purpose of
> > using it as an ack from the guest. Instead of that, add a notifier
> > for device access. Once the gue
On 7 March 2012 17:14, Avi Kivity wrote:
> This still breaks if an argument has a single quote. bash's printf's %q
> deals with this correctly, but not sure how portable it is.
True, but we've lived with it for the code that writes to config-host.mak
since 2008 (commit fd69fe2b)...
-- PMM
On 03/07/2012 03:59 PM, Dmitry Zamaruev wrote:
> Hi,
>
> I'm trying to emulate BIOS Flash chip (something Intel FWH compatible)
> on PC target (i386-softmmu) and to verify possibility of such
> emulation I first tried to use pflash_cfi02 example from PPC platform.
So is Jordan (copied).
> Trying
Il 07/03/2012 17:36, Luiz Capitulino ha scritto:
> Hi there,
>
> In the last few weeks we've had some proposals for new QMP commands that need
> to be asynchronous. As we lack a standard asynchronous API today, each command
> ends up adding its own way to execute in the background.
>
> This multi
On 03/07/2012 11:29 AM, Paolo Bonzini wrote:
Il 07/03/2012 17:36, Luiz Capitulino ha scritto:
Hi there,
In the last few weeks we've had some proposals for new QMP commands that need
to be asynchronous. As we lack a standard asynchronous API today, each command
ends up adding its own way to exec
On Mon, 5 Mar 2012 21:41:02 -0300
Luiz Capitulino wrote:
> On Mon, 05 Mar 2012 17:12:00 +0800
> Wen Congyang wrote:
>
> > At 03/02/2012 05:59 PM, Wen Congyang Wrote:
> > > Hi, all
> > >
> > > 'virsh dump' can not work when host pci device is used by guest. We have
> > > discussed this issue he
On Wed, Mar 7, 2012 at 08:51, Dmitry Zamaruev wrote:
> On Wed, Mar 7, 2012 at 6:32 PM, Avi Kivity wrote:
>> On 03/07/2012 03:59 PM, Dmitry Zamaruev wrote:
>>> I'm trying to emulate BIOS Flash chip (something Intel FWH compatible)
>>> on PC target (i386-softmmu) and to verify possibility of such
>
On Tue, 28 Feb 2012 15:51:32 +
Stefano Stabellini wrote:
> Set runstate to RUN_STATE_INMIGRATE as soon as we can on resume.
>
> Signed-off-by: Stefano Stabellini
Would be nice to explain why, but I suggested this myself so:
Acked-by: Luiz Capitulino
> ---
> vl.c |2 +-
> 1 files c
On Mon, 5 Mar 2012 15:13:27 +0200
Alon Levy wrote:
> Signed-off-by: Alon Levy
Applied both patches to the qmp branch, thanks.
> ---
> qapi-schema.json | 14 --
> 1 files changed, 8 insertions(+), 6 deletions(-)
>
> v1->v2:
> - Fixes wrong indentation for second spice channel-
On 14 February 2012 09:27, Avi Kivity wrote:
> Instead of storing PhysPageDesc, store pointers to MemoryRegionSections.
> The various offsets (phys_offset & ~TARGET_PAGE_MASK,
> PHYS_OFFSET & TARGET_PAGE_MASK, region_offset) can all be synthesized
> from the information in a MemoryRegionSection.
On Wed, Mar 7, 2012 at 9:00 AM, Jason Baron wrote:
> + if (vma_name) {
> + if ((strcmp(vma_name, "[vdso]") == 0) ||
> + (strcmp(vma_name, "[vectors]") == 0) ||
> + (strcmp(vma_name, "[vsyscall]") == 0))
That's just disgusting.
Linux really looks only at scsi->errors. Arguably it is their bug,
but we can make it safe for older guests now.
Signed-off-by: Paolo Bonzini
---
hw/virtio-blk.c | 48 +++-
1 files changed, 23 insertions(+), 25 deletions(-)
diff --git a/hw/virtio-b
VIRTIO_BLK_F_SCSI is supposed to mean whether the host can *parse*
SCSI requests, not *execute* them. So it should always be enabled,
and the scsi=on/off property tied to a separate configuration variable
that is not guest visible.
With this change, Linux has problems understanding failed request
Signed-off-by: Paolo Bonzini
---
hw/s390-virtio-bus.c |7 +++
hw/s390-virtio-bus.h |4 ++--
hw/virtio-blk.c | 28 ++--
hw/virtio-blk.h |7 +++
hw/virtio-pci.c |8 +++-
hw/virtio-pci.h |4 ++--
hw/virtio.h |
VIRTIO_BLK_F_SCSI is supposed to mean whether the host can *parse* SCSI
requests, not *execute* them. We need to change this to fix a migration
compatibility problem related to the version of *management* (hence
unrelated to the QEMU machine type), so we must do this unconditionally
even on older
On Wed, 07 Mar 2012 11:36:06 -0600
Anthony Liguori wrote:
> On 03/07/2012 11:29 AM, Paolo Bonzini wrote:
> > Il 07/03/2012 17:36, Luiz Capitulino ha scritto:
> >> Hi there,
> >>
> >> In the last few weeks we've had some proposals for new QMP commands that
> >> need
> >> to be asynchronous. As we
On Wed, Mar 07, 2012 at 10:20:49AM -0700, Alex Williamson wrote:
> On Wed, 2012-03-07 at 14:43 +0200, Gleb Natapov wrote:
> > On Tue, Mar 06, 2012 at 05:13:36PM -0700, Alex Williamson wrote:
> > > Here's a re-work of the patch that added _STA for the purpose of
> > > using it as an ack from the gue
On 7 March 2012 17:49, Peter Maydell wrote:
> git bisect blames this commit (5312bd8b3) for causing a Linux kernel
> on spitz to produce a bunch of pxa2xx_i2c warnings that weren't
> being emitted before:
What seems to happen here is that we register a memory region
(this is for the second i2c de
> well, sure, we can provide an arch interface, for this check. I'm more
> concerned with the general idea. If it seems ok, I can re-do this bit
> with an arch interface.
Anything based on strcmp is dismal. VM_ALWAYSDUMP was nice and clean.
A hook along the lines of arch_vma_name would be clean e
On Wed, 2012-03-07 at 20:59 +0200, Gleb Natapov wrote:
> On Wed, Mar 07, 2012 at 10:20:49AM -0700, Alex Williamson wrote:
> > On Wed, 2012-03-07 at 14:43 +0200, Gleb Natapov wrote:
> > > On Tue, Mar 06, 2012 at 05:13:36PM -0700, Alex Williamson wrote:
> > > > Here's a re-work of the patch that adde
On Wed, 7 Mar 2012, Brian Jackson wrote:
I think most people trying to use qemu for anything useful have given
up on if=scsi. Some distros even disable support because they don't
want to QA it. That should be a decent sign that you may want to avoid
it.
OK, but SAS (Serial attached SCSI) is tec
On Wed, Mar 07, 2012 at 11:36:06AM -0600, Anthony Liguori wrote:
> On 03/07/2012 11:29 AM, Paolo Bonzini wrote:
> >Il 07/03/2012 17:36, Luiz Capitulino ha scritto:
> >>Hi there,
> >>
> >>In the last few weeks we've had some proposals for new QMP commands that
> >>need
> >>to be asynchronous. As we
On Wed, 2012-03-07 at 10:19 +0100, Paolo Bonzini wrote:
> Il 07/03/2012 01:14, Alex Williamson ha scritto:
> > +void pci_host_remove_dev_probe_notifier(Notifier *notify)
> > +{
> > +notifier_list_remove(&pci_host_dev_probe_notifiers, notify);
> > +}
> > +
>
> Looks like qemu-kvm needs a merge.
On Wed, Mar 07, 2012 at 12:51:48PM -0700, Alex Williamson wrote:
> On Wed, 2012-03-07 at 20:59 +0200, Gleb Natapov wrote:
> > On Wed, Mar 07, 2012 at 10:20:49AM -0700, Alex Williamson wrote:
> > > On Wed, 2012-03-07 at 14:43 +0200, Gleb Natapov wrote:
> > > > On Tue, Mar 06, 2012 at 05:13:36PM -070
A few of the vDSO VM_ALWAYSDUMP cases have a comment about the core dump.
(It looks like they were all copied from my original comment in
arch/x86/vdso/vdso32-setup.c.) So those should be removed where they are.
(You removed some of them, but not all.) You should put that comment into
always_dump
Am 06.03.2012 08:41, schrieb Jan Kiszka:
On 2012-03-05 10:06, Jan Kiszka wrote:
Grmbl. Was very hard to reproduce here (triggered once every few hours
with lots of interaction beforehand), but now I think I got the point
(recursion of if_start due to if_encap). Will rework the code to address
th
On Wed, 2012-03-07 at 23:00 +0200, Gleb Natapov wrote:
> On Wed, Mar 07, 2012 at 12:51:48PM -0700, Alex Williamson wrote:
> > On Wed, 2012-03-07 at 20:59 +0200, Gleb Natapov wrote:
> > > On Wed, Mar 07, 2012 at 10:20:49AM -0700, Alex Williamson wrote:
> > > > On Wed, 2012-03-07 at 14:43 +0200, Gleb
On 3/7/2012 4:19 PM, Jason Baron wrote:
> On Wed, Mar 07, 2012 at 11:43:02AM -0800, Roland McGrath wrote:
>>> well, sure, we can provide an arch interface, for this check. I'm more
>>> concerned with the general idea. If it seems ok, I can re-do this bit
>>> with an arch interface.
>> Anything base
Is this patch okay? The first version had some comments, and now the
v2 has been a bit too silent, not sure if that's a good sign or a bad
sign.
Thanks & sorry!
On Tue, Feb 28, 2012 at 12:25, Alex Barcelo wrote:
> This series of patches implements coroutines method with
> sigaltstack.
>
> The fl
On 7 March 2012 22:01, Alex Barcelo wrote:
> Is this patch okay? The first version had some comments, and now the
> v2 has been a bit too silent, not sure if that's a good sign or a bad
> sign.
Did you see the comment I added to an earlier thread regarding
FORTIFY_SOURCE?
I think in general my o
On Wed, Mar 07, 2012 at 02:44:13PM -0700, Alex Williamson wrote:
> On Wed, 2012-03-07 at 23:00 +0200, Gleb Natapov wrote:
> > On Wed, Mar 07, 2012 at 12:51:48PM -0700, Alex Williamson wrote:
> > > On Wed, 2012-03-07 at 20:59 +0200, Gleb Natapov wrote:
> > > > On Wed, Mar 07, 2012 at 10:20:49AM -070
Thanks a lot for the explanations, Daniel.
Comments about specific items inline.
On Wed, Mar 07, 2012 at 02:18:28PM +, Daniel P. Berrange wrote:
> > I have two main points I would like to understand/discuss:
> >
> > 1) The relationship between libvirt's cpu_map.xml and the Qemu CPU model
> >
On Wed, 7 Mar 2012 12:00:46 -0500
Jason Baron wrote:
> Hi,
>
> The motivation for this change was that I was looking at a way for a qemu-kvm
> process, to exclude the guest memory from its core dump, which can be quite
> large. There are already a number of filter flags in
> /proc//coredump_filt
On Wed, Mar 7, 2012 at 23:17, Peter Maydell wrote:
> On 7 March 2012 22:01, Alex Barcelo wrote:
>> Is this patch okay? The first version had some comments, and now the
>> v2 has been a bit too silent, not sure if that's a good sign or a bad
>> sign.
>
> Did you see the comment I added to an earli
On Thu, 2012-03-08 at 00:17 +0200, Gleb Natapov wrote:
> On Wed, Mar 07, 2012 at 02:44:13PM -0700, Alex Williamson wrote:
> > On Wed, 2012-03-07 at 23:00 +0200, Gleb Natapov wrote:
> > > On Wed, Mar 07, 2012 at 12:51:48PM -0700, Alex Williamson wrote:
> > > > On Wed, 2012-03-07 at 20:59 +0200, Gleb
On 7 March 2012 22:44, Alex Barcelo wrote:
> On Wed, Mar 7, 2012 at 23:17, Peter Maydell wrote:
>> Did you see the comment I added to an earlier thread regarding
>> FORTIFY_SOURCE?
>
> Sorry about that! Yes, I got the comment mixed between some other
> threads, and now I was checking and didn't r
On 03/07/2012 03:26 PM, Eduardo Habkost wrote:
> Thanks a lot for the explanations, Daniel.
>
> Comments about specific items inline.
>
>>> - How can we make sure there is no confusion between libvirt and Qemu
>>> about the CPU models? For example, what if cpu_map.xml says model
>>> 'M
Hello,
I'm not sure if I found a bug in QEMU's VNC keyboard layout mapping or
if it's a general problem in the implemented VNC server:
Scenario:
QEMU started with: "-k de"
Keyboard layout in VM: de
Keyboard layout from Client OS: us
What i expect:
I type the '/' character on the Client OS (key l
Hello,
I'm not sure if I found a bug in QEMU's VNC keyboard layout mapping or
if it's a general problem in the implemented VNC server:
Scenario:
QEMU started with: "-k de"
Keyboard layout in VM: de
Keyboard layout from Client OS: us
What i expect:
I type the '/' character on the Client OS (key l
On Wed, Mar 07, 2012 at 09:59:58AM -0800, Roland McGrath wrote:
> On Wed, Mar 7, 2012 at 9:00 AM, Jason Baron wrote:
> > + if (vma_name) {
> > + if ((strcmp(vma_name, "[vdso]") == 0) ||
> > + (strcmp(vma_name, "[vectors]") == 0) ||
> > + (str
On Wed, Mar 07, 2012 at 11:43:02AM -0800, Roland McGrath wrote:
> > well, sure, we can provide an arch interface, for this check. I'm more
> > concerned with the general idea. If it seems ok, I can re-do this bit
> > with an arch interface.
>
> Anything based on strcmp is dismal. VM_ALWAYSDUMP wa
Since we no longer need the VM_ALWAYSDUMP flag, let's use the freed bit for
'VM_DONTDUMP' flag. The idea is to add a new madvise() flag: MADV_DONTDUMP,
which can be set by applications to specifically request memory regions which
should not dump core. The specific application I have in mind is qemu
Hello,
I'm not sure if I found a bug in QEMU's VNC keysymbol to scancode
mapping or if it is
a general Problem with the implemented VNC server:
Scenario:
QEMU started with: "-k de"
Keyboard layout in VM: de
Keyboard layout from Client OS: us
What i expect:
I type the '/' character on the Client
If the kernel page size is larger than TARGET_PAGE_SIZE, which
happens for example on ppc64 with kernels compiled for 64K pages,
the dirty tracking doesn't work.
Cc: Avi Kivity
Cc: Marcelo Tossatti
Signed-off-by: Benjamin Herrenschmidt
Signed-off-by: David Gibson
---
kvm-all.c |8 +--
These are patches that I've sent in before but don't seem to have been
picked up by anybody yet. Resending so they don't fall off the radar.
1, 2, and 3 of 4 in particular fix real, observed bugs on powerpc.
In kvm-all.c we store an ioctl cmd number in the irqchip_inject_ioctl field
of KVMState, which has type 'int'. This seems to make sense since the
ioctl() man page says that the cmd parameter has type int.
However, the kernel treats ioctl numbers as unsigned - sys_ioctl() takes an
unsigned int, an
On Wed, Mar 07, 2012 at 04:26:46PM -0500, Chris Metcalf wrote:
> On 3/7/2012 4:19 PM, Jason Baron wrote:
> > On Wed, Mar 07, 2012 at 11:43:02AM -0800, Roland McGrath wrote:
> >>> well, sure, we can provide an arch interface, for this check. I'm more
> >>> concerned with the general idea. If it seem
From: Benjamin Herrenschmidt
This fixes a broken endian assumption in an assertion in usb-msd.
Cc: Gerd Hoffman
Signed-off-by: Benjamin Herrenschmidt
Signed-off-by: David Gibson
---
hw/usb-msd.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/usb-msd.c b/hw/usb-
There are several paths into the code to emulate PCI config space accesses:
one for MMIO to a plain old PCI bridge one for MMIO to a PCIe bridge and
one for the pseries machine which provides para-virtualized access to PCI
config space. Each of these functions does their own bounds checking
agains
Hello everyone, I'm a newcomer here, nice to see you!
Now I get trouble in translate.c. I really want to get gpr value in
translate.c, but cpu_gpr[rs]'s type is TCGv, can not get the real value of rs.
Is the have any method or macro can made it? Thanks for your attention, have a
nice day!
Hi,
The motivation for this change was that I was looking at a way for a qemu-kvm
process, to exclude the guest memory from its core dump, which can be quite
large. There are already a number of filter flags in
/proc//coredump_filter, however, these allow one to specify 'types' of
kernel memory, n
The VM_ALWAYSDUMP flag is currently used by the coredump code to indicate that
a vma is part of a vsyscall or vdso section, and then always dump it. However,
we
can determine if a vma is in in one of these sections by using
'arch_vma_name()',
and thus re-purpose a valuable vma bit.
Signed-off-by
This adds a few previously missing generated files to .gitignore: the
qemu-bridge-helper binary, and the linuxboot and multiboot images from
pc-bios/optionrom.
Signed-off-by: David Gibson
---
.gitignore |1 +
pc-bios/optionrom/.gitignore |5 +
2 files changed, 6 ins
cache-utils.h uses the C99 standard uintptr_t type. However, that type
comes from stdint.h which is not #included before cache-utils.h in all
configurations. This patch adds the necessary include to fix this.
Signed-off-by: David Gibson
---
cache-utils.h |2 ++
1 files changed, 2 insertion
From: Wei Yang
This patch fixes two bugs in the OHCI device where the device writes
back data to system memory that should be exclusively under the
control of the guest side driver.
In OHCI specification Section 5.2.7, it mentioned "In all cases, Host
Controller Driver is responsible for the ins
Currently, the function spapr_create_phb() uses its parameters to
initialize the correct memory windows for the new PCI Host Bridge
(PHB). This is not the way things are supposed to be done with qdevs,
and means you can't create extra PHBs easily using -device.
Since pSeries machines can and do h
The pseries "xics" interrupt controller, like most interrupt
controllers can support both message (i.e. edge sensitive) interrupts
and level sensitive interrupts, but it needs to know which are which.
When I implemented the xics emulation for qemu, the only devices we
supported were the PAPR virtu
Hi Alex,
Here are the two patches from my last pseries batch which didn't go
in, updated to incorporate comments from the list.
On Sat, Mar 03, 2012 at 10:39:34AM -0600, Nathan Whitehorn wrote:
> Fix large page support in TCG. The old code would overwrite the
> large page table entry with the fake 4 KB
> one generated here whenever the ref/change bits were updated,
> causing it to point to the wrong area of memory. Instead
On Wed, Mar 07, 2012 at 02:30:28PM -0800, Andrew Morton wrote:
> On Wed, 7 Mar 2012 12:00:46 -0500
> Jason Baron wrote:
>
> > Hi,
> >
> > The motivation for this change was that I was looking at a way for a
> > qemu-kvm
> > process, to exclude the guest memory from its core dump, which can be q
image file will be created automaticly, file name is formated as:
sprintf(image_file, "%s.raw", snapshot_file);
I just add ".raw" to the file name of #1 in you comments as file name of #2.
On Wed, Mar 7, 2012 at 21:10, Stefan Hajnoczi wrote:
> On Thu, Mar 1, 2012 at 2:49 AM, Dong Xu Wang
> wro
ioapic.c:198: error: format ‘%08x’ expects type ‘unsigned int’, but argument 3
has type ‘uint64_t’
Signed-off-by: Jason Wang
---
hw/ioapic.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/ioapic.c b/hw/ioapic.c
index 3fee011..2b0e6e9 100644
--- a/hw/ioapic.c
+++ b/
On Wed, Mar 7, 2012 at 00:59, Stefan Hajnoczi wrote:
> On Thu, Mar 1, 2012 at 2:56 AM, Dong Xu Wang
> wrote:
>> diff --git a/block/add-cow-cache.c b/block/add-cow-cache.c
>> new file mode 100644
>> index 000..6be02ff
>> --- /dev/null
>> +++ b/block/add-cow-cache.c
>> @@ -0,0 +1,171 @@
>> +/*
Hi guys. For a while we have been discussing ways to make the
virtualization tests written on top of autotest useful for development
level testing.
One of our main goals is to provide useful tools for the qemu community,
since we have a good number of tests and libraries written to perform
in
Hello Fabian,
I'm having also isssues with german keymappings.
E.g. Under DOS when pressing shift keys will always be uppercase. Also
ALT-GR doesn't work.
Testcase in this order:
a => a
a => a
Shift-a => a (should be A)
a => A (should be a)
a => A (should be a)
a => A (should be a)
Shift-a =>
Am 08.03.2012 02:09, schrieb David Gibson:
cache-utils.h uses the C99 standard uintptr_t type. However, that type
comes from stdint.h which is not #included before cache-utils.h in all
configurations. This patch adds the necessary include to fix this.
Signed-off-by: David Gibson
---
cache-ut
when I use the command :
1: mkdir /my_directory
2: qemu linux.img -fda fat:floppy:/my_directory
when I write to the floppy(just "mkdir test.dir" in the floppy), the
error occur:
"FLOPPY ERROR: fdctrl_transfer_handler: writing sector 1"
and nothing is written to the /my_directory.
I don'
this patch makes trace_thread_create() to use its function arg to
initialize thread.
the other choice is to make this a function to use void arg, but i
prefer this way.
Signed-off-by: Jun Koi
diff --git a/trace/simple.c b/trace/simple.c
index bbc9930..33ae486 100644
--- a/trace/simple.c
+++ b/t
On Wed, Mar 7, 2012 at 7:39 PM, Jordan Justen wrote:
> On Wed, Mar 7, 2012 at 08:51, Dmitry Zamaruev
> wrote:
>> On Wed, Mar 7, 2012 at 6:32 PM, Avi Kivity wrote:
>>> On 03/07/2012 03:59 PM, Dmitry Zamaruev wrote:
I'm trying to emulate BIOS Flash chip (something Intel FWH compatible)
At 02/28/2012 06:20 PM, Gerd Hoffmann Wrote:
> From: Alon Levy
>
> Signed-off-by: Alon Levy
> Signed-off-by: Gerd Hoffmann
> ---
> libcacard/vcardt.h |4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/libcacard/vcardt.h b/libcacard/vcardt.h
> index 538bdde..d4d8e
On 03/07/12 20:58, Gerhard Wiesinger wrote:
> On Wed, 7 Mar 2012, Brian Jackson wrote:
>> I think most people trying to use qemu for anything useful have given
>> up on if=scsi. Some distros even disable support because they don't
>> want to QA it. That should be a decent sign that you may want to
We can know the guest is paniced when the guest runs on xen.
But we do not have such feature on kvm.
Another purpose of this feature is: management app(for example:
libvirt) can do auto dump when the guest is crashed. If management
app does not do auto dump, the guest's user can do dump by hand if
101 - 173 of 173 matches
Mail list logo