Re: [Qemu-devel] [PULL] s390: cleanups and fixes

2013-09-12 Thread Anthony Liguori
up. Please send a v2 pull request without the cover letter reply and I'll process it. Regards, Anthony Liguori Christian Borntraeger (2): s390/dump: zero out padding bytes in notes sections s390/ipl: Update

Re: [Qemu-devel] Wiki vandalism

2013-09-13 Thread Anthony Liguori
=Google_Summer_of_Code_2011diff=prevoldid=1694 Thanks for reporting. Anthony, please disable that user account. I started fixing the vandalized pages. Done. Thanks for reporting! Regards, Anthony Liguori

Re: [Qemu-devel] [PULL 00/15] trivial patches for 2013-09-14

2013-09-17 Thread Anthony Liguori
=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3) Regards, Anthony Liguori /mjt The following changes since commit 2d1fe1873a984d1c2c89ffa3d12949cafc718551: Merge remote-tracking branch 'pmaydell/tags/pull-target-arm-20130910

Re: [Qemu-devel] [PATCH 02/11] s390/sclpconsole: Add code to support live migration for sclpconsole

2013-09-19 Thread Anthony Liguori
vmstate_register(NULL, 0, vmstate_sclpconsole, scon); If I understand Anthony correctly a vmstate_register() call means you didn't convert something to QOM correctly :). In this case, the line is just wrong. In console_class_init, you should assign dc-vmsd = vmstate_slcpconsole. Regards, Anthony

[Qemu-devel] [PATCH] hmp: block-stream: fix typo

2013-09-20 Thread Anthony Liguori
Found this by enabling C++ errors. The bool and enum arguments are mistakenly flipped. Signed-off-by: Anthony Liguori anth...@codemonkey.ws --- hmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hmp.c b/hmp.c index 2a90295..5891507 100644 --- a/hmp.c +++ b/hmp.c

Re: [Qemu-devel] ChrEMU - Virtualization in the Browser

2013-09-23 Thread Anthony Liguori
or stack switching are probably not allowed under Native Client since they are unsafe! I'm pretty sure coroutines would provide difficult to port too. Regards, Anthony Liguori Maybe I'm wrong and it's possible, but the first thing to check is the constraints that Native Client puts

Re: [Qemu-devel] [PATCH] seccomp: adding times() to the whitelist

2013-09-23 Thread Anthony Liguori
: Supported F: qemu-seccomp.c F: include/sysemu/seccomp.h You should be sending a pull request Eduardo. Regards, Anthony Liguori --- qemu-seccomp.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/qemu-seccomp.c b/qemu-seccomp.c index 37d38f8..69cee44 100644

Re: [Qemu-devel] Virtio Polling Mode

2013-09-28 Thread Anthony Liguori
Hi Yaohui, Yes, there is a flag associated both with the used and the avail rings to disable notifications. This can be used to implement polling. There have been multiple research projects/papers that have experimented with polling. Regards, Anthony Liguori On Fri, Sep 27, 2013 at 1:56 PM

Re: [Qemu-devel] [PATCH 1/2] Fix real mode guest migration

