Hi,
>> What is your vnc client? Does it support VNC_ENCODING_EXT_KEY_EVENT?
>
> It's uses gvnc as a protocol library and renders via fbdev. It reads
> keyboard events by putting /dev/tty into mediumraw mode and uses ext key
> events exclusively. It has no knowledge of the guest keymap.
Neat
Hi Gerd,
> Do things improve with a gtk-vnc based client? vinagre or
> remote-viewer (comes bundles with recent virt-viewer versions)?
tried vinagre now, same result...
nik
>
> cheers,
> Gerd
>
>
--
-
Ing. Nikola CIPRICH
LinuxBox.cz, s.r.o.
28.rijna
On Sun, 14 Apr 2013, Gonglei (Arei) wrote:
> > > Hi Alan,
> > > We pass-throughed USB 2.0 disk to guest using usb-host (qemu option:
> > -device usb-ehci,id=ehci -device usb-host,bus=ehci.0,hostbus=2,hostport=1)
> > on
> > KVM(on linux-3.8.3 or linux-3.0.13) and qemu 1.4.0 ,
> >
> > Are you sure
Hi Everyone,
I am trying to use QEMU's port forwarding option with my application and have
observed following difference in behaviour on Windows and Linux:
* If I relaunch QEMU with same host and guest port redirection values on Linux,
it throws following error:qemu-system-arm: could not set up h
Hey,
So I've been lazily hacking away on https://github.com/espes/xqemu for the
last few months. It's a target for the original Xbox in Qemu - it's kind of
a neat fit, since the Xbox was mostly an nForce 420 PC. It'd be awesome to
have helping out on this as a listed Summer of Code project idea. (
Public bug reported:
I run qemu like this:
qemu-system-x86-64 -enable-kvm -hda -s -S,
and start gdb with commands like this:
gdb>tartget remote localhost:1234
gdb>break *0x7c00
gdb>c
but gdb don't stop on it. I then could break execution manually and then
breakpoints work.
QEMU version
Hello,
I made up this patch to implement the Cortex A9 global timer in
Qemu.
My patch is based on the Qemu branch maintained by Xilinx for the Zynq.
diff -urN qemu-master/hw/cpu/a9mpcore.c qemu-master.new/hw/cpu/a9mpcore.c
---
qemu-master/hw/cpu/a9mpcore.c 2013-04-08 20:12:33.0 +02
On 04/15/13 17:43, Nikola Ciprich wrote:
> Hi Gerd,
>
> I'm using tigervnc, but the problem occurs also with xrdp vnc2rdp
> proxy..
Do things improve with a gtk-vnc based client? vinagre or
remote-viewer (comes bundles with recent virt-viewer versions)?
cheers,
Gerd
Il 16/04/2013 06:49, Paolo Bonzini ha scritto:
>> > +remote_ram_blocks.num_blocks = remote_ram_blocks.remote_area;
>> > +remote_ram_blocks.block = (void *) (remote_ram_blocks.num_blocks + 1);
> You cannot do this, it doesn't guarantee that remote_ram_blocks.block is
> correctly aligned. Pl
(qemu) sendkey ctrl_r-scroll_lock-scroll_lock
Executing this command could not let Windows guest panic, it caused by
the wrong order of releasing keys. This problem was introduced by
commit e4c8f004c55d9da3eae3e14df740238bf805b5d6.
The right release order should be starting from last item.
Signe
Il 15/04/2013 21:03, Anthony Liguori ha scritto:
> "Edgar E. Iglesias" writes:
>
>> Hi,
>>
>> I would like to use qtest for testing hw-models in combination with firmware.
>>
>> At the moment I'm using the following patch to allow qtest to run without
>> accel=qtest. I'm mostly interested in the
Il 16/04/2013 04:44, mrhi...@linux.vnet.ibm.com ha scritto:
> { 'enum': 'MigrationCapability',
> - 'data': ['xbzrle'] }
> + 'data': ['xbzrle', 'chunk_register_destination'] }
x-chunk_register_destination.
Or better, "x-rdma_chunk_registration".
Paolo
On 04/15/2013 11:24 PM, Paolo Bonzini wrote:
Il 16/04/2013 04:44, mrhi...@linux.vnet.ibm.com ha scritto:
+void ram_control_load_hook(QEMUFile *f, uint32_t flags)
+{
+int ret = 0;
+
+if (f->ops->hook_ram_load) {
+ret = f->ops->hook_ram_load(f, f->opaque, flags);
+if (ret <
when use DEBUG_DEBUGCON, screen spits:
debugcon: write addr=0x val=0x00
Rdebugcon: write addr=0x val=0x00
udebugcon: write addr=0x val=0x00
ndebugcon: write addr=0x val=0x00
ndebugcon: write addr=0x val=0x00
idebugcon: write addr=0x val=0x00
ndebugcon: write addr=0x val=
compiler warnings:
CChw/char/debugcon.o
hw/char/debugcon.c: In function ‘debugcon_ioport_write’:
hw/char/debugcon.c:58: warning: format ‘%02x’ expects type ‘unsigned int’, but
argument 3 has type ‘uint64_t’
hw/char/debugcon.c: In function ‘debugcon_ioport_read’:
hw/char/debugcon.c:70: warnin
before change:
Bdebugcon: write addr=0x val=0x6f
odebugcon: write addr=0x val=0x6f
odebugcon: write addr=0x val=0x74
tdebugcon: write addr=0x val=0x69
idebugcon: write addr=0x val=0x6e
ndebugcon: write addr=0x val=0x67
gdebugcon: write addr=0x val=0x20
debugcon: write a
I changed to the latest version of kvm kernel but the bug also occured.
On the startup of L1 VM on the host, the host kern.log will output:
Apr 16 11:28:22 Blade1-02 kernel: [ 4908.458090] kvm [2808]: vcpu0
unhandled rdmsr: 0x345
Apr 16 11:28:22 Blade1-02 kernel: [ 4908.458166] kvm_set_msr_common:
在 2013-04-15一的 21:44 -0500,Jesse Larrew写道:
> On 04/14/2013 09:14 PM, liguang wrote:
> > #ifdef DEBUG_DEBUGCON
> > -printf("debugcon: write addr=0x%04" HWADDR_PRIx " val=0x%02x\n", addr,
> > val);
> > +printf(" [debugcon: write addr=0x%04" HWADDR_PRIx " val=0x%02]\n",
> > addr, val);
>
>
> -Original Message-
> From: Alan Stern [mailto:st...@rowland.harvard.edu]
> Sent: Tuesday, April 16, 2013 1:44 AM
> To: Gonglei (Arei)
> Cc: linux-...@vger.kernel.org; Yanqiangjun; Hanweidong; Luonengjun;
> kra...@redhat.com; hdego...@redhat.com; qemu-devel@nongnu.org
> Subject: RE: USB2.
Il 16/04/2013 04:44, mrhi...@linux.vnet.ibm.com ha scritto:
> +} else if (flags & RAM_SAVE_FLAG_HOOK) {
> +ram_control_load_hook(f, RAM_CONTROL_HOOK);
> }
Please pass flags as the second parameter (and change the argument to
uint64_t).
Paolo
Il 16/04/2013 04:44, mrhi...@linux.vnet.ibm.com ha scritto:
> +void ram_control_load_hook(QEMUFile *f, uint32_t flags)
> +{
> +int ret = 0;
> +
> +if (f->ops->hook_ram_load) {
> +ret = f->ops->hook_ram_load(f, f->opaque, flags);
> +if (ret < 0) {
> +qemu_file_set
Il 16/04/2013 04:44, mrhi...@linux.vnet.ibm.com ha scritto:
> From: "Michael R. Hines"
>
> The following changes since commit 24a6e7f4d91e9ed5f8117ecb083431a23f8609a0:
>
> virtio-balloon: fix dynamic properties. (2013-04-15 17:06:58 -0500)
>
> are available in the git repository at:
>
> g.
On 04/16/2013 08:48 AM, Alexey Kardashevskiy wrote:
On 04/16/2013 01:55 AM, Markus Armbruster wrote:
Alexey Kardashevskiy writes:
On 04/15/2013 10:57 PM, Markus Armbruster wrote:
Alexey Kardashevskiy writes:
On 04/15/2013 08:01 PM, Peter Maydell wrote:
On 15 April 2013 10:50, Alexey Kard
On 04/15/2013 04:28 PM, Aurelien Jarno wrote:
> On Mon, Apr 15, 2013 at 01:29:01PM +0800, Jason Wang wrote:
>> On 04/13/2013 09:17 PM, Aurelien Jarno wrote:
>>> On Fri, Jan 25, 2013 at 06:35:41PM +0800, Jason Wang wrote:
This patch implements both userspace and vhost support for multiple queue
在 2013-04-15一的 21:51 -0500,Jesse Larrew写道:
> On 04/14/2013 09:14 PM, liguang wrote:
> > compiler warnings:
> > CChw/char/debugcon.o
> > hw/char/debugcon.c: In function ‘debugcon_ioport_write’:
> > hw/char/debugcon.c:58: warning: format ‘%02x’ expects type ‘unsigned int’,
> > but argument 3 h
You can find the chance of exit main loop
by every calling of cpu_loop_exit() in cpu_exec().
在 2013-04-16二的 09:51 +0800,puckbee写道:
> Hi there:
>
> Sorry to post this problem a second time, for I thought maybe the
> question is not descripted clearly.
>
> I'm studying the execution detai
On 04/14/2013 09:14 PM, liguang wrote:
> compiler warnings:
> CChw/char/debugcon.o
> hw/char/debugcon.c: In function ‘debugcon_ioport_write’:
> hw/char/debugcon.c:58: warning: format ‘%02x’ expects type ‘unsigned int’,
> but argument 3 has type ‘uint64_t’
> hw/char/debugcon.c: In function ‘d
From: "Michael R. Hines"
docs/rdma.txt contains full documentation,
wiki links, github url and contact information.
Signed-off-by: Michael R. Hines
---
docs/rdma.txt | 336 +
1 file changed, 336 insertions(+)
create mode 100644 docs/rdm
From: "Michael R. Hines"
This takes advantages of the previous patches:
1. use the new QEMUFileOps hook 'save_page'
2. call out to the right accessor methods to invoke
the iteration hooks defined in QEMUFileOps
Signed-off-by: Michael R. Hines
---
arch_init.c | 35 +++
From: "Michael R. Hines"
These are the prototypes and implementation of new hooks that
RDMA takes advantage of to perform dynamic page registration.
An optional hook is also introduced for a custom function
to be able to override the default save_page function.
Also included are the prototypes
From: "Michael R. Hines"
This capability allows you to disable dynamic chunk registration
for better throughput on high-performance links.
It is enabled by default.
Signed-off-by: Michael R. Hines
---
include/migration/migration.h |2 ++
migration.c | 11 ++-
q
From: "Michael R. Hines"
This gives RDMA shared access to madvise() on the destination side
when an entire chunk is found to be zero.
Signed-off-by: Michael R. Hines
---
arch_init.c | 24
include/migration/migration.h |1 +
2 files changed, 17 i
From: "Michael R. Hines"
It's very helpful when debugging to print out migration throughput
after each iteration round to compare the different migration
technologies.
Signed-off-by: Michael R. Hines
---
migration.c |8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a
From: "Michael R. Hines"
The following changes since commit 24a6e7f4d91e9ed5f8117ecb083431a23f8609a0:
virtio-balloon: fix dynamic properties. (2013-04-15 17:06:58 -0500)
are available in the git repository at:
g...@github.com:hinesmr/qemu.git rdma_patch_v2
for you to fetch changes up to 6
From: "Michael R. Hines"
This is used during RDMA initialization in order to
transmit a description of all the RAM blocks to the
peer for later dynamic chunk registration purposes.
Signed-off-by: Michael R. Hines
---
exec.c|9 +
include/exec/cpu-common.h |5
On 04/14/2013 09:14 PM, liguang wrote:
> #ifdef DEBUG_DEBUGCON
> -printf("debugcon: write addr=0x%04" HWADDR_PRIx " val=0x%02x\n", addr,
> val);
> +printf(" [debugcon: write addr=0x%04" HWADDR_PRIx " val=0x%02]\n", addr,
> val);
I like the reformatting, but it looks like you accidentall
On 04/14/2013 09:14 PM, liguang wrote:
> when use DEBUG_DEBUGCON, screen spits:
> debugcon: write addr=0x val=0x00
> Rdebugcon: write addr=0x val=0x00
> udebugcon: write addr=0x val=0x00
> ndebugcon: write addr=0x val=0x00
> ndebugcon: write addr=0x val=0x00
> idebugcon: write a
Hi there:
Sorry to post this problem a second time, for I thought maybe the
question is not descripted clearly.
I'm studying the execution details of multi-vcpu in TCG mode.
The vcpus in TCG mode are executed one by one in a sequencial way,
according to some articles about Qemu.
I read the func
Drop an unreachable fallback bus assignment to SysBus.
If no ,bus= is specified, only search busses recursively for bus type if
the DeviceClass has a bus_type specified. Handle resulting NULL cases.
Signed-off-by: Andreas Färber
---
qdev-monitor.c | 16
1 file changed, 8 insert
'virt-tests-vm1' \
-nodefaults \
-chardev
socket,id=hmp_id_hmp1,path=/tmp/monitor-hmp1-20130415-214507-8fDeX7Fj,server,nowait
\
-mon chardev=hmp_id_hmp1,mode=readline \
-chardev
socket,id=serial_id_serial1,path=/tmp/serial-serial1-20130415-214507-8fDeX7Fj,ser
From: Igor Mammedov
... so it could be called without requiring CPUArchState.
Signed-off-by: Igor Mammedov
Reviewed-by: Eduardo Habkost
Signed-off-by: Andreas Färber
---
cpus.c | 4 ++--
include/sysemu/kvm.h | 12 ++--
kvm-all.c| 8 ++--
kvm-stub.c
From: Igor Mammedov
Currently device_set_realized() sets parent only after device was realized,
but qdev_device_add() sets it before device is realized.
Make behavior consistent and alter device_set_realized() to behave like
qdev_device_add().
It will allow to set link<> properties in realize()
From: Eduardo Habkost
* Add braces to 'if' statements;
* Remove last TAB character from the source.
Signed-off-by: Eduardo Habkost
[AF: Changed whitespace]
Reviewed-by: Igor Mammedov
Signed-off-by: Andreas Färber
---
target-i386/cpu.c | 7 ---
1 file changed, 4 insertions(+), 3 deletio
Instead of forwarding from cris_cpu_do_interrupt() to do_interruptv10(),
override CPUClass::do_interrupt with crisv10_cpu_do_interrupt() in the
newly introduced class_init functions.
Acked-by: Edgar E. Iglesias
Signed-off-by: Andreas Färber
---
target-cris/cpu-qom.h | 1 +
target-cris/cpu.c
From: Igor Mammedov
When APIC is hotplugged during CPU hotplug, device_set_realized()
calls device_reset() on it. And if QEMU runs in KVM mode, following
call chain will fail:
apic_reset_common()
-> kvm_apic_vapic_base_update()
-> kvm_vcpu_ioctl(cpu->kvm_fd,...)
due to cpu
From: Igor Mammedov
Signed-off-by: Igor Mammedov
Reviewed-by: Paolo Bonzini
Reviewed-by: Eduardo Habkost
Signed-off-by: Andreas Färber
---
target-i386/cpu.c | 17 ++---
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/target-i386/cpu.c b/target-i386/cpu.c
index 0a4e
From: Igor Mammedov
Signed-off-by: Igor Mammedov
Signed-off-by: Andreas Färber
---
hw/intc/ioapic_common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/intc/ioapic_common.c b/hw/intc/ioapic_common.c
index 42c7adc..5c5bb3c 100644
--- a/hw/intc/ioapic_common.c
+++ b/hw/
Hello,
This is my current QOM CPU patch queue. Please pull.
It includes:
* -cpu ? fixes,
* preparations for x86 CPU static properties,
* preparations for x86 CPU hot-plug,
* preparations for x86 CPUID features array cleanup,
* do_interrupt cleanup for cris.
Regards,
Andreas
Cc: Anthony Liguori
From: Igor Mammedov
Move CPU creation and features parsing into a separate cpu_x86_create()
function, so that board would be able to set board-specific CPU
properties before CPU is realized.
Keep cpu_x86_init() for compatibility with the code that uses cpu_init()
and doesn't need to modify CPU p
From: Igor Mammedov
Signed-off-by: Igor Mammedov
[AF: Use new qdev_prop_set_after_realize()]
Signed-off-by: Andreas Färber
---
hw/core/qdev-properties.c| 33 +
include/hw/qdev-properties.h | 10 ++
2 files changed, 43 insertions(+)
diff --git a/hw/c
From: Igor Mammedov
... and define type name and type cast macro for kvmvapic according
to accepted convention.
Signed-off-by: Igor Mammedov
Signed-off-by: Andreas Färber
---
hw/i386/kvmvapic.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/hw/i386/kvmvapic.c b/hw/
From: Jan Kiszka
kvm_enabled() cannot be true at this point because accelerators are
initialized much later during init. Also, hiding this makes it very hard
to discover for users. Simply dump unconditionally if CONFIG_KVM is set.
Add explanation for "host" CPU type.
Signed-off-by: Jan Kiszka
From: Jan Kiszka
We were missing a bunch of feature lists. Fix this by simply dumping
the meta list feature_word_info.
Signed-off-by: Jan Kiszka
Reviewed-by: Igor Mammedov
Signed-off-by: Andreas Färber
---
target-i386/cpu.c | 14 ++
1 file changed, 6 insertions(+), 8 deletions(-)
From: Michael S. Tsirkin
Signed-off-by: Michael S. Tsirkin
Signed-off-by: Laszlo Ersek
---
include/hw/i386/apic.h |2 ++
hw/i386/pc.c |2 --
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/hw/i386/apic.h b/include/hw/i386/apic.h
index 1d48e02..edbb37f 1
From: Peter Crosthwaite
If there is no backing bdrv, let the debugging developer know about it.
Signed-off-by: Peter Crosthwaite
---
hw/block/m25p80.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c
index a2816c1..f8b6409 100644
-
From: Peter Crosthwaite
The debug printfs on every page program/read is extremely verbose. Add
a second level of debug for this.
Signed-off-by: Peter Crosthwaite
---
hw/block/m25p80.c | 40 +---
1 files changed, 21 insertions(+), 19 deletions(-)
diff --g
From: Peter Crosthwaite
Some of the debug printfs in m25p80 are really guest errors.
Changed over to qemu_log_mask(LOG_GUEST_ERROR accordingly.
Signed-off-by: Peter Crosthwaite
---
hw/block/m25p80.c | 12 +++-
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/hw/block/m
From: Peter Crosthwaite
Some dodgy casts were making a mess of these msgs.
Signed-off-by: Peter Crosthwaite
---
Remove misleading "k" suffix from erase size message
Use PRIxN macros where appropriate (Edgar review)
hw/block/m25p80.c | 13 +++--
1 files changed, 7 insertions(+), 6 de
From: Peter Crosthwaite
Fix up the debug printfery m25p80 in various ways. 0 functional diff.
changed from v2:
Rebased against hw reorg
Peter Crosthwaite (4):
m25p80: Fix debug messages.
m25p80: Convert guest errors to LOG_GUEST_ERROR
m25p80.c: Multiple debug verbosity levels
m25p80: A
From: Peter Crosthwaite
Implement flow control for the RX data path from xilinx_axienet->xilinx_axidma.
On short return from axidma, then ethernet sets up the notify callback to resume
transfer from where it left off.
This also allows the ethernet to track whether there is an in progress
transa
From: Peter Crosthwaite
If there is no DMA buffer descriptor, the DMA halts, not idles.
Signed-off-by: Peter Crosthwaite
Acked-by: Edgar E. Iglesias
---
changed from v3:
Fixed for TX path as well as RX
hw/dma/xilinx_axidma.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff
From: Peter Crosthwaite
The uint32_t *app argument doesn't exist in real hardware. It was a hack in
xilinx_axidma/enet to fake the (secondary) control stream connection. Removed
the argument and added the second stream to axienet/dma.
Signed-off-by: Peter Crosthwaite
---
changed since v3:
Rebas
From: Peter Crosthwaite
Create a separate child object to proxy the stream slave connection. This is
setup for future work where a second stream slave connection is needed. The
new child object is created at qdev init time and is linked back to the parent
(the ethernet device itself) automaticall
From: Peter Crosthwaite
Create a separate child object to proxy the stream slave connection. This is
setup for future work where a second stream slave connection is needed. The
new child object is created at qdev init time and is linked back to the parent
(the ethernet device itself) automaticall
From: Peter Crosthwaite
Add basic flow control to stream. A stream slave may return short, indicating
that it is not capable of accepting any more data at the present time. Polling
or a callback can be used via the can_push() function to determine when the
slave can receive again.
Signed-off-by:
From: Peter Crosthwaite
Register the reset function and the Device::reset function rather than
explicitly call it from the sysbus::init.
Signed-off-by: Peter Crosthwaite
Reviewed-by: Andreas Färber
Acked-by: Edgar E. Iglesias
---
hw/net/xilinx_axienet.c |6 --
1 files changed, 4 ins
From: Peter Crosthwaite
Just attach devices straight to the root machine node, rather than the
"unattached node"
Signed-off-by: Peter Crosthwaite
Reviewed-by: Andreas Färber
Acked-by: Edgar E. Iglesias
---
Suggested (indirectly) by Andreas if he wants to put his Suggested-by to it.
hw/micro
From: Peter Crosthwaite
Explicitly make the ethernet a child of the machine. This is needed to set
and use links pre-realize. Also makes the ethernet initialization consistent
with its peer DMA.
Signed-off-by: Peter Crosthwaite
Reviewed-by: Andreas Färber
Acked-by: Edgar E. Iglesias
---
hw/
From: Peter Crosthwaite
Standard QOM cast macro. Replaces usages of FROM_SYSBUS
Signed-off-by: Peter Crosthwaite
Acked-by: Edgar E. Iglesias
---
hw/dma/xilinx_axidma.c | 13 +
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/hw/dma/xilinx_axidma.c b/hw/dma/xilinx_
Again, this enables reuse when preparing per-table fw_cfg blobs later.
Signed-off-by: Laszlo Ersek
---
include/hw/acpi/acpi.h |2 ++
hw/acpi/core.c |2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/include/hw/acpi/acpi.h b/include/hw/acpi/acpi.h
index bc7e107.
From: Peter Crosthwaite
The prescribed transition from SysBusDevice::init to Device::realize. I'm going
with Andreas suggestion to move the sysbus foo to Object::init for early IRQ
visibility.
Signed-off-by: Peter Crosthwaite
Acked-by: Edgar E. Iglesias
---
hw/dma/xilinx_axidma.c | 26
From: Peter Crosthwaite
Typedef xilinx_axidma's object state struct to shorten the repeated usages of
struct XilinxAXIDMA.
Signed-off-by: Peter Crosthwaite
Acked-by: Edgar E. Iglesias
---
hw/dma/xilinx_axidma.c | 16 +---
1 files changed, 9 insertions(+), 7 deletions(-)
diff -
Currently some places use pointer-to-void even though they mean
pointer-to-FWCfgState. Clean them up.
Signed-off-by: Laszlo Ersek
---
hw/i386/multiboot.h |4 +++-
include/hw/i386/pc.h | 19 ++-
include/hw/loader.h |3 ++-
hw/acpi/piix4.c |2 +-
hw/core/loader
From: Peter Crosthwaite
Register the reset function as the Device::reset function rather than
explicitly call it from the sysbus::init.
Signed-off-by: Peter Crosthwaite
Acked-by: Edgar E. Iglesias
---
hw/dma/xilinx_axidma.c | 12 +++-
1 files changed, 11 insertions(+), 1 deletions(
From: Peter Crosthwaite
The prescribed transition from SysBusDevice::init to Device::realize. Im going
with Andreas suggestion to move the sysbus foo to Object::init for early IRQ
visibility.
Signed-off-by: Peter Crosthwaite
Reviewed-by: Andreas Färber
Acked-by: Edgar E. Iglesias
---
Changed
Signed-off-by: Laszlo Ersek
---
hw/acpi/core.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/acpi/core.c b/hw/acpi/core.c
index 64b8718..69cadb0 100644
--- a/hw/acpi/core.c
+++ b/hw/acpi/core.c
@@ -86,7 +86,7 @@ static int acpi_checksum(const uint8_t *data, int len
This enables reuse when preparing per-table fw_cfg blobs later.
Signed-off-by: Laszlo Ersek
---
include/hw/acpi/acpi.h |2 ++
hw/acpi/core.c | 39 ---
2 files changed, 26 insertions(+), 15 deletions(-)
diff --git a/include/hw/acpi/acpi.h b/inclu
This patch reuses some code from SeaBIOS, which was originally under
LGPLv2 and then relicensed to GPLv3 or LGPLv3, in QEMU under GPLv2+. This
relicensing has been acked by all contributors that had contributed to the
code since the v2->v3 relicense. ACKs approving the v2+ relicensing are
listed be
This enables reuse when preparing per-table fw_cfg blobs later.
Signed-off-by: Laszlo Ersek
---
include/hw/acpi/acpi.h | 11 +++
hw/acpi/core.c | 48 +---
2 files changed, 32 insertions(+), 27 deletions(-)
diff --git a/include/hw/a
v1 blurb:
This series exports the MADT (APIC) ACPI table under the new
"etc/acpi/APIC" fw_cfg file. I sought to follow the requirements set
forth in [1], the new table is only visible in the patched/patched
case. I cross-tested { master, patched } qemu with { master, patched }
seabios (t
From: Peter Crosthwaite
Standard QOM cast macro. Replaces usages of FROM_SYSBUS
Signed-off-by: Peter Crosthwaite
Reviewed-by: Andreas Färber
Acked-by: Edgar E. Iglesias
---
hw/net/xilinx_axienet.c | 11 ---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/hw/net/xili
From: Peter Crosthwaite
Typedef xilinx_axienets object state struct to shorten the repeated usages of
struct XilinxAXIEnet.
Signed-off-by: Peter Crosthwaite
Reviewed-by: Andreas Färber
Acked-by: Edgar E. Iglesias
---
hw/net/xilinx_axienet.c | 44 +++
From: Peter Crosthwaite
Hi all. The Xilinx AXIEnet and DMA devices have two AXI stream connections
(control and data), only one of which is currently modelled (data). AXI stream
is modelled using the stream QOM interface described in stream.h. Unfortunately,
interfaces have no nice way of modelli
KVM in-kernel MPIC support is going to expand this even more,
so let's keep it contained.
Signed-off-by: Scott Wood
---
hw/ppc/e500.c | 56 ++--
1 file changed, 34 insertions(+), 22 deletions(-)
diff --git a/hw/ppc/e500.c b/hw/ppc/e500.c
ind
This depends on RFC kernel interfaces proposed at:
http://patchwork.ozlabs.org/patch/236285/
http://patchwork.ozlabs.org/patch/236288/
http://patchwork.ozlabs.org/patch/236290/
TODO: use KVM_IRQ_LINE
Signed-off-by: Scott Wood
---
hw/kvm/Makefile.objs |1 +
hw/kvm/openpic.c | 259 ++
These headers have not yet been merged into Linux -- this is an RFC
patchset.
Signed-off-by: Scott Wood
---
linux-headers/asm-powerpc/kvm.h | 16
linux-headers/linux/kvm.h | 34 ++
2 files changed, 50 insertions(+)
diff --git a/linux-he
...for use by the KVM in-kernel irqchip stub.
Signed-off-by: Scott Wood
---
hw/openpic.c | 40 ++--
hw/openpic.h | 11 +++
2 files changed, 29 insertions(+), 22 deletions(-)
diff --git a/hw/openpic.c b/hw/openpic.c
index 03a7075..b655381 100644
--
This is useful for when a user of the memory region API needs to
communicate the absolute bus address to something outside QEMU
(in particular, KVM).
Signed-off-by: Scott Wood
---
TODO: Use add/del memory listeners later in the patchset, which would
eliminate the need for this patch.
---
include
This allows QEMU to use the in-kernel KVM MPIC on some PPC platforms.
Scott Wood (6):
kvm: update linux-headers
kvm: use hw/kvm/Makefile.objs consistently for all relevant
architectures
memory: add memory_region_to_address()
openpic: factor out some common defines into openpic.h
PPC:
Signed-off-by: Scott Wood
---
Build tested on ppc and x86, but not arm as I currently lack a suitable
toolchain.
Maybe TARGET_I386 should be set on x86_64, instead of needing to
test TARGET_BASE_ARCH in Makefile.objs? It seems odd that it's set
for x86_64 in C code, but not in the makefiles.
---
"Michael S. Tsirkin" writes:
> On Mon, Apr 15, 2013 at 07:28:58AM -0500, Anthony Liguori wrote:
>> "Michael S. Tsirkin" writes:
>>
>> > The following changes since commit
>> > e2ec3f976803b360c70d9ae2ba13852fa5d11665:
>> >
>> > qjson: to_json() case QTYPE_QSTRING is buggy, rewrite (2013-04-1
On 04/16/2013 01:55 AM, Markus Armbruster wrote:
Alexey Kardashevskiy writes:
On 04/15/2013 10:57 PM, Markus Armbruster wrote:
Alexey Kardashevskiy writes:
On 04/15/2013 08:01 PM, Peter Maydell wrote:
On 15 April 2013 10:50, Alexey Kardashevskiy wrote:
/home/alexey/pcipassthru/qemu-impr
On Tue, Apr 16, 2013 at 12:03:10AM +0200, Aurelien Jarno wrote:
> On Tue, Apr 16, 2013 at 12:36:36AM +0300, Michael S. Tsirkin wrote:
> > On Mon, Apr 15, 2013 at 06:17:18PM +0200, Paolo Bonzini wrote:
> > > Il 15/04/2013 17:02, Paolo Bonzini ha scritto:
> > > > Il 15/04/2013 11:18, Michael S. Tsirk
On Mon, Apr 15, 2013 at 07:28:58AM -0500, Anthony Liguori wrote:
> "Michael S. Tsirkin" writes:
>
> > The following changes since commit e2ec3f976803b360c70d9ae2ba13852fa5d11665:
> >
> > qjson: to_json() case QTYPE_QSTRING is buggy, rewrite (2013-04-13
> > 19:40:25 +)
> >
> > are available
On Mon, Apr 15, 2013 at 09:07:01AM -0400, Michael R. Hines wrote:
> On 04/15/2013 02:00 AM, Michael S. Tsirkin wrote:
> >On Sun, Apr 14, 2013 at 09:06:36PM -0400, Michael R. Hines wrote:
> >>On 04/14/2013 05:10 PM, Michael S. Tsirkin wrote:
> >>>On Sun, Apr 14, 2013 at 03:06:11PM -0400, Michael R.
On 04/15/2013 04:12 PM, Igor Mammedov wrote:
> ... via current_machine->cpu_hot_add() hook called by cpu-set QMP command,
> for x86 target.
>
> cpu-add's "id" argument is a CPU thread number in a range [0..max-cpus - 1)
Off by one. It's either [0..max-cpus) or [0..max-cpus - 1] (they mean
the sa
* inherit IOAPICs from ICCDevice and attach them to ICC bus
* map IOAPIC's mmio at board level via indirect icc-bridge
mmio region that provides address space to IOAPIC via
icc-bus
Signed-off-by: Igor Mammedov
---
* do not create IOAPIC in icc-bridge and do not make it QOM child
of ic
... to allow it to be hotplugged
* map APIC's mmio at board level if it is present
* do not register mmio region for each APIC, since
only one is used/mapped
Signed-off-by: Igor Mammedov
---
hw/cpu/icc_bus.c| 15 ++-
hw/i386/kvmvapic.c | 1 +
hw/i3
... and put APIC_SPACE_SIZE in public header so that it could be
reused later elsewhere.
Signed-off-by: Igor Mammedov
---
hw/i386/kvm/apic.c | 2 +-
hw/intc/apic.c | 2 +-
hw/xen/xen_apic.c | 2 +-
include/hw/i386/apic_internal.h | 2 --
target-i386/cp
... and use it from board level to set APIC ID for CPUs
it creates.
Signed-off-by: Igor Mammedov
Reviewed-by: Paolo Bonzini
---
Note:
* pc_new_cpu() function will be reused later in CPU hot-plug hook.
v3:
* user error_propagate() in property setter
v2:
* use generic cpu_exists() instead o
1 - 100 of 422 matches
Mail list logo