Currently string-output-visitor formats floats as %g, which is nice in
that trailing 0's are automatically truncated, but otherwise this causes
some issues:
- it 6 uses significant figures instead of 6 decimal places, which
means something like 155777.5 (which even has an exact floating point
Hi,
MIPS Magnum machine emulation is quite specific because it instanciates
two graphical consoles.
This has worked for a while, up to following commit which breaks it
badly (qemu crashes):
commit 3023f3329d87a6203d03a0e9ccb948772940da96
Author: aliguori
MIPS Jazz emulation registers two graphical consoles, but second one stays
black.
This patch repairs it.
Other display methods (cocoa, vnc...) also probably require the same kind of
fix.
---
console.c |3 +++
vl.c | 30 +-
2 files changed, 24
Nothing else at all accesses those files, which is one of the things that
concerned me the most :-/
It looks like it call came from the same place.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
The following changes since commit 235fe3bfd46b1104575b540d0bc3fdf584030b99:
qom: add test tools (2012-02-22 12:18:26 -0600)
are available in the git repository at:
git://github.com/mdroth/qemu.git qga-win32-pull-2-23-12
Michael Roth (8):
qemu-ga: Add schema documentation for types
Document guest agent schema types in similar fashion to qmp schema
types.
Signed-off-by: Michael Roth mdr...@linux.vnet.ibm.com
---
qapi-schema-guest.json | 118 +++-
1 files changed, 97 insertions(+), 21 deletions(-)
diff --git
Various stubs and #ifdefs to compile for Windows using mingw
cross-build. Still has 1 linker error due to a dependency on the
forthcoming win32 versions of the GAChannel/transport class.
Signed-off-by: Michael Roth mdr...@linux.vnet.ibm.com
---
Makefile |2 +-
Makefile.objs
Signed-off-by: Michael Roth mdr...@linux.vnet.ibm.com
---
Makefile.objs |2 +-
qga/commands-posix.c | 528
qga/guest-agent-commands.c | 528
3 files changed, 529 insertions(+), 529
Many of the current RPC implementations are very much POSIX-specific
and require complete re-writes for Windows. There are however a small
set of core guest agent commands that are common to both, and other
commands such as guest-file-* which *may* be portable. So we introduce
commands.c for the
This allows qemu-ga to function as a Windows service:
- to install the service (will auto-start on boot):
qemu-ga --service install
- to start the service:
net start qemu-ga
- to stop the service:
net stop qemu-ga
- to uninstall service:
qemu-ga --service uninstall
This is mostly in preparation for the win32 port, which won't use
GIO channels for reasons that will be made clearer later. Here the
GAChannel class is just a loose wrapper around GIOChannel
calls/callbacks, but we also roll in the logic/configuration for
various channel types and managing unix
Implement guest-shutdown RPC for Windows. Functionally this should be
equivalent to the posix implementation.
Original patch by Gal Hammer gham...@redhat.com
Signed-off-by: Michael Roth mdr...@linux.vnet.ibm.com
---
qga/commands-win32.c | 41 -
1 files
This adds a win32 channel implementation that makes qemu-ga functional
on Windows using virtio-serial (unix-listen/isa-serial not currently
implemented). Unlike with the posix implementation, we do not use
GIOChannel for the following reasons:
- glib calls stat() on an fd to check whether
On 02/23/2012 03:39 PM, Hervé Poussineau wrote:
MIPS Jazz emulation registers two graphical consoles, but second one stays
black.
This patch repairs it.
Other display methods (cocoa, vnc...) also probably require the same kind of
fix.
I don't think this is really the right way to solve this
Hi,
glxgears shows that vga provides much better FPS rate than cirrus (these
numbers are from RHEL 6.2 host/guest on a Lenovo laptop):
cirrus : 78 FPS
vga: 260 FPS
This makes one wonder should the default display adapter in qemu be
changed from cirrus to vga?
Thanks,
--
Marko
Hi,
I want to add a new PEX HW device emulation to QEMU, but I can't find a
skeleton/template driver or documentation that explains how to do it.
Are there any guidelines for this task?
Best regards,
S.P.
On 23 February 2012 14:36, Magnus Therning mag...@therning.org wrote:
Qemu seems to mostly ship with emulation of individual CPUs (e.g. ARM
processors) and with emulation of boards (e.g. versatile), is it also
used for emulation of SoC?
Yes. Our infrastructure for doing it in a neatly
Hello,
Qemu seems to mostly ship with emulation of individual CPUs (e.g. ARM
processors) and with emulation of boards (e.g. versatile), is it also
used for emulation of SoC?
I've looked around a bit, and found some indications of it, e.g. a
branch that allows connection between SystemC and qemu.
2012/2/23 Rajat Goyal rajat.go...@cl.cam.ac.uk:
Would QEMU developers be interested in integrating this TCG compilation
functionality that I have been working on into later releases of QEMU? The
patch I have right now breaks the original emulation but if there is some
interest in supporting
We use the old Solaris/Sparc in a medical device we produce where I
work. Since we can't get new Sparc hardware any longer (many countries
no longer accept refurbished devices - so we can't sell this product
to them when we use refurbish IT parts) that is reasonable cost for our
application,
Hi Anthony,
This series contains my current accumulated batch of qemu bugfixes
which are not ppc specific. There are small, but real, fixes from
across the codebase. Maintainers for the individual subsystems should
be CCed.
Please apply.
The guest network stack might DHCPREQUEST an address that the slirp built
in dhcp server can't let it have - for example if the guest has an old
leases file from another network configuration. In this case the dhcp
server should and does reject the request and prepares to send a DHCPNAK
to the
From: Benjamin Herrenschmidt b...@kernel.crashing.org
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 a...@redhat.com
Cc: Marcelo Tossatti mtossa...@redhat.com
These 3 patches make several cleanups to the qemu code; they affect
files across the tree, particularly 2/3.
Please apply.
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 da...@gibson.dropbear.id.au
---
.gitignore |1 +
pc-bios/optionrom/.gitignore |3
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,
From: Benjamin Herrenschmidt b...@kernel.crashing.org
This fixes a broken endian assumption in an assertion in usb-msd.
Cc: Gerd Hoffman kra...@redhat.com
Signed-off-by: Benjamin Herrenschmidt b...@kernel.crashing.org
Signed-off-by: David Gibson da...@gibson.dropbear.id.au
---
hw/usb-msd.c |
On Fri, Feb 24, 2012 at 11:36:45AM +1100, David Gibson wrote:
Currently get_image_size(), used to find the size of files, returns an int.
But for modern systems, int may be only 32-bit and we can have files
larger than that.
This patch, therefore, changes the return type of get_image_size()
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
-Original Message-
From: Paolo Bonzini [mailto:pbonz...@redhat.com]
Sent: Wednesday, February 22, 2012 7:19 PM
0) My alarm tests failed quite badly. :( I attach a patch for kvm-unit-tests
(repository at git://git.kernel.org/pub/scm/virt/kvm/kvm-unit-tests.git).
The tests can be
diff --git a/kvm-all.c b/kvm-all.c
index 5e188bf..3f8cfd9 100644
--- a/kvm-all.c
+++ b/kvm-all.c
@@ -348,10 +348,11 @@ static int kvm_set_migration_log(int enable)
static int kvm_get_dirty_pages_log_range(MemoryRegionSection *section,
unsigned long
From: Wei Yang weiy...@linux.vnet.ibm.com
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
From: Benjamin Herrenschmidt b...@kernel.crashing.org
This patch fixes several endian bugs in virtfs.
Cc: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com
Signed-off-by: Benjamin Herrenschmidt b...@kernel.crashing.org
Signed-off-by: David Gibson da...@gibson.dropbear.id.au
---
Currently get_image_size(), used to find the size of files, returns an int.
But for modern systems, int may be only 32-bit and we can have files
larger than that.
This patch, therefore, changes the return type of get_image_size() to off_t
(the same as the return type from lseek() itself). It
Public bug reported:
C:\msys\home\User\qemu\i386-softmmugdb --args qemu-system-i386.exe -L
..\pc-bios
GNU gdb (GDB) 7.3
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and
qemu_opt_find() doesn't check if opts is NULL or not before use.
The patch fixes that issue.
** Patch added: optfind_fixsegfault.patch
https://bugs.launchpad.net/qemu/+bug/939995/+attachment/2777432/+files/optfind_fixsegfault.patch
--
You received this bug notification because you are a
let me make comment on current git (v1.0-1172-g235fe3b), my XP SP3 -net dump is
attached.
You can see slirp almost not returning anything to guest (10.0.2.15), while the
outgoing packets seem to be delivered correctly.
** Attachment added: net dump from v1.0-1172-g235fe3b with XP SP3 guest
Before qemu 1.0 there was some discussion, and several patch series
proposed for adding support for guest visible IOMMU emulation to qemu.
No agreement was reached on how to do this, but a patch series did go
in preparation - a conversion of most existing PCI devices to use
helper functions for
The OHCI device emulation can provide both PCI and SysBus OHCI
implementations. Because of this, it was not previously converted to
use the PCI DMA helper functions.
This patch converts it to use the new universal DMA helper functions.
In the PCI case, it obtains its DMAContext from
Shortly before 1.0, we added helper functions / wrappers for doing PCI DMA
from individual devices. This makes what's going on clearer and means that
when we add IOMMU support somewhere in the future, only the general PCI
code will have to change, not every device that uses PCI DMA.
However,
A while back, we introduced the dma_addr_t type, which is supposed to
be used for bus visible memory addresses. At present, this is an
alias for target_phys_addr_t, but this will change when we eventually
add support for guest visible IOMMUs.
There are some instances of target_phys_addr_t in the
The AHCI device can provide both PCI and SysBus AHCI device
emulations. For this reason, it wasn't previously converted to use
the pci_dma_*() helper functions. Now that we have universal DMA
helper functions, this converts AHCI to use them.
The DMAContext is obtained from pci_dma_context() in
Not that long ago, every device implementation using DMA directly
accessed guest memory using cpu_physical_memory_*(). This meant that
adding support for a guest visible IOMMU would require changing every
one of these devices to go through IOMMU translation.
Shortly before qemu 1.0, I made a
---
dma.h |9 ++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/dma.h b/dma.h
index b8cfd1d..ee540f4 100644
--- a/dma.h
+++ b/dma.h
@@ -18,10 +18,13 @@
typedef struct ScatterGatherEntry ScatterGatherEntry;
#if defined(TARGET_PHYS_ADDR_BITS)
-typedef
Currently dma_bdrv_io() takes a 'to_dev' boolean parameter to
determine the direction of DMA it is emulating. We already have a
DMADirection enum designed specifically to encode DMA directions.
This patch uses it for dma_bdrv_io() as well.
Cc: Kevin Wolf kw...@redhat.com
Signed-off-by: David
dma-helpers.c contains a number of helper functions for doing
scatter/gather DMA, and various block device related DMA. Currently,
these directly access guest memory using cpu_physical_memory_*(),
assuming no IOMMU translation.
This patch updates this code to use the new universal DMA helper
On Fri, Feb 24, 2012 at 02:27:43PM +1100, David Gibson wrote:
Oops, ignore this one folks. As is probably obvious, this was a
testing patch not meant to go into the main series.
---
dma.h |9 ++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/dma.h b/dma.h
index
Hi,
I'm getting coredumps:
#0 qemu_opt_find (opts=0x0, name=0x7f18e8c833db kernel) at qemu-option.c:535
535 QTAILQ_FOREACH_REVERSE(opt, opts-head, QemuOptHead, next) {
I bisected it down to the following commit:
a0abe474d587499a1553372c1692811f81fd3eda is the first bad commit
commit
Hi,
2012/2/24 Gerhard Wiesinger li...@wiesinger.com:
Hi,
I'm getting coredumps:
#0 qemu_opt_find (opts=0x0, name=0x7f18e8c833db kernel) at
qemu-option.c:535
535 QTAILQ_FOREACH_REVERSE(opt, opts-head, QemuOptHead, next) {
I bisected it down to the following commit:
Hi all
can anoyone explain about backing file?
How it is written and in which fashion ?
and what role it plays when the clusters are allocated ?
On Thu, Feb 23, 2012 at 9:39 PM, Avleen Vig 939...@bugs.launchpad.net wrote:
Nothing else at all accesses those files, which is one of the things that
concerned me the most :-/
It looks like it call came from the same place.
It's possible to check the file descriptor flags using
On Thu, Feb 23, 2012 at 7:08 PM, peter.lie...@gmail.com p...@dlh.net wrote:
Stefan Hajnoczi stefa...@gmail.com schrieb:
On Thu, Feb 23, 2012 at 3:40 PM, Peter Lieven p...@dlh.net wrote:
However, in a virtual machine I have not observed the above slow down
to
that extend
while the benefit
On Fri, Feb 24, 2012 at 6:41 AM, Stefan Hajnoczi stefa...@gmail.com wrote:
On Thu, Feb 23, 2012 at 7:08 PM, peter.lie...@gmail.com p...@dlh.net wrote:
Stefan Hajnoczi stefa...@gmail.com schrieb:
On Thu, Feb 23, 2012 at 3:40 PM, Peter Lieven p...@dlh.net wrote:
However, in a virtual machine
On 02/24/2012 01:55 AM, Zhang, Yang Z wrote:
Hi paolo The DM and 24/12 test case assumes the changing of DM bit
will reflect to RTC internal clock. But the datasheet said nothing
will affect if you change it. Also, the current logic in qemu has the
same assumption. Does this a bug or just by
On Thu, Feb 23, 2012 at 04:42:54PM +, Stefan Hajnoczi wrote:
On Thu, Feb 23, 2012 at 3:40 PM, Peter Lieven p...@dlh.net wrote:
However, in a virtual machine I have not observed the above slow down to
that extend
while the benefit of zero after free in a virtualisation environment is
On Fri, Feb 24, 2012 at 6:53 AM, Stefan Hajnoczi stefa...@gmail.com wrote:
On Fri, Feb 24, 2012 at 6:41 AM, Stefan Hajnoczi stefa...@gmail.com wrote:
On Thu, Feb 23, 2012 at 7:08 PM, peter.lie...@gmail.com p...@dlh.net wrote:
Stefan Hajnoczi stefa...@gmail.com schrieb:
On Thu, Feb 23, 2012 at
Am 24.02.2012 um 08:23 schrieb Stefan Hajnoczi:
On Fri, Feb 24, 2012 at 6:53 AM, Stefan Hajnoczi stefa...@gmail.com wrote:
On Fri, Feb 24, 2012 at 6:41 AM, Stefan Hajnoczi stefa...@gmail.com wrote:
On Thu, Feb 23, 2012 at 7:08 PM, peter.lie...@gmail.com p...@dlh.net
wrote:
Stefan Hajnoczi
On Wed, Feb 22, 2012 at 03:33:52PM +0100, Paolo Bonzini wrote:
Reviewed-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
hw/virtio-scsi.c | 134 ++---
1 files changed, 126 insertions(+), 8
101 - 158 of 158 matches
Mail list logo