2013-07-22 Thread Anthony Liguori
around an old kernel? If so, is the kernel advertising that it now handles this state correctly via a capability? If not, it probably should. Regards, Anthony Liguori Paolo +if (!(env-cr[0] CR0_PE_MASK) + (env-segs[R_CS].flags DESC_DPL_SHIFT 3) != 0) { +env-segs[R_CS

Re: [Qemu-devel] [PATCH 0/9] Add platform bus

2013-07-22 Thread Anthony Liguori
. Regards, Anthony Liguori Alex Alexander Graf (9): PlatBus: Add Platform Bus PlatBus: Add abstract Platform Device PlatBus: Add Sysbus/Platform bridge device PlatBus: Hook up into Makefile system PPC: Add platform bus to the default compile set PlatBus: Add serial-platbus device

Re: [Qemu-devel] [PATCH 0/9] Add platform bus

2013-07-22 Thread Anthony Liguori
Alexander Graf ag...@suse.de writes: On 22.07.2013, at 21:38, Anthony Liguori wrote: Alexander Graf ag...@suse.de writes: tl;dr, this is a PV bus for the e500 described as something more generic. I don't buy it. I don't think there are many platforms or devices out there where you can

Re: [Qemu-devel] [PATCH RFC qom-next 4/4] pcie_port: Turn PCIEPort and PCIESlot into abstract QOM types

2013-07-22 Thread Anthony Liguori
as it is a PCIEPort. That said, for consistency, I think having everything be relatively to *one* type for a Property list is pretty helpful. Expecting someone to know the type hierarchy by heart such that this doesn't look like a bug is too much IMHO. Regards, Anthony Liguori What are the advantages

Re: [Qemu-devel] [PATCH 0/9] Add platform bus

2013-07-22 Thread Anthony Liguori
Peter Maydell peter.mayd...@linaro.org writes: On 22 July 2013 20:52, Anthony Liguori anth...@codemonkey.ws wrote: Alexander Graf ag...@suse.de writes: On 22.07.2013, at 21:38, Anthony Liguori wrote: This could be used just the same for ARM's mach-virt, so I'd rather not make it e500

Re: [Qemu-devel] [PATCH 0/9] Add platform bus

2013-07-23 Thread Anthony Liguori
that important. Regards, Anthony Liguori -- PMM

Re: [Qemu-devel] [PATCH v2 00/11] pseries: migration and QOM support

2013-07-23 Thread Anthony Liguori
Anthony Liguori aligu...@us.ibm.com writes: This series is based on Alexey's series: spapr: migration, pci, msi, power8 Which in turn was based on work by David Gibson. I've removed the bits not related to migration and made the following changes: 1) QOMify TCE tables and XICS 2

[Qemu-devel] KVM Forum 2013 Call for Participation - Extended to August 4th

2013-07-23 Thread Anthony Liguori
We have received numerous requests to extend the CFP deadline and so we are happy to announce that the CFP deadline has been moved by two weeks to August 4th. = KVM Forum 2013: Call For Participation October 21-23, 2013 - Edinburgh

Re: [Qemu-devel] [PATCH] configure: Remove ldscripts

2013-07-23 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH] memory: Fix zero-sized memory region print

2013-07-23 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH 0/2] Provide sextract32() and sextract64()

2013-07-23 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH v4 00/12] Boot order tests

2013-07-23 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH 0/4] po/Makefile: Fix regression and some minor issues

2013-07-23 Thread Anthony Liguori
. I can't see any reason off hand but will investigate further. Is it possible you sent this differently than you have sent series in the past? At any rate, it's enqueued now, will push shortly after testing completes. Sorry about that. Regards, Anthony Liguori Stefan

Re: [Qemu-devel] [PATCH 0/4] po/Makefile: Fix regression and some minor issues

2013-07-23 Thread Anthony Liguori
On Tue, Jul 23, 2013 at 3:47 PM, Anthony Liguori aligu...@us.ibm.com wrote: Stefan Weil s...@weilnetz.de writes: Am 18.07.2013 21:52, schrieb Stefan Weil: Am 16.07.2013 07:16, schrieb Stefan Weil: Am 05.07.2013 22:55, schrieb Stefan Weil: These patches are included: [PATCH 1/4] po/Makefile

[Qemu-devel] [ANNOUNCE] Key Signing Party at KVM Forum 2013

2013-07-24 Thread Anthony Liguori
who will attend the event. I will also be attending LinuxCon/CloudOpen/Plumbers North America if anyone wants to have another key signing party at that event and cannot attend KVM Forum. Regards, Anthony Liguori

Re: [Qemu-devel] [Qemu-trivial] [PULL trivial 0/5] trivial patches for 2013-07-19

