Andreas Färber a écrit :
This prepares for switching from OpenHack'Ware to OpenBIOS.
Signed-off-by: Andreas Färber
---
hw/ppc/prep.c | 21 +
1 file changed, 13 insertions(+), 8 deletions(-)
Acked-by: Hervé Poussineau
Hans de Goede & Gerd Hoffmann:
theses days i try to migrate the usbredir lib to Windows
the usbredir-0.6/usbredirserver/usbredirserver.c connect to qemu's
redirect channel and spicec connect to the guest.
the usbredirserver works smooth in Linux, spicec show the usb disk works
well.
Previously VmdkMetaData.offset is stored little endian while other
fields are cpu endian. This changes offset to cpu endian and convert
before writing to image.
Signed-off-by: Fam Zheng
---
block/vmdk.c | 17 -
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/block/vm
Use special offset to write zeroes efficiently, when zeroed-grain GTE is
available. If zero-write an allocated cluster, cluster is leaked because
its offset pointer is overwritten by "0x1".
Signed-off-by: Fam Zheng
---
block/vmdk.c | 86 +++
Added support for zeroed-grain GTE to VMDK according to VMDK Spec 5.0[1].
[1] Virtual Disk Format 5.0 - VMware,
http://www.vmware.com/support/developer/vddk/vmdk_50_technote.pdf?src=vmdk
Changes since v3:
- 5/6: Remove tmp
- 6/6: Update L2 Cache
Remove redundant assignment to m_data
Hans de Goede & Gerd Hoffmann:
theses days i try to migrate the usbredir lib to Windows
the usbredir-0.6/usbredirserver/usbredirserver.c connect to qemu's
redirect channel and spicec connect to the guest
the usbredirserver works smooth in Linux, spicec show the usb disk works
well.
On Sat, Apr 27, 2013 at 02:17:54PM +0200, Paolo Bonzini wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Il 27/04/2013 11:49, David Gibson ha scritto:
> >> There's no fundamental reason for VFIO to use multiple
> >> MemoryListeners. It could use one for all VFIO instances.
> >
> > A
From: Petar Jovanovic
This change corrects and simplifies how discard is calculated for shift
left logical vector instructions. It is used to detect overflow and set bit
22 in the DSPControl register.
The existing tests (shll_ph.c, shll_qb.c) are extended with the corner cases
that expose incorr
Am 25.04.2013 16:05, schrieb Igor Mammedov:
> Allows kvmvapic to compile if sysbus.h is removed from apic_internal.h,
> from which it is indirectly included.
> sysbus.h will be removed from apic_internal.h after converting
> APICs to ICCDevice.
>
> Signed-off-by: Igor Mammedov
> ---
> Note:
> s
Am 25.04.2013 16:05, schrieb Igor Mammedov:
> ... and put APIC_SPACE_SIZE in public header so that it could be
> reused later elsewhere.
>
> Signed-off-by: Igor Mammedov
> Reviewed-by: Andreas Färber
> ---
> hw/i386/kvm/apic.c |2 +-
> hw/intc/apic.c |2 +-
This prepares for switching from OpenHack'Ware to OpenBIOS.
Signed-off-by: Andreas Färber
---
hw/ppc/prep.c | 21 +
1 file changed, 13 insertions(+), 8 deletions(-)
diff --git a/hw/ppc/prep.c b/hw/ppc/prep.c
index cceab3e..9bb0119 100644
--- a/hw/ppc/prep.c
+++ b/hw/ppc/prep
Il 27/04/2013 15:19, Peter Maydell ha scritto:
>> > The next patch will add a dependency of qemu/osdep.h on config-host.h.
>> > It could be nicer to use qemu-common.h, but I prefer to be safer this
>> > close to hard feature freeze.
>>> >> Can't we just include config-host.h from osd
On Sat, Apr 27, 2013 at 12:12 PM, Paolo Bonzini wrote:
> Il 27/04/2013 12:09, Blue Swirl ha scritto:
>> On Fri, Apr 26, 2013 at 10:13 PM, Paolo Bonzini wrote:
>>> Il 26/04/2013 19:46, Igor Mammedov ha scritto:
>> But as the address can't be changed (yet), the entire patch could be
>> sim
Busy enterprise workloads hosted on large sized VM's tend to dirty
memory faster than the transfer rate achieved via live guest migration.
Despite some good recent improvements (& using dedicated 10Gig NICs
between hosts) the live migration does NOT converge.
A few options that were discussed/bein
Introduce type constant and cast macro to obsolete DO_UPCAST().
Prepares for ISA realizefn.
Signed-off-by: Andreas Färber
---
hw/audio/sb16.c | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/hw/audio/sb16.c b/hw/audio/sb16.c
index 783b6b4..61583bc 100644
--- a/
Introduce type constant and cast macro to obsolete DO_UPCAST().
Prepares for ISA realizefn.
Signed-off-by: Andreas Färber
---
hw/watchdog/wdt_ib700.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/hw/watchdog/wdt_ib700.c b/hw/watchdog/wdt_ib700.c
index b8c4be8.
Introduce type constant and cast macro to obsolete DO_UPCAST().
Prepares for ISA realizefn.
Drop reserved underscore from struct name while at it.
Signed-off-by: Andreas Färber
---
hw/misc/vmport.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/hw/misc/vmport.c
Introduce type constant and cast macro to obsolete DO_UPCAST() and
container_of(). Prepares for ISA realizefn.
Unify function naming scheme while at it.
Signed-off-by: Andreas Färber
---
hw/display/vga-isa.c | 29 +
1 file changed, 17 insertions(+), 12 deletions(-)
Introduce type constant and cast macro.
Prepares for ISA realizefn.
Signed-off-by: Andreas Färber
---
hw/misc/sga.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/hw/misc/sga.c b/hw/misc/sga.c
index 5cf4b86..c842190 100644
--- a/hw/misc/sga.c
+++ b/hw/misc/sga.c
Introduce type constant and cast macro to obsolete DO_UPCAST().
Prepares for ISA realizefn.
Signed-off-by: Andreas Färber
---
hw/audio/pcspk.c | 9 ++---
include/hw/audio/pcspk.h | 4 +++-
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/hw/audio/pcspk.c b/hw/audio/pcs
Introduce type constant and cast macro to obsolete DO_UPCAST().
Prepares for ISA realizefn.
Signed-off-by: Andreas Färber
---
hw/input/pckbd.c | 16 +++-
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/hw/input/pckbd.c b/hw/input/pckbd.c
index 08ceb9f..17a5614 100644
Introduce type constant and cast macro to obsolete DO_UPCAST().
Prepares for ISA realizefn.
Signed-off-by: Andreas Färber
---
hw/timer/mc146818rtc.c | 36
include/hw/timer/mc146818rtc.h | 2 ++
2 files changed, 22 insertions(+), 16 deletions(-)
dif
Introduce type constant and cast macro to obsolete DO_UPCAST().
Add missing braces.
Prepares for ISA realizefn.
Signed-off-by: Andreas Färber
---
hw/ide/isa.c | 39 ---
1 file changed, 24 insertions(+), 15 deletions(-)
diff --git a/hw/ide/isa.c b/hw/ide/isa.
Introduce type constant and cast macro to obsolete DO_UPCAST() and
container_of(). Prepares for ISA realizefn.
Remove reserved underscore from struct name while at it.
Signed-off-by: Andreas Färber
---
hw/input/vmmouse.c | 14 +-
1 file changed, 9 insertions(+), 5 deletions(-)
diff
Eliminate DO_UPCAST() for PICCommonState. Prepares for ISA realizefn.
Also give the i8259_common type registration functions unique names
while at it.
Signed-off-by: Andreas Färber
---
hw/i386/kvm/i8259.c | 2 +-
hw/intc/i8259.c | 16 +---
hw/intc/i8259_
Introduce type constant and cast macro to obsolete DO_UPCAST().
Prepares for ISA realizefn.
Signed-off-by: Andreas Färber
---
hw/char/serial-isa.c | 11 +++
include/hw/char/serial.h | 1 +
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/hw/char/serial-isa.c b/hw/char
Introduce type constant and cast macro to obsolete DO_UPCAST() and
container_of().
Prepares for ISA realizefn.
Signed-off-by: Andreas Färber
---
hw/timer/m48t59.c | 35 +--
1 file changed, 21 insertions(+), 14 deletions(-)
diff --git a/hw/timer/m48t59.c b/hw/tim
Introduce type constant and cast macro to obsolete DO_UPCAST().
Prepares for ISA realizefn.
Signed-off-by: Andreas Färber
---
hw/i386/pc.c | 14 +-
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index 0d6e72b..29d2703 100644
--- a/hw/i386/p
Introduce type constant and cast macro to obsolete DO_UPCAST().
Prepares for ISA realizefn.
Signed-off-by: Andreas Färber
---
hw/net/ne2000-isa.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/hw/net/ne2000-isa.c b/hw/net/ne2000-isa.c
index a093aa8..f8e610c 10064
Introduce type constant and cast macro to obsolete DO_UPCAST().
Reuse type constant for PC machine compatibility settings.
Prepares for ISA realizefn.
Signed-off-by: Andreas Färber
Cc: Markus Armbruster
---
hw/block/fdc.c | 21 -
hw/i386/pc_piix.c | 2 +-
incl
Hello,
Here is my next batch of QOM realize patches.
These mostly introduce QOM cast macros for ISADevice-derived types,
so should hopefully be safe to apply for 1.5.
The mc146818 patch is also queued on qom-cpu and reused for CPU hot-add.
Available from:
https://github.com/afaerber/qemu-cpu/co
Introduce type constant and cast macro to obsolete DO_UPCAST().
Prepares for ISA realizefn.
Signed-off-by: Andreas Färber
---
hw/char/parallel.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/hw/char/parallel.c b/hw/char/parallel.c
index b5e867f..8e48284 100644
Introduce type constant and cast macro to obsolete DO_UPCAST().
Prepares for ISA realizefn.
Signed-off-by: Andreas Färber
---
hw/dma/i82374.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/hw/dma/i82374.c b/hw/dma/i82374.c
index 835639d..f3d1924 100644
--- a/hw/d
Introduce type constant and cast macro to obsolete DO_UPCAST().
Prepares for ISA realizefn.
Signed-off-by: Andreas Färber
---
hw/display/cirrus_vga.c | 15 ++-
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/hw/display/cirrus_vga.c b/hw/display/cirrus_vga.c
index 6e47
Add a typedef for the state struct and rename from Status to State.
Add type constant and cast macro to obsolete DO_UPCAST().
Prepares for ISA realizefn.
Signed-off-by: Andreas Färber
---
hw/misc/applesmc.c | 33 +++--
1 file changed, 19 insertions(+), 14 deletions(-
On Wed, Apr 17, 2013 at 4:15 AM, Rob Landley wrote:
> On 04/14/2013 04:38:23 AM, Artyom Tarasenko wrote:
>>
>> On Sat, Apr 13, 2013 at 7:03 PM, Rob Landley wrote:
>> > On 03/26/2013 02:34:50 AM, Artyom Tarasenko wrote:
>> >>
>> >> On Tue, Mar 26, 2013 at 1:52 AM, Rob Landley wrote:
>> >> > Can t
On Sat, Apr 27, 2013 at 01:11:16PM +0800, Jason Wang wrote:
> On 04/26/2013 08:26 PM, Michael S. Tsirkin wrote:
> > On Fri, Apr 26, 2013 at 06:27:40PM +0800, Jason Wang wrote:
> >> Commit 32993698 (vhost: disable on tap link down) tries to disable the
> >> vhost
> >> also when the peer's link is d
On Fri, Apr 26, 2013 at 04:34:02PM +0800, Jason Wang wrote:
> There are several several issues in the current checking:
>
> - The check was based on the minus of unsigned values which can overflow
> - It was done after .{set|get}_config() which can lead crash when config_len
> is
> zero since v
On Fri, Apr 26, 2013 at 04:27:55PM +0200, Petr Matousek wrote:
> On Fri, Apr 26, 2013 at 04:34:02PM +0800, Jason Wang wrote:
> > There are several several issues in the current checking:
> >
> > - The check was based on the minus of unsigned values which can overflow
> > - It was done after .{set|
On Thu, Apr 25, 2013 at 08:36:55PM +0200, Martin Husemann wrote:
> Ok, I can fix the namespace issue (which is real) easily.
Turns out to be a bit harder: qemu does not define (as far as I can tell)
any restricting macro (_POSIX_C_SOURCE or whatever).
Should it?
Martin
Hi all,
I am trying to figure out, how to emulate a custom board for powerpc. It
seems that some c file is required to be written which instantiates the
constituents(Qobjects) of the board to be emulated using Qapi. Please
correct me if I am wrong.
Where in the source code , can i find examples o
Public bug reported:
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 12.04.1 LTS
Release:12.04
Codename: precise
#virsh version
Compiled against library: libvirt 1.0.4
Using library: libvirt 1.0.4
Using API: QEMU 1.0.4
Running hypervisor
Hi Andreas,
On Sat, Apr 27, 2013 at 5:16 PM, Andreas Färber wrote:
> Am 27.04.2013 09:12, schrieb Artyom Tarasenko:
>> PrEP and SPARC machines use slightly different variations of
>
> PReP :)
Ops. :)
>> a Mostek NVRAM chip. Since the SPARC variant is much closer
>> to a m48t08 type, the model c
Am 25.04.2013 16:05, schrieb Igor Mammedov:
> Provides hotplug-able bus for APIC and CPU.
>
> * icc-bridge will serve as a parent for icc-bus and provide
> mmio mapping services to child icc-devices.
> * icc-device will replace SysBusDevice as a parent of APIC
> and IOAPIC devices.
>
> Signed
Am 26.04.2013 19:51, schrieb Igor Mammedov:
> Signed-off-by: Igor Mammedov
> Reviewed-by: Eduardo Habkost
> ---
> target-i386/cpu.c | 7 +++
> 1 file changed, 7 insertions(+)
Thanks, applied to qom-cpu:
https://github.com/afaerber/qemu-cpu/commits/qom-cpu
Andreas
--
SUSE LINUX Products G
Am 27.04.2013 09:12, schrieb Artyom Tarasenko:
> PrEP and SPARC machines use slightly different variations of
PReP :)
> a Mostek NVRAM chip. Since the SPARC variant is much closer
> to a m48t08 type, the model can be used to differentiate between
> the PIO and MMIO accesses.
>
> Signed-off-by: A
On Sat, Apr 27, 2013 at 1:39 PM, Blue Swirl wrote:
> On Sat, Apr 27, 2013 at 7:12 AM, Artyom Tarasenko wrote:
>> The sun4u machines use a slightly different modification of the ISA Mostek
>> chip.
>> It has MMIO, 1968 as a base year and no IRQ line. Since it matches our
>> m48t08,
>> make keep
On 27 April 2013 14:14, Paolo Bonzini wrote:
> Il 27/04/2013 15:11, Peter Maydell ha scritto:
>> On 27 April 2013 12:48, Paolo Bonzini wrote:
>> > The next patch will add a dependency of qemu/osdep.h on config-host.h.
>> > It could be nicer to use qemu-common.h, but I prefer to be safer this
>> >
Il 27/04/2013 15:11, Peter Maydell ha scritto:
> On 27 April 2013 12:48, Paolo Bonzini wrote:
> > The next patch will add a dependency of qemu/osdep.h on config-host.h.
> > It could be nicer to use qemu-common.h, but I prefer to be safer this
> > close to hard feature freeze.
> Can't we just inclu
On 27 April 2013 12:48, Paolo Bonzini wrote:
> The next patch will add a dependency of qemu/osdep.h on config-host.h.
> It could be nicer to use qemu-common.h, but I prefer to be safer this
> close to hard feature freeze.
Can't we just include config-host.h from osdep.h ?
-- PMM
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Il 27/04/2013 11:49, David Gibson ha scritto:
>> There's no fundamental reason for VFIO to use multiple
>> MemoryListeners. It could use one for all VFIO instances.
>
> Actually, there kind of is. Using a new listener for each new
> container mean
Il 27/04/2013 12:09, Blue Swirl ha scritto:
> On Fri, Apr 26, 2013 at 10:13 PM, Paolo Bonzini wrote:
>> Il 26/04/2013 19:46, Igor Mammedov ha scritto:
> But as the address can't be changed (yet), the entire patch could be
> simply:
> -kioapic->base_address = s->busdev.mmio[0].addr
The next patch will add a dependency of qemu/osdep.h on config-host.h.
It could be nicer to use qemu-common.h, but I prefer to be safer this
close to hard feature freeze.
Signed-off-by: Paolo Bonzini
---
qga/channel-posix.c | 1 +
tests/libi2c-omap.c | 1 +
tests/libqtest.c
Commit e9d8fbf (qemu-file: do not use stdio for qemu_fdopen, 2013-03-27)
introduced a usage of writev, which mingw32 does not have. Even though
qemu_fdopen itself is not used on mingw32, the future-proof solution is
to add an implementation of it. This is simple and similar to how we
emulate send
The -mwindows option is not anymore in LIBS at this point of the Makefile,
it is only in libs_softmmu. Check the right variable.
Signed-off-by: Paolo Bonzini
---
Makefile.target | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.target b/Makefile.target
index 7e4c77a..
This makes the test on $(LIBTOOL) work. Otherwise, LIBTOOL
is /bin/false by the time the test is done.
Fixes Win32 compilation without a working cross-libtool.
Signed-off-by: Paolo Bonzini
---
Makefile | 3 +--
rules.mak | 3 +++
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/
Signed-off-by: Paolo Bonzini
---
Makefile | 2 --
rules.mak | 4
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 8aca92f..58e3527 100644
--- a/Makefile
+++ b/Makefile
@@ -167,9 +167,7 @@ recurse-all: $(SUBDIR_RULES) $(ROMSUBDIR_RULES)
bt-host.o: QEM
Here is a fix for the Win32 compilation problem that Blue reported,
and another two nits I found while testing. After these patches, a
cross libtool is not needed anymore to build on Win32.
Paolo Bonzini (5):
win32: add generic RC rules to rules.mak
win32: move Makefile dependencies on versio
Thanks, applied all. I fixed the indentation in 2/3 for apb_config_writel().
On Sat, Apr 27, 2013 at 5:55 AM, Artyom Tarasenko wrote:
> Various fixes:
> On the real hardware IRQ lines of the PCI bus are not shared.
> In the previous QEMU implementation before this series, all PCI devices
> used t
On Sat, Apr 27, 2013 at 7:12 AM, Artyom Tarasenko wrote:
> The sun4u machines use a slightly different modification of the ISA Mostek
> chip.
> It has MMIO, 1968 as a base year and no IRQ line. Since it matches our m48t08,
> make keep PIO behavior for the 59 model and use MMIO for the 8 model.
T
On Fri, Apr 26, 2013 at 10:13 PM, Paolo Bonzini wrote:
> Il 26/04/2013 19:46, Igor Mammedov ha scritto:
>>> > But as the address can't be changed (yet), the entire patch could be
>>> > simply:
>>> > -kioapic->base_address = s->busdev.mmio[0].addr;
>>> > +kioapic->base_address = IO_APIC_DE
On Fri, Apr 26, 2013 at 03:40:30PM +0200, Paolo Bonzini wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Il 26/04/2013 13:31, David Gibson ha scritto:
> >> You need to add this capability to VFIO's MemoryListener (either
> >> the one that's already there, or a new one), looking for IOM
On Fri, Apr 26, 2013 at 09:42:31AM -0600, Alex Williamson wrote:
> On Fri, 2013-04-26 at 16:02 +1000, David Gibson wrote:
> > This patch series represents a second attempt at better integration of
> > the vfio code with qemu's handling of guest IOMMUs. It is based on
> > Paolo Bonzini's tree at gi
PrEP and SPARC machines use slightly different variations of
a Mostek NVRAM chip. Since the SPARC variant is much closer
to a m48t08 type, the model can be used to differentiate between
the PIO and MMIO accesses.
Signed-off-by: Artyom Tarasenko
---
hw/timer/m48t59.c | 38 ++
The sun4u machines use an ISA Mostek chip which has MMIO, uses 1968
as a base year and no IRQ line. So, use the m48t08.
Please note that this patch has its OpenBIOS counterpart.
Together they fix recognising NVRAM in the sun4u machine.
Signed-off-by: Artyom Tarasenko
---
hw/sparc64/sun4u.c |
The sun4u machines use a slightly different modification of the ISA Mostek chip.
It has MMIO, 1968 as a base year and no IRQ line. Since it matches our m48t08,
make keep PIO behavior for the 59 model and use MMIO for the 8 model.
This series fixes recognising Mostek RTC in the Linux/sparc64 guest.
On Fri, Apr 26, 2013 at 5:48 PM, Stefan Hajnoczi wrote:
> On Fri, Apr 26, 2013 at 10:47:26AM +0800, Liu Ping Fan wrote:
>> @@ -141,6 +134,59 @@ static ssize_t net_socket_receive_dgram(NetClientState
>> *nc, const uint8_t *buf,
>> return ret;
>> }
>>
>> +static gushort socket_connecting_read
67 matches
Mail list logo