2013-07-24 Thread Anthony Liguori
(m_hdr,m_dat) indirection Any idea when this might get pulled? The FreeBSD build is broken until this slirp fix makes it in. Two days ago. Regards, Anthony Liguori

Re: [Qemu-devel] vhost acceleration broken?

2013-07-24 Thread Anthony Liguori
acceleration. It's quite possible that I've screwed up qemu's impenetrable command line (-net or -netdev, who knows what's better?). It is for -net. The whole vlan concept sucks and makes it too hard to do offload or vhost. It's still around for compatibility. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH 00/28] Memory API for 1.6: fix I/O port endianness mess

2013-07-25 Thread Anthony Liguori
if 'make check' fails. It's the ultimately way to prevent things like this from happening. I'd rather the tree is broken for a week and we get the proper fix merged than go through a big production of reverting things. Regards, Anthony Liguori (BTW. The EHCI problem doesn't seem limited to SLOF

Re: [Qemu-devel] [PATCH 00/28] Memory API for 1.6: fix I/O port endianness mess

2013-07-25 Thread Anthony Liguori
that a mailing list is not useful. This is a technical problem, not a social one. One something is broken, it's a hell of a lot harder to fix than it is to prevent something from breaking in the first place. If you want to prevent minor architecture regressions, add unit tests. Regards, Anthony Liguori

Re: [Qemu-devel] vhost acceleration broken?

2013-07-25 Thread Anthony Liguori
Rusty Russell ru...@rustcorp.com.au writes: Anthony Liguori anth...@codemonkey.ws writes: On Wed, Jul 24, 2013 at 8:55 PM, Rusty Russell ru...@rustcorp.com.au wrote: Hi all, Using latest kernel and master qemu, the following doesn't use vhost acceleration: sudo qemu-system-x86_64

Re: [Qemu-devel] [PATCH 00/28] Memory API for 1.6: fix I/O port endianness mess

2013-07-25 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH 00/28] Memory API for 1.6: fix I/O port endianness mess

2013-07-25 Thread Anthony Liguori
a volunteer to more actively maintain it. If anyone is interested please let me know. Regards, Anthony Liguori -- PMM

Re: [Qemu-devel] [PATCH 00/28] Memory API for 1.6: fix I/O port endianness mess

2013-07-25 Thread Anthony Liguori
then that would be useful. A 24 hour turnaround means I've already sent the pullrequest before the buildbot kicks off. It's still useful for me though because by the time I process it, buildbot has had a chance to run. Regards, Anthony Liguori Also: * I just tried to check http

Re: [Qemu-devel] vhost acceleration broken?

2013-07-25 Thread Anthony Liguori
Michael S. Tsirkin m...@redhat.com writes: On Thu, Jul 25, 2013 at 04:56:05PM +0200, Andreas Färber wrote: Am 25.07.2013 16:52, schrieb Michael S. Tsirkin: On Thu, Jul 25, 2013 at 08:28:00AM -0500, Anthony Liguori wrote: We have a pretty awful legacy command line set that comes from years

Re: [Qemu-devel] Cirrus VGA slow screen update, show blank screen last 13s or so for windows XP guest

2013-07-25 Thread Anthony Liguori
doesn't have an optimization like this. Regards, Anthony Liguori On Thu, Jul 25, 2013 at 8:13 AM, Gonglei (Arei) arei.gong...@huawei.com wrote: Hi, I found a problem: For windows XP guest booting by qemu upstream, using the RDP(Remote Desktop Protocol) and VNC protocol to connect

Re: [Qemu-devel] Cirrus VGA slow screen update, show blank screen last 13s or so for windows XP guest

2013-07-25 Thread Anthony Liguori
On Thu, Jul 25, 2013 at 10:08 PM, Gonglei (Arei) arei.gong...@huawei.com wrote: -Original Message- From: Anthony Liguori [mailto:anth...@codemonkey.ws] Sent: Friday, July 26, 2013 10:09 AM To: Gonglei (Arei) Cc: qemu-devel@nongnu.org; xen-de...@lists.xen.org; Hanweidong; Luonengjun

Re: [Qemu-devel] [PATCH 0/9] Our QAPI parser is a hack, replace it

2013-07-26 Thread Anthony Liguori
(', '') exprs = list(qapi_parse(data)) print exprs Regards, Anthony Liguori Markus Armbruster (9): tests: QAPI schema parser tests tests: Use qapi-schema-test.json as schema parser test qapi.py: Restructure lexer and parser qapi.py: Decent syntax error reporting qapi.py

Re: [Qemu-devel] [PATCH 0/9] Our QAPI parser is a hack, replace it

2013-07-26 Thread Anthony Liguori
Markus Armbruster arm...@redhat.com writes: Anthony Liguori aligu...@us.ibm.com writes: Markus Armbruster arm...@redhat.com writes: If you think I'm exaggerating, check out the list of issues in PATCH 3/9. You are not. However, I think we can drop the whole thing and just use the JSON

Re: [Qemu-devel] [PULL v2 for-1.6 0/3] tcg-next patch queue

2013-07-26 Thread Anthony Liguori
Had just applied the previous one FWIW. Sorry for the delay. Regards, Anthony Liguori On Fri, Jul 26, 2013 at 2:25 PM, Richard Henderson r...@twiddle.net wrote: This is ping 3 for this pull request. Re-sending with more tags in the subject, and rebased vs today's master, just to be sure

Re: [Qemu-devel] vhost acceleration broken?

2013-07-28 Thread Anthony Liguori
a look at it for 1.7. Regards, Anthony Liguori Thanks, Rusty.

[Qemu-devel] REMINDER: Hard freeze is today

2013-07-29 Thread Anthony Liguori
Please have all pull requests/patches on the mailing list no later than 5PM US/Central (22:00 UTC). Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH v3 00/14] qemu: generate acpi tables for the guest

2013-07-29 Thread Anthony Liguori
Michael S. Tsirkin m...@redhat.com writes: This code can also be found here: git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git acpi Please review, and consider for 1.6. This isn't ready for 1.6 so it's going to have to wait for 1.7. Regards, Anthony Liguori Changes from v2 repost

Re: [Qemu-devel] [BUG] GTK terminal is broken

2013-07-29 Thread Anthony Liguori
Linux) don't show this problem. It's a GTK/Cygwin/X bug. We use a vbox without anything particularly fancy happening. Looks like something is calculating layout incorrectly. Regards, Anthony Liguori http://qemu.weilnetz.de/test/bugs/qemu-gtk-demo2.png This shows crippled output of help

Re: [Qemu-devel] [BUG] GTK terminal is broken

2013-07-29 Thread Anthony Liguori
Stefan Weil s...@weilnetz.de writes: Am 29.07.2013 20:05, schrieb Anthony Liguori: Stefan Weil s...@weilnetz.de writes: Hello, maybe most developers will already have noticed that the terminal output in QEMU's GTK user interface is broken. As far as I know, it never worked

Re: [Qemu-devel] [PULL] seabios: update to 1.7.3

2013-07-29 Thread Anthony Liguori
Pulled. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH for-1.6 v2] memory: add tracepoints for MMIO reads/writes

2013-07-29 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH v2 0/9] Our QAPI parser is a hack, replace it

2013-07-29 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH 00/19 v4] spapr: migration, pci, msi, power8

2013-07-29 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH] spapr-vscsi: fix SOLNT bit in SRP_RSP

2013-07-29 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCHv3 0/2] seccomp: remove unused syscalls - for 1.6

2013-07-29 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH for-1.6?] tpm.c: Don't try to put -1 in a variable of type TpmModel

2013-07-29 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH v2 00/11] pseries: migration and QOM support

2013-07-29 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH v4 0/3] qemu-help: improve -device command line help

2013-07-29 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH v2 0/3] qemu-char: ringbuf fixes

2013-07-29 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [RFC PATCH 0/2] qemu-help: improve -device command line help

2013-07-29 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [RFC PATCH 0/2] qemu-help: improve -device command line help

2013-07-29 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [BUG] GTK terminal is broken

2013-07-29 Thread Anthony Liguori
Stefan Weil s...@weilnetz.de writes: Am 29.07.2013 22:34, schrieb Andreas Färber: Am 29.07.2013 21:27, schrieb Stefan Weil: Am 29.07.2013 20:55, schrieb Anthony Liguori: Stefan Weil s...@weilnetz.de writes: Am 29.07.2013 20:05, schrieb Anthony Liguori: Stefan Weil s...@weilnetz.de writes

Re: [Qemu-devel] [PATCH 0/6] spapr: migration for vio, vio-lan, vio-tty, pseries, pci, ppc cpu

2013-07-29 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH] migration: don't use uninitialized variables

2013-07-29 Thread Anthony Liguori
for the parameter. This was part of the discussion way back when this all was first introduced. Since everything was open coded and we had to preserve the semantics, that was the only choice we had. Regards. Anthony Liguori

[Qemu-devel] [ANNOUNCE] QEMU 1.6.0-rc0 is now available

2013-07-29 Thread Anthony Liguori
://wiki.qemu.org/ChangeLog/Next Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH for-1.6 0/5] qtest: Output cleanup

2013-07-30 Thread Anthony Liguori
Andreas Färber afaer...@suse.de writes: Hello, This mini-series cleans up noisy make check output from endian-test. Reviewed-by: Anthony Liguori aligu...@us.ibm.com Although this is pretty ugly to have to do. It would be nicer to have something as a machine property indicating

Re: [Qemu-devel] [PATCH for-1.6? 04/14] gumstix: Don't enforce use of -pflash for qtest

2013-07-30 Thread Anthony Liguori
? Is that reasonable in practice or are there cases where we must specify parameters for a machine? If the above is true, then I don't think there should be if (qtest_enabled())s guarding this stuff. Regards, Anthony Liguori --- hw/arm/gumstix.c | 31 +++ 1 file

Re: [Qemu-devel] [PATCH] migration: don't use uninitialized variables

2013-07-30 Thread Anthony Liguori
On Tue, Jul 30, 2013 at 1:39 AM, Markus Armbruster arm...@redhat.com wrote: Anthony Liguori anth...@codemonkey.ws writes: This was part of the discussion way back when this all was first introduced. Since everything was open coded and we had to preserve the semantics, that was the only

Re: [Qemu-devel] [PATCH] spapr-pci: rework MSI/MSIX

2013-07-31 Thread Anthony Liguori
. Signed-off-by: Alexey Kardashevskiy a...@ozlabs.ru Reviewed-by: Anthony Liguori aligu...@us.ibm.com Does this actually fix any bug or is this just refactoring? If it's the later, it'll have to wait until after the 1.7 window opens up. Regards, Anthony Liguori --- hw/ppc/spapr.c

Re: [Qemu-devel] [PATCH 4/4] xics: Support for in-kernel XICS interrupt controller

2013-07-31 Thread Anthony Liguori
, +.addr = (uintptr_t)state, +}; +int ret; + +if (!ss-cs) { +return 0; /* kernel irqchip not in use */ +} assert? Regards, Anthony Liguori + +state = ((uint64_t)ss-xirr KVM_REG_PPC_ICP_XISR_SHIFT) +| ((uint64_t)ss-mfrr

Re: [Qemu-devel] [PATCH 2/2] LICENSE: clarify

2013-07-31 Thread Anthony Liguori
, 2011-11-15). Do not put words in his mouth. I think it's better at this point to just put QEMU team. Fabrice is no longer associated with the project. Regards, Anthony Liguori Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- LICENSE | 15 ++- 1 file changed, 10

Re: [Qemu-devel] [PATCH] spapr-pci: rework MSI/MSIX

2013-07-31 Thread Anthony Liguori
Alexey Kardashevskiy a...@ozlabs.ru writes: On 08/01/2013 04:02 AM, Anthony Liguori wrote: Alexey Kardashevskiy a...@ozlabs.ru writes: On the sPAPR platform a guest allocates MSI/MSIX vectors via RTAS hypercalls which return global IRQ numbers to a guest so it only operates with those

[Qemu-devel] [ANNOUNCE] QEMU 1.6.0-rc1 is now available

2013-08-01 Thread Anthony Liguori
(Alexey Kardashevskiy) - uhci: egsm fix (Gerd Hoffmann) - xhci: handle USB_RET_IOERROR (Gerd Hoffmann) - spice: fix display initialization (Gerd Hoffmann) Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH for 1.6] tci: Fix broken build (compiler warning caused by redefined macro BIT)

2013-08-02 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH] seccomp: add additional asynchronous I/O syscalls

2013-08-02 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH v2 for-1.6] chardev: fix CHR_EVENT_OPENED events for mux chardevs

2013-08-02 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH for-1.6 v3 0/7] pc: limit 64 bit hole to 2G by default

2013-08-02 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH] seccomp: add arch_prctl() to the syscall whitelist

2013-08-02 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH for-1.6 0/2] Fix clang warnings in linux-user signal code

2013-08-02 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH v2 0/2] Fix qdev 32-bit compilation

2013-08-02 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH 00/16 RFC v6] ACPI memory hotplug

2013-08-02 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH 0/4] Rename all 'dprintf' macros to 'DPRINTF'

2013-08-02 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH for-1.6 0/5] qtest: Output cleanup

2013-08-02 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH for-1.6] linux-user: Return success from m68k set_thread_area syscall

2013-08-02 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH v2] Adds the ability to use the command key in the guest operating system.

2013-08-04 Thread Anthony Liguori
way for all front-ends. The right way to handle this would be to access the hardware keycode and avoid the keymap table entirely. I'm sure there is such an API in Cocoa... Regards, Anthony Liguori -- PMM

Re: [Qemu-devel] Versioned machine types for ARM/non-x86 ? (Was Re: [PATCH v4 0/2] ARM: add 'virt' platform)

2013-08-05 Thread Anthony Liguori
. Regards, Anthony Liguori Regards, Daniel -- |: http://berrange.com -o-http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http

Re: [Qemu-devel] Versioned machine types for ARM/non-x86 ? (Was Re: [PATCH v4 0/2] ARM: add 'virt' platform)

2013-08-05 Thread Anthony Liguori
Daniel P. Berrange berra...@redhat.com writes: On Mon, Aug 05, 2013 at 08:28:50AM -0500, Anthony Liguori wrote: Daniel P. Berrange berra...@redhat.com writes: On Mon, Aug 05, 2013 at 12:18:10PM +0100, Peter Maydell wrote: This patch series adds a 'virt' platform which uses the kernel's

Re: [Qemu-devel] [PATCH for 1.6] mips: revert commit b332d24a8e1290954029814d09156b06ede358e2

2013-08-05 Thread Anthony Liguori
, Anthony Liguori I think Anthony's question was rather whether printing random text to stderr is the best way to address that or whether QEMUMachine could use some this-machine-needs-a-kernel flag that libvirt or someone can access and that could be handled in a central place rather than in each

Re: [Qemu-devel] [PULL 0/6] target-xtensa queue

2013-08-05 Thread Anthony Liguori
: trivial rebase. Ping? Pulled. Thanks. Regards, Anthony Liguori The following changes since commit fdc43322c978d78e79e692872dcec7b4f6a447f1: Merge remote-tracking branch 'sstabellini/xen-130729' into staging (2013-07-29 07:30:31 -0500) are available in the git repository at: git

Re: [Qemu-devel] [PATCH 2/5] target-ppc: USE LPCR_ILE to control exception endian on POWER7

2013-08-06 Thread Anthony Liguori
On Tue, Aug 6, 2013 at 7:47 PM, Anton Blanchard an...@samba.org wrote: On POWER7, LPCR_ILE is used to control what endian guests take their exceptions in so use it instead of MSR_ILE. Signed-off-by: Anton Blanchard an...@samba.org Reviewed-by: Anthony Liguori aligu...@us.ibm.com Regards

Re: [Qemu-devel] [PATCH 1/5] target-ppc: POWER7 supports the MSR_LE bit

2013-08-06 Thread Anthony Liguori
On Tue, Aug 6, 2013 at 7:47 PM, Anton Blanchard an...@samba.org wrote: Add MSR_LE to the msr_mask for POWER7. Signed-off-by: Anton Blanchard an...@samba.org Reviewed-by: Anthony Liguori aligu...@us.ibm.com Regards, Anthony Liguori --- target-ppc/translate_init.c | 2 +- 1 file changed

Re: [Qemu-devel] [PATCH 3/5] pseries: Add H_SET_MODE hcall to change guest exception endianness

2013-08-06 Thread Anthony Liguori
better, a few things come to mind. Is mflags a boolean? If so, you can reduce this to a single loop and drop the switch() statement. If mflags is truly a set of flags, it would be nice to use #define to give the flags a proper symbolic name. Regards, Anthony Liguori +default

Re: [Qemu-devel] [PATCH 4/5] disas/ppc.c: Fix little endian disassembly

2013-08-06 Thread Anthony Liguori
On Tue, Aug 6, 2013 at 7:47 PM, Anton Blanchard an...@samba.org wrote: Use info-endian to select the endian of the instruction to be disassembled. Signed-off-by: Anton Blanchard an...@samba.org Reviewed-by: Anthony Liguori aligu...@us.ibm.com Regards, Anthony Liguori --- disas/ppc.c | 3

Re: [Qemu-devel] [PATCH 5/5] pseries: Fix loading of little endian kernels

2013-08-06 Thread Anthony Liguori
an...@samba.org Reviewed-by: Anthony Liguori aligu...@us.ibm.com Regards, Anthony Liguori --- hw/ppc/spapr.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index de639f6..639b719 100644 --- a/hw/ppc/spapr.c +++ b/hw/ppc/spapr.c

Re: [Qemu-devel] [PATCH 0/5] 64bit PowerPC little endian support

2013-08-06 Thread Anthony Liguori
:-) This will need to wait until 1.7 opens up in a couple weeks, but other than the cosmetics on 3/5, the series looks good. Regards, Anthony Liguori Anton -- Anton Blanchard (4): target-ppc: POWER7 supports the MSR_LE bit target-ppc: USE LPCR_ILE to control exception endian on POWER7

Re: [Qemu-devel] [PATCH 2/5] target-ppc: USE LPCR_ILE to control exception endian on POWER7

2013-08-07 Thread Anthony Liguori
to spare duplicating the msr_ile path. If the condition was more complicated, I'd agree, but I really dislike splitting statements up via an #ifdef. Regards, Anthony Liguori Andreas if (msr_ile) { new_msr |= (target_ulong)1 MSR_LE; } +#endif /* Jump to handler

[Qemu-devel] [ANNOUNCE] QEMU 1.6.0-rc2 is now available

2013-08-07 Thread Anthony Liguori
: add extui unit test (Max Filippov) Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH 1/7] virtio: allow byte swapping for vring and config access

2013-08-08 Thread Anthony Liguori
the CPU should do a decent job optimizing the if () away. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH 4/7] hw/net/virtio-balloon: use virtio wrappers to access page frame numbers.

2013-08-08 Thread Anthony Liguori
Rusty Russell ru...@rustcorp.com.au writes: Signed-off-by: Rusty Russell ru...@rustcorp.com.au Reviewed-by: Anthony Liguori aligu...@us.ibm.com Regards, Anthony Liguori --- hw/virtio/virtio-balloon.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/virtio/virtio

Re: [Qemu-devel] [PATCH 5/7] hw/block/virtio-blk: use virtio wrappers to access headers.

2013-08-08 Thread Anthony Liguori
Rusty Russell ru...@rustcorp.com.au writes: Note that st*_raw and ld*_raw are effectively replaced by st*_p and ld*_p. Signed-off-by: Rusty Russell ru...@rustcorp.com.au Reviewed-by: Anthony Liguori aligu...@us.ibm.com Regards, Anthony Liguori --- hw/block/virtio-blk.c | 35

Re: [Qemu-devel] [PATCH 3/7] hw/net/virtio-net: use virtio wrappers to access headers.

2013-08-08 Thread Anthony Liguori
Rusty Russell ru...@rustcorp.com.au writes: Signed-off-by: Rusty Russell ru...@rustcorp.com.au Reviewed-by: Anthony Liguori aligu...@us.ibm.com Regards, Anthony Liguori --- hw/net/virtio-net.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/hw/net

Re: [Qemu-devel] [PATCH 6/7] hw/scsi/virtio-scsi: use virtio wrappers to access headers.

2013-08-08 Thread Anthony Liguori
Rusty Russell ru...@rustcorp.com.au writes: Note that st*_raw and ld*_raw are effectively replaced by st*_p and ld*_p. Signed-off-by: Rusty Russell ru...@rustcorp.com.au Reviewed-by: Anthony Liguori aligu...@us.ibm.com Regards, Anthony Liguori --- hw/scsi/virtio-scsi.c | 33

Re: [Qemu-devel] [PATCH 7/7] hw/char/virtio-serial-bus: use virtio wrappers to access headers.

2013-08-08 Thread Anthony Liguori
Rusty Russell ru...@rustcorp.com.au writes: Signed-off-by: Rusty Russell ru...@rustcorp.com.au Reviewed-by: Anthony Liguori aligu...@us.ibm.com Regards, Anthony Liguori --- hw/char/virtio-serial-bus.c | 34 ++ 1 file changed, 18 insertions(+), 16 deletions

Re: [Qemu-devel] [PATCH 1/7] virtio: allow byte swapping for vring and config access

2013-08-08 Thread Anthony Liguori
Andreas Färber afaer...@suse.de writes: Am 08.08.2013 15:31, schrieb Anthony Liguori: Rusty Russell ru...@rustcorp.com.au writes: Virtio is currently defined to work as guest endian, but this is a problem if the guest can change endian. As most targets can't change endian, we make

Re: [Qemu-devel] [PATCH 1/7] virtio: allow byte swapping for vring and config access

2013-08-08 Thread Anthony Liguori
Peter Maydell peter.mayd...@linaro.org writes: On 8 August 2013 16:40, Anthony Liguori anth...@codemonkey.ws wrote: PPC64 is big endian. AFAIK, there is no such thing as a little endian PPC64 processor. What's your definition of little endian processor here if it isn't one which is doing

Re: [Qemu-devel] [PATCH 1/7] virtio: allow byte swapping for vring and config access

2013-08-08 Thread Anthony Liguori
Daniel P. Berrange berra...@redhat.com writes: On Thu, Aug 08, 2013 at 10:40:28AM -0500, Anthony Liguori wrote: Andreas Färber afaer...@suse.de writes: We have a mechanism to do weak functions via stubs/. I think it would be better to do cpu_get_byteswap() as a stub function

Re: [Qemu-devel] [PATCH 1/7] virtio: allow byte swapping for vring and config access

2013-08-08 Thread Anthony Liguori
Peter Maydell peter.mayd...@linaro.org writes: On 8 August 2013 17:07, Anthony Liguori anth...@codemonkey.ws wrote: It's the same processor. It still starts executing big endian instructions. A magic register value is tweaked and loads/stores are swapped. I dunno about PPC, but for ARM

<    1   2   3   4   5   6   7   8   9   10   >