Re: [Qemu-devel] [PATCH RFC] Implement GIC-500 from GICv3 family for arm64

2015-03-10 Thread michael
On 2015年03月10日 17:47, Shlomo Pongratz wrote: On 10 آذار, 2015 ص 09:06, Pei XiaoYong wrote: 于 2015/3/9 22:41, shlomo.pongr...@toganetworks.com 写道: From: Shlomo Pongratz This patch is a first step toward 128 cores support for arm64. At first only 64 cores are supported for two reasons: First

[Qemu-devel] [Bug 1569988] [NEW] [2.6] user network broken reaching foreign servers on Win64

2016-04-13 Thread Michael
Public bug reported: Both on master and, starting with 2016-03-22 builds from http://qemu.weilnetz.de/w64/, user mode network can't reach foreign servers. For example, wget http://mifritscher resolves the DNS, but then the message "network target couldn't be reached" occures. 2016-03-03 works fine

[Qemu-devel] [Bug 1569988] Re: [2.6] user network broken reaching foreign servers on Win64

2016-04-13 Thread Michael
Under Linux, it is working fine. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1569988 Title: [2.6] user network broken reaching foreign servers on Win64 Status in QEMU: New Bug description:

[Qemu-devel] [Bug 1569988] Re: [2.6] user network broken reaching foreign servers on Win64

2016-04-14 Thread Michael
Another thing: if I disable ipv6, ipv4 runs still in sort of a timeout before writing Network is unreachable (ENETUNREACH), while ipv6 says this without delay (which is ok/good) ** Description changed: Both on master and, starting with 2016-03-22 builds from http://qemu.weilnetz.de/w64/, us

Re: [Qemu-devel] [PATCH 0/5] QOM'ify hw/display devices

2016-05-04 Thread michael
t. I'll try it this week(end). If 5/5 and 6/6 is the milkymist-vgafb.c, then I noticed the duplication, too. -michael

Re: [Qemu-devel] [PATCH v2 4/5] hw/display: QOM'ify milkymist-vgafb.c

2016-05-09 Thread michael
Am 2016-05-06 12:59, schrieb xiaoqiang zhao: * Drop the old SysBus init function and use instance_init * Move graphic_console_init into realize stage Signed-off-by: xiaoqiang zhao Acked-by: Michael Walle Tested-by: Michael Walle -michael

Re: [Qemu-devel] [PATCH v2 3/5] hw/display: QOM'ify milkymist-tmu2.c

2016-05-09 Thread michael
Am 2016-05-06 12:59, schrieb xiaoqiang zhao: * Drop the old SysBus init function and use instance_init * Move tmu2_glx_init into realize stage Signed-off-by: xiaoqiang zhao Acked-by: Michael Walle Tested-by: Michael Walle -michael

Re: [Qemu-devel] [PATCH RESEND 3/5] hw/display: QOM'ify milkymist-tmu2.c

2016-05-09 Thread michael
functions might fail. But glx being not available isn't one of them because that is already checked in milkymist_tmu2_create(). -michael

Re: [Qemu-devel] [PATCH 5/9] hw/intc: QOM'ify lm32_pic.c

2016-05-09 Thread michael
Am 2016-03-30 12:09, schrieb xiaoqiang zhao: Drop the old SysBus init function and use instance_init Signed-off-by: xiaoqiang zhao Acked-by: Michael Walle Tested-by: Michael Walle -michael

Re: [Qemu-devel] [RESEND PATCH v2 4/4] hw/audio: QOM'ify milkymist-ac97.c

2016-05-09 Thread michael
Am 2016-03-17 10:06, schrieb xiaoqiang zhao: * Drop the old SysBus init function and use instance_init * Move AUD_open_in / AUD_open_out function into realize stage Acked-by: Michael Walle Tested-by: Michael Walle -michael

Re: [Qemu-devel] [PATCH v2 4/6] hw/char: QOM'ify lm32_uart.c

2016-05-09 Thread michael
Am 2016-03-29 09:47, schrieb xiaoqiang zhao: Drop the old SysBus init function and use instance_init Signed-off-by: xiaoqiang zhao Acked-by: Michael Walle Tested-by: Michael Walle -michael

Re: [Qemu-devel] [PATCH v2 3/6] hw/char: QOM'ify lm32_juart.c

2016-05-09 Thread michael
Am 2016-03-29 09:47, schrieb xiaoqiang zhao: Drop the old SysBus init function and use instance_init Signed-off-by: xiaoqiang zhao Acked-by: Michael Walle Tested-by: Michael Walle -michael

Re: [Qemu-devel] [PATCH 0/9] QOM'ify hw/intc files

2016-05-09 Thread michael
, milkymist-sysctl). So unless you'll take these too, I'll pick them. -michael

Re: [Qemu-devel] [PATCH v4 6/9] hw/timer: QOM'ify milkymist_sysctl

2016-03-18 Thread michael
d a Device realize function * use DeviceClass::realize instead of SysBusDeviceClass::init Reviewed-by: Peter Maydell Signed-off-by: xiaoqiang zhao Acked-by: Michael Walle Tested-by: Michael Walle -michael

Re: [Qemu-devel] [PATCH v4 3/9] hw/timer: QOM'ify lm32_timer

2016-03-19 Thread michael
d a Device realize function * use DeviceClass::realize instead of SysBusDeviceClass::init Reviewed-by: Peter Maydell Signed-off-by: xiaoqiang zhao Signed-off-by: Michael Walle -michael

Re: [Qemu-devel] [PATCH v4 6/9] hw/timer: QOM'ify milkymist_sysctl

2016-03-19 Thread michael
d a Device realize function * use DeviceClass::realize instead of SysBusDeviceClass::init Reviewed-by: Peter Maydell Signed-off-by: xiaoqiang zhao Signed-off-by: Michael Walle -michael

Re: [Qemu-devel] [PATCH v4 3/9] hw/timer: QOM'ify lm32_timer

2016-03-19 Thread michael
xiaoqiang zhao: * split the old SysBus init function into an instance_init and a Device realize function * use DeviceClass::realize instead of SysBusDeviceClass::init Reviewed-by: Peter Maydell Signed-off-by: xiaoqiang zhao Signed-off-by: Michael Walle Signed-off-by: doesn't make muc

Re: [Qemu-devel] [PATCH v4 0/4] QOM'ify hw/char devices

2016-05-19 Thread michael
st is needed. Michael, can you test patches 3 and 4? Yes, already on my todo list. -michael

Re: [Qemu-devel] [PATCH v4 0/4] QOM'ify hw/char devices

2016-05-19 Thread michael
Am 2016-05-19 13:32, schrieb Paolo Bonzini: Michael, can you test patches 3 and 4? Doesn't work for me: $ qemu-system-lm32 -kernel serial.bin -serial vc -serial vc Unexpected error in parse_chr() at /home/mwalle/repos/qemu/hw/core/qdev-properties-system.c:149: qemu-system-lm32: Pro

[Qemu-devel] several guests with static ip-address

2005-10-25 Thread Michael
, but with only one? thanks for any help! Michael ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel

Re: [Qemu-devel] Config error message wrong.

2005-10-27 Thread Michael
;with" should be a "without"? > > > on debian do: $> apt-get install libsdl1.2-dev regards, michael >Rob > > >_ > ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel

[Qemu-devel] qemu-ppc install problems

2005-11-02 Thread Michael
; XCP=0x (Unknown) Kernel version: Darwin kernel Version 7.0.0: ...the system hangs... I have used qemu-0.72 (src). Any help? Thanks! Regards, Michael ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman

[Qemu-devel] new network options in qemu cvs version

2005-12-02 Thread Michael
addif br0 $1 How can i do this with the new qemu (cvs) network options? Thanks for any help! Best Regards, Michael ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel

[Qemu-devel] [Bug 1810343] [NEW] qemu-nbd -l and -s options don't work together

2019-01-02 Thread Michael
Public bug reported: When using qemu-nbd with -l to load a snapshot along with -s to create new active layer the tool fails to find the snapshot specified on the command line: For example the following does not work: sudo qemu-nbd -s --load-snapshot=files --connect /dev/nbd0 rootfs.qcow2

Re: [RFC PATCH v2] hw/display/tcx: Allow 64-bit accesses to framebuffer stippler and blitter

2020-08-29 Thread Michael
framebuffer you want to draw, the data contain a 32bit bitmask, foreground colour and a ROP. BLIT space works similarly, the 64bit word contains an offset were to read pixels from, and how many you want to copy. have fun Michael

Re: [RFC PATCH v2] hw/display/tcx: Allow 64-bit accesses to framebuffer stippler and blitter

2020-08-29 Thread Michael
ss defines where in the framebuffer you want to > > draw, the data contain a 32bit bitmask, foreground colour and a ROP. > > BLIT space works similarly, the 64bit word contains an offset were to > > read pixels from, and how many you want to copy. > > > > Thanks Michael

[Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1

2012-08-08 Thread Michael Tokarev
I think similar bug has been filed against qemu-kvm debian package (http://bugs.debian.org/683983). Will try to reproduce/bisect as time permits. Note the debian bugreport also mentions segfault on usb_del in monitor. ** Bug watch added: Debian Bug tracker #683983 http://bugs.debian.org/cgi-b

[Qemu-devel] [Bug 1033727] Re: USB passthrough doesn't work anymore with qemu-kvm 1.1.1

2012-08-08 Thread Michael Tokarev
Ok. I tried to bisect this, but it appears to be not so easy. The problem is that between 1.0 and 1.1, there's a lot of usb breakage, and bisection leads to segfaults or assertion failures. (qemu) usb_add host:003.002 usb_create: no bus specified, using "usb.0" for "usb-host" (qemu) Segmentatio

[Qemu-devel] commit da57febfed "qdev: give all devices a canonical path" broke usb_del

2012-08-08 Thread Michael Tokarev
While dealing with USB issues today I noticed that usb_del monitor command is broken, attempting to delete any usb device immediately results in assertion failure: (qemu) usb_del 0.1 ERROR:qom/object.c:408:object_delete: assertion failed: (obj->ref == 0) Aborted I bisected this issue to commit:

Re: [Qemu-devel] commit da57febfed "qdev: give all devices a canonical path" broke usb_del

2012-08-08 Thread Michael Tokarev
On 08.08.2012 16:18, Michael Tokarev wrote: > While dealing with USB issues today I noticed that > usb_del monitor command is broken, attempting to > delete any usb device immediately results in assertion > failure: > > (qemu) usb_del 0.1 > ERROR:qom/object.c:408:object_del

Re: [Qemu-devel] commit da57febfed "qdev: give all devices a canonical path" broke usb_del

2012-08-08 Thread Michael Tokarev
On 08.08.2012 16:39, Paolo Bonzini wrote: > Il 08/08/2012 14:22, Michael Tokarev ha scritto: >> @@ -152,6 +152,16 @@ int qdev_init(DeviceState *dev) >> + >> +if (!OBJECT(dev)->parent) { >> +static int unattached_count = 0; >> +gcha

Re: [Qemu-devel] commit da57febfed "qdev: give all devices a canonical path" broke usb_del

2012-08-08 Thread Michael Tokarev
On 08.08.2012 17:09, Michael Tokarev wrote: [] > Something similar should be applied to 1.1-stable. FWIW, some > changes are not needed there. Cherry-pick to stable-1.1 removes the two unneeded hunks. This is what I plan to include into debian package. It fixes the original usb_del issue,

Re: [Qemu-devel] commit da57febfed "qdev: give all devices a canonical path" broke usb_del

2012-08-08 Thread Michael Tokarev
On 08.08.2012 18:42, Michael Tokarev wrote: > Should it go to qemu/stable-1.1 as well? qemu/stable-1.1 also includes f63e60327b8e239ae97fa71060940ca20a8bf38e. FWIW.

[Qemu-devel] [Bug 1013888] Re: windows xp sp3 setup blank screen on boot

2012-08-08 Thread Michael Tokarev
://bugs.launchpad.net/bugs/1013888 Title: windows xp sp3 setup blank screen on boot Status in QEMU: New Bug description: When attempting to run Windows XP SP3 setup in qemu on a Lubuntu host with the following kernel: Linux michael-XPS-M1530 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012

Re: [Qemu-devel] [PATCH 5/7] scsi-disk: more assertions and resets for aiocb

2012-08-09 Thread Michael Tokarev
On 09.08.2012 17:38, Paolo Bonzini wrote: > Leaving the aiocb to a non-NULL value leads to an assertion failure when > rerror/werror are set to stop or enospc, and the operation is retried. > scsi-disk checks that the aiocb member is NULL before filling it. > > This patch correctly resets the aioc

[Qemu-devel] TSC in qem[-kvm] 1.1+ and in-kernel irqchip

2012-08-09 Thread Michael Tokarev
As a follow-up to the patch "tsc: use kvmclock for calibration". There's another problem reported by several users. The sympthom is that grub does not show boot menu, it boots default entry right away without any pause. After quite some debugging it turned out to be TSC issue. Grub uses tsc for

Re: [Qemu-devel] [PATCH 13/23] lm32: Suppress unused default drives

2012-08-09 Thread Michael Walle
Am Donnerstag 09 August 2012, 15:31:14 schrieb Markus Armbruster: > Cc: Michael Walle > > Suppress default floppy and CD-ROM drives for machines lm32-evr, > lm32-uclinux, milkymist. > > Suppress default SD card drive for machines lm32-evr, lm32-uclinux. > > Signed-o

Re: [Qemu-devel] TSC in qem[-kvm] 1.1+ and in-kernel irqchip

2012-08-09 Thread Michael Tokarev
On 10.08.2012 00:47, Marcelo Tosatti wrote: [] >>> calibrate_tsc (void) >>> { >>> /* First calibrate the TSC rate (relative, not absolute time). */ >>> grub_uint64_t start_tsc; >>> grub_uint64_t end_tsc; >>> >>> start_tsc = grub_get_tsc (); >>> grub_pit_wait (0x); >>> end_tsc = grub

Re: [Qemu-devel] TSC in qem[-kvm] 1.1+ and in-kernel irqchip

2012-08-10 Thread Michael Tokarev
On 10.08.2012 11:33, Gleb Natapov wrote: > On Thu, Aug 09, 2012 at 10:27:43PM +0400, Michael Tokarev wrote: >> As a follow-up to the patch "tsc: use kvmclock for >> calibration". >> >> There's another problem reported by several users. >> The symp

Re: [Qemu-devel] [PATCH 2/2] usb-storage: fix SYNCHRONIZE_CACHE

2012-08-10 Thread Michael Tokarev
On 07.08.2012 12:59, Gerd Hoffmann wrote: > Commit 59310659073d85745854f2f10c4292555c5a1c51 is incomplete, > we'll arrive in the scsi command complete callback in CSW state > and must handle that case correctly. It appears to be 1.1-stable material, rigt? What's the outcome of the issue -- guest-t

[Qemu-devel] [Bug 1033494] Re: qemu-system-x86_64 segfaults with kernel 3.5.0

2012-08-10 Thread Michael Tokarev
this thread and this fix http://thread.gmane.org/gmane.comp.emulators.kvm.devel/95314/focus=1338226 are about the same issue, apparently. Please try it and see if it fixes you issue too. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU

[Qemu-devel] [PATCH] json-parser: don't replicate tokens at each level of recursion

2012-08-10 Thread Michael Roth
form of an indexable array so that we can save/restore state by manipulating indices. With this patch applied the above QMP/JSON request can be parsed in under a second. Tested with valgrind, make check, and QMP. Signed-off-by: Michael Roth ---

[Qemu-devel] [Bug 1033494] Re: qemu-system-x86_64 segfaults with kernel 3.5.0

2012-08-11 Thread Michael Tokarev
** Changed in: qemu Status: New => Incomplete -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1033494 Title: qemu-system-x86_64 segfaults with kernel 3.5.0 Status in QEMU: Incomplete Bug d

Re: [Qemu-devel] [PATCH] iov_send_recv(): Handle zero bytes case even if OS does not

2012-08-11 Thread Michael Tokarev
On 12.08.2012 01:24, Peter Maydell wrote: > POSIX allows sendmsg() and recvmsg() to fail EMSGSIZE if passed a zero > msg.msg_iovlen (in particular the MacOS X implementation will do this). > Handle the case where iov_send_recv() is passed a zero byte count > explicitly, to avoid accidentally depen

Re: [Qemu-devel] TSC in qem[-kvm] 1.1+ and in-kernel irqchip

2012-08-12 Thread Michael Tokarev
On 12.08.2012 12:10, Gleb Natapov wrote: [] > Any chance to bisect it? The bisecion leads to this commit: commit 17ee47418e65b1593defb30edbab33ccd47fc1f8 Merge: 13b0496 5d17c0d Author: Jan Kiszka Date: Tue Apr 10 16:26:23 2012 +0200 Merge commit '5d17c0d2df4998598e6002b27b8e47e792899a0f'

Re: [Qemu-devel] [PATCH] virtio: fix vhost handling

2012-08-12 Thread Michael Tokarev
On 06.08.2012 18:56, Paolo Bonzini wrote: > Commit b1f416aa8d870fab71030abc9401cfc77b948e8e breaks vhost_net > because it always registers the virtio_pci_host_notifier_read() handler > function on the ioeventfd, even when vhost_net.ko is using the ioeventfd. > The result is both QEMU and vhost_net.

Re: [Qemu-devel] [PATCH] iov_send_recv(): Handle zero bytes case even if OS does not

2012-08-12 Thread Michael Tokarev
accidentally depending on the OS to treat zero > msg_iovlen as a no-op. > > Signed-off-by: Peter Maydell > --- > This is what was causing 'make check' to fail on MacOS X. > The other option was to declare that a zero bytecount was illegal, I guess. Acked-by: Michael Tok

Re: [Qemu-devel] TSC in qem[-kvm] 1.1+ and in-kernel irqchip

2012-08-13 Thread Michael Tokarev
On 13.08.2012 17:07, Jan Kiszka wrote: [] >> The bisecion leads to this commit: >> >> commit 17ee47418e65b1593defb30edbab33ccd47fc1f8 >> Merge: 13b0496 5d17c0d >> Author: Jan Kiszka >> Date: Tue Apr 10 16:26:23 2012 +0200 >> >> Merge commit '5d17c0d2df4998598e6002b27b8e47e792899a0f' into >>

Re: [Qemu-devel] [PATCH uq/master] kvm: i8254: Finish time conversion fix

2012-08-13 Thread Michael Tokarev
On 13.08.2012 22:18, Jan Kiszka wrote: > 0cdd3d1444 fixed reading back the counter load time from the kernel > while assuming the kernel would always update its load time on writing > the state. That is only true for channel 1, and so pit_get_channel_info > returned wrong output pin states for high

Re: [Qemu-devel] [PATCH] json-parser: don't replicate tokens at each level of recursion

2012-08-13 Thread Michael Roth
On Mon, Aug 13, 2012 at 03:01:56PM -0300, Luiz Capitulino wrote: > On Fri, 10 Aug 2012 18:24:10 -0500 > Michael Roth wrote: > > > Currently, when parsing a stream of tokens we make a copy of the token > > list at the beginning of each level of recursion so that we do not &g

Re: [Qemu-devel] [PATCH] json-parser: don't replicate tokens at each level of recursion

2012-08-13 Thread Michael Roth
On Mon, Aug 13, 2012 at 08:49:26PM +0200, Markus Armbruster wrote: > Michael Roth writes: > > > Currently, when parsing a stream of tokens we make a copy of the token > > list at the beginning of each level of recursion so that we do not > > modify the original list i

[Qemu-devel] Add infrastructure for supporting QIDL annotations

2012-08-14 Thread Michael Roth
These patches are based are origin/master, and can also be obtained from: git://github.com/mdroth/qemu.git qidl-base This is a cleanup of the infrastructure bits from "[RFC v2] Use QEMU IDL for device serialization/introspection". I know this is pretty late into the release cycle, but the patche

[Qemu-devel] [PATCH 11/20] qapi: qapi.py, make json parser more robust

2012-08-14 Thread Michael Roth
. Signed-off-by: Michael Roth --- scripts/qapi.py |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/qapi.py b/scripts/qapi.py index a347203..47cd672 100644 --- a/scripts/qapi.py +++ b/scripts/qapi.py @@ -81,7 +81,7 @@ def parse_schema(fp): if line.startswith('#

[Qemu-devel] [PATCH 13/20] qom-fuse: workaround for truncated properties > 4096

2012-08-14 Thread Michael Roth
d()'s. Old Cache entries are evicted as soon as we attempt to read() from offset 0 again. Reviewed-by: Anthony Liguori Signed-off-by: Michael Roth --- QMP/qom-fuse | 24 +--- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/QMP/qom-fuse b/QMP/qom-fus

[Qemu-devel] [PATCH 05/20] qapi: qapi_visit.py, support arrays and complex qapi definitions

2012-08-14 Thread Michael Roth
uninitialized elements. Add handling for these in the code generators as well. Reviewed-by: Anthony Liguori Signed-off-by: Michael Roth --- scripts/qapi.py |8 -- scripts/qapi_commands.py |8 +++--- scripts/qapi_types.py|2 +- scripts/qapi_visit.py| 64

[Qemu-devel] [PATCH 04/20] qapi: qapi_visit.py, make code useable as module

2012-08-14 Thread Michael Roth
Reviewed-by: Anthony Liguori Signed-off-by: Michael Roth --- scripts/qapi_visit.py | 143 + 1 file changed, 74 insertions(+), 69 deletions(-) diff --git a/scripts/qapi_visit.py b/scripts/qapi_visit.py index 04ef7c4..25707f5 100644 --- a/scripts

[Qemu-devel] [PATCH 17/20] qidl: parser, initial import from qc.git

2012-08-14 Thread Michael Roth
Signed-off-by: Michael Roth --- scripts/qidl_parser.py | 512 1 file changed, 512 insertions(+) create mode 100644 scripts/qidl_parser.py diff --git a/scripts/qidl_parser.py b/scripts/qidl_parser.py new file mode 100644 index 000..831b3f5

[Qemu-devel] [PATCH 19/20] qidl: qidl.h, definitions for qidl annotations

2012-08-14 Thread Michael Roth
Signed-off-by: Michael Roth --- qidl.h | 63 +++ 1 file changed, 63 insertions(+) create mode 100644 qidl.h diff --git a/qidl.h b/qidl.h new file mode 100644 index 000..210f4c6 --- /dev/null +++ b/qidl.h @@ -0,0 +1,63

[Qemu-devel] [PATCH 12/20] qapi: add open-coded visitor for struct tm types

2012-08-14 Thread Michael Roth
Reviewed-by: Anthony Liguori Signed-off-by: Michael Roth --- qapi/Makefile.objs |1 + qapi/misc-qapi-visit.c | 14 ++ qapi/qapi-visit-core.h |3 +++ 3 files changed, 18 insertions(+) create mode 100644 qapi/misc-qapi-visit.c diff --git a/qapi/Makefile.objs b/qapi

[Qemu-devel] [PATCH 18/20] qidl: codegen, initial commit

2012-08-14 Thread Michael Roth
Signed-off-by: Michael Roth --- scripts/qidl.py | 282 +++ 1 file changed, 282 insertions(+) create mode 100644 scripts/qidl.py diff --git a/scripts/qidl.py b/scripts/qidl.py new file mode 100644 index 000..71c89bc --- /dev/null +++ b

[Qemu-devel] [PATCH 07/20] qapi: qapi_visit.py, support generating static functions

2012-08-14 Thread Michael Roth
qidl embeds visitor code into object files rather than linking against seperate files, so allow for static declarations when we're using qapi_visit.py as a library as we do with qidl.py Reviewed-by: Anthony Liguori Signed-off-by: Michael Roth --- scripts/qapi_visit.py |

[Qemu-devel] [PATCH 20/20] qidl: unit tests

2012-08-14 Thread Michael Roth
Signed-off-by: Michael Roth --- Makefile |2 + rules.mak | 15 +++- tests/Makefile |8 +- tests/test-qidl-included.h | 31 tests/test-qidl-linked.c | 91 +++ tests/test-qidl-linked.h | 18

[Qemu-devel] [PATCH 10/20] qapi: QmpInputVisitor, implement array handling

2012-08-14 Thread Michael Roth
Signed-off-by: Michael Roth --- qapi/qmp-input-visitor.c | 32 +++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/qapi/qmp-input-visitor.c b/qapi/qmp-input-visitor.c index 107d8d3..c4388f3 100644 --- a/qapi/qmp-input-visitor.c +++ b/qapi/qmp-input

[Qemu-devel] [PATCH 16/20] qidl: Add documentation

2012-08-14 Thread Michael Roth
Signed-off-by: Michael Roth --- docs/qidl.txt | 343 + 1 file changed, 343 insertions(+) create mode 100644 docs/qidl.txt diff --git a/docs/qidl.txt b/docs/qidl.txt new file mode 100644 index 000..19976d9 --- /dev/null +++ b/docs

[Qemu-devel] [PATCH 01/20] qapi: qapi-visit.py -> qapi_visit.py so we can import

2012-08-14 Thread Michael Roth
Python doesn't allow "-" in module names, so we need to rename the file so we can re-use bits of the codegen Reviewed-by: Anthony Liguori Signed-off-by: Michael Roth --- Makefile |8 scripts/{qapi-visit.py => qapi_visit.py} |

[Qemu-devel] [PATCH 08/20] qapi: qapi_visit.py, support for visiting non-pointer/embedded structs

2012-08-14 Thread Michael Roth
Reviewed-by: Anthony Liguori Signed-off-by: Michael Roth --- scripts/qapi_visit.py |9 + 1 file changed, 9 insertions(+) diff --git a/scripts/qapi_visit.py b/scripts/qapi_visit.py index d146013..ab44f11 100644 --- a/scripts/qapi_visit.py +++ b/scripts/qapi_visit.py @@ -107,6

[Qemu-devel] [PATCH 02/20] qapi: qapi-types.py -> qapi_types.py

2012-08-14 Thread Michael Roth
Python doesn't allow "-" in module names, so we need to rename the file so we can re-use bits of the codegen Signed-off-by: Michael Roth --- Makefile |8 scripts/{qapi-types.py => qapi_types.py} |0 tests/Makefile

[Qemu-devel] [PATCH 03/20] qapi: qapi-commands.py -> qapi_commands.py

2012-08-14 Thread Michael Roth
Python doesn't allow "-" in module names, so we need to rename the file so we can re-use bits of the codegen. Signed-off-by: Michael Roth --- Makefile |8 scripts/{qapi-commands.py => qapi_commands.py} |

[Qemu-devel] [PATCH 14/20] module additions for schema registration

2012-08-14 Thread Michael Roth
Reviewed-by: Anthony Liguori Signed-off-by: Michael Roth --- module.h |2 ++ vl.c |1 + 2 files changed, 3 insertions(+) diff --git a/module.h b/module.h index c4ccd57..cb81aa2 100644 --- a/module.h +++ b/module.h @@ -25,6 +25,7 @@ typedef enum { MODULE_INIT_MACHINE

[Qemu-devel] [PATCH 15/20] qdev: move Property-related declarations to qdev-properties.h

2012-08-14 Thread Michael Roth
Signed-off-by: Michael Roth --- hw/qdev-properties.h | 151 ++ hw/qdev.h| 126 + 2 files changed, 152 insertions(+), 125 deletions(-) create mode 100644 hw/qdev-properties.h diff --git a/hw

[Qemu-devel] [PATCH 06/20] qapi: add visitor interfaces for C arrays

2012-08-14 Thread Michael Roth
Generally these will be serialized into lists, but the representation can be of any form so long as it can be deserialized into a single-dimension C array. Signed-off-by: Michael Roth --- qapi/qapi-visit-core.c | 25 + qapi/qapi-visit-core.h |8 2 files

[Qemu-devel] [PATCH 09/20] qapi: QmpOutputVisitor, implement array handling

2012-08-14 Thread Michael Roth
Signed-off-by: Michael Roth --- qapi/qmp-output-visitor.c | 20 1 file changed, 20 insertions(+) diff --git a/qapi/qmp-output-visitor.c b/qapi/qmp-output-visitor.c index 2bce9d5..ea08795 100644 --- a/qapi/qmp-output-visitor.c +++ b/qapi/qmp-output-visitor.c @@ -181,6

Re: [Qemu-devel] [PATCH 16/20] qidl: Add documentation

2012-08-14 Thread Michael Roth
On Tue, Aug 14, 2012 at 08:41:56PM +0100, Peter Maydell wrote: > On 14 August 2012 17:27, Michael Roth wrote: > > > > Signed-off-by: Michael Roth > > --- > > docs/qidl.txt | 343 > > + > > 1 file

Re: [Qemu-devel] [PATCH] savevm.c: Fix compilation error on 32bit host.

2012-08-15 Thread Michael Tokarev
On 15.08.2012 13:10, Evgeny Voevodin wrote: > Casting of 0x0101010101010101ULL to long will truncate it to 32 > bits on 32bit hosts, and won't truncate on 64bit hosts. > > Signed-off-by: Evgeny Voevodin > --- > savevm.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a

Re: [Qemu-devel] [PATCH v2 0/2] Fix two bugs related to ram_size

2012-08-15 Thread Michael Tokarev
On 15.08.2012 13:31, Markus Armbruster wrote: > There are more, but let's start with these two. Yes, there are more of the same theme. In particular, why transparent huge pages support has never been applied? IIRC it went to nowhere after a question about memory sizing and alignment popped up --

Re: [Qemu-devel] [PATCH v2 0/2] Fix two bugs related to ram_size

2012-08-15 Thread Michael Tokarev
On 15.08.2012 15:46, Avi Kivity wrote: > On 08/15/2012 02:44 PM, Michael Tokarev wrote: >> Yes, there are more of the same theme. In particular, >> why transparent huge pages support has never been >> applied? IIRC it went to nowhere after a question >> about memory

[Qemu-devel] qemu and transparent huge pages

2012-08-15 Thread Michael Tokarev
Quite some time ago there was a thread on qemu-devel, started by Andrea, about modifying qemu to better use transparent huge pages: http://lists.gnu.org/archive/html/qemu-devel/2010-03/msg01250.html That thread hasn't reached any conclusion, but some time after that Avi implemented a similar cha

[Qemu-devel] qemu and transparent huge pages

2012-08-15 Thread Michael Tokarev
[Reposting with the right email address of Andrea] Quite some time ago there was a thread on qemu-devel, started by Andrea, about modifying qemu to better use transparent huge pages: http://lists.gnu.org/archive/html/qemu-devel/2010-03/msg01250.html That thread hasn't reached any conclusion, bu

Re: [Qemu-devel] qemu and transparent huge pages

2012-08-15 Thread Michael Tokarev
On 15.08.2012 16:51, Avi Kivity wrote: > On 08/15/2012 03:45 PM, Michael Tokarev wrote: >> >> But apparently, THP does not work still, even with 2Mb >> alignment: when running a guest, AnonHugePages in >> /proc/meminfo stays at 0 - either in kvm mode or in tcg >> m

Re: [Qemu-devel] qemu and transparent huge pages

2012-08-15 Thread Michael Tokarev
On 15.08.2012 18:26, Avi Kivity wrote: > On 08/15/2012 05:22 PM, Michael Tokarev wrote: > >>> >>> Please provide extra info, like the setting of >>> /sys/kernel/mm/transparent_hugepage/enabled. >> >> That was it - sort of. Default value here is enab

Re: [Qemu-devel] qemu and transparent huge pages

2012-08-15 Thread Michael Tokarev
On 15.08.2012 19:03, Michael Tokarev wrote: > +#ifdef MADV_HUGEPAGE > +#error Heh. This #error shouldn't be here ofcourse, I were checking if we really getting there. > +qemu_madvise(ptr, size, MADV_HUGEPAGE); > +#endif

Re: [Qemu-devel] [PATCH] json-parser: don't replicate tokens at each level of recursion

2012-08-15 Thread Michael Roth
On Mon, Aug 13, 2012 at 09:25:44PM -0500, Michael Roth wrote: > On Mon, Aug 13, 2012 at 03:01:56PM -0300, Luiz Capitulino wrote: > > On Fri, 10 Aug 2012 18:24:10 -0500 > > Michael Roth wrote: > > > > > +qlist_iter(tokens, tokens_count_from_iter, &

[Qemu-devel] [PATCH for-1.2 v2 1/3] qlist: add qlist_size()

2012-08-15 Thread Michael Roth
Signed-off-by: Michael Roth --- qlist.c | 13 + qlist.h |1 + 2 files changed, 14 insertions(+) diff --git a/qlist.c b/qlist.c index 88498b1..b48ec5b 100644 --- a/qlist.c +++ b/qlist.c @@ -124,6 +124,19 @@ int qlist_empty(const QList *qlist) return QTAILQ_EMPTY(&q

[Qemu-devel] [PATCH for-1.2 v2 2/3] json-parser: don't replicate tokens at each level of recursion

2012-08-15 Thread Michael Roth
vior as above. With this patch applied the test case successfully completes in under a second. Tested with valgrind, make check, and QMP. Signed-off-by: Michael Roth --- json-parser.c | 229 +++-- 1 file changed, 141 insertions(+), 88 d

[Qemu-devel] [PATCH for-1.2 v2 3/3] check-qjson: add test for large JSON objects

2012-08-15 Thread Michael Roth
Signed-off-by: Michael Roth --- tests/check-qjson.c | 53 +++ 1 file changed, 53 insertions(+) diff --git a/tests/check-qjson.c b/tests/check-qjson.c index 526e25e..ef9b529 100644 --- a/tests/check-qjson.c +++ b/tests/check-qjson.c @@ -690,6

Re: [Qemu-devel] [PATCH for-1.2 v2 2/3] json-parser: don't replicate tokens at each level of recursion

2012-08-15 Thread Michael Roth
On Wed, Aug 15, 2012 at 12:09:09PM -0600, Eric Blake wrote: > On 08/15/2012 11:56 AM, Michael Roth wrote: > > Currently, when parsing a stream of tokens we make a copy of the token > > list at the beginning of each level of recursion so that we do not > > modify the original l

[Qemu-devel] [PATCH for-1.2 v3 1/3] qlist: add qlist_size()

2012-08-15 Thread Michael Roth
Signed-off-by: Michael Roth --- qlist.c | 13 + qlist.h |1 + 2 files changed, 14 insertions(+) diff --git a/qlist.c b/qlist.c index 88498b1..b48ec5b 100644 --- a/qlist.c +++ b/qlist.c @@ -124,6 +124,19 @@ int qlist_empty(const QList *qlist) return QTAILQ_EMPTY(&q

[Qemu-devel] [PATCH for-1.2 v3 3/3] check-qjson: add test for large JSON objects

2012-08-15 Thread Michael Roth
Signed-off-by: Michael Roth --- tests/check-qjson.c | 53 +++ 1 file changed, 53 insertions(+) diff --git a/tests/check-qjson.c b/tests/check-qjson.c index 526e25e..3b896f5 100644 --- a/tests/check-qjson.c +++ b/tests/check-qjson.c @@ -466,6

[Qemu-devel] [PATCH for-1.2 v3 2/3] json-parser: don't replicate tokens at each level of recursion

2012-08-15 Thread Michael Roth
vior as above. With this patch applied the test case successfully completes in under a second. Tested with valgrind, make check, and QMP. Signed-off-by: Michael Roth --- json-parser.c | 230 +++-- 1 file changed, 142 insertions(+), 88 d

Re: [Qemu-devel] [PATCH for-1.2 v3 1/3] qlist: add qlist_size()

2012-08-15 Thread Michael Roth
On Wed, Aug 15, 2012 at 01:52:33PM -0600, Eric Blake wrote: > On 08/15/2012 12:45 PM, Michael Roth wrote: > > Signed-off-by: Michael Roth > > --- > > qlist.c | 13 + > > qlist.h |1 + > > 2 files changed, 14 insertions(+) > > No cover-l

Re: [Qemu-devel] [PATCH for-1.2 v3 2/3] json-parser: don't replicate tokens at each level of recursion

2012-08-15 Thread Michael Roth
On Wed, Aug 15, 2012 at 02:04:52PM -0600, Eric Blake wrote: > On 08/15/2012 12:45 PM, Michael Roth wrote: > > Currently, when parsing a stream of tokens we make a copy of the token > > list at the beginning of each level of recursion so that we do not > > modify the original l

[Qemu-devel] Apparent USB assignment issue on 1.1+

2012-08-16 Thread Michael Tokarev
Hello. This issue has been reported several times already, but I can't reproduce it locally. Gerd, can you please take a look, maybe you may ask better question to the OP(s) about what to try. https://bugs.launchpad.net/qemu/+bug/1033727 http://bugs.debian.org/683983 Gerd, I tried to catch you

Re: [Qemu-devel] Apparent USB assignment issue on 1.1+

2012-08-16 Thread Michael Tokarev
On 16.08.2012 12:14, Gerd Hoffmann wrote: > On 08/16/12 09:45, Michael Tokarev wrote: >> Hello. >> >> This issue has been reported several times already, >> but I can't reproduce it locally. Gerd, can you >> please take a look, maybe you may ask better >

Re: [Qemu-devel] Apparent USB assignment issue on 1.1+

2012-08-16 Thread Michael Tokarev
On 16.08.2012 12:23, Peter Maydell wrote: > On 16 August 2012 09:14, Gerd Hoffmann wrote: [] >>> http://bugs.debian.org/683983 >> >> No idea, must be some QOM thingy. This was http://bugs.debian.org/684282, unrelated to usb. > The "crash on usb_del" problem has been discussed on the list > befor

Re: [Qemu-devel] [PATCH for-1.2 v3 2/3] json-parser: don't replicate tokens at each level of recursion

2012-08-16 Thread Michael Roth
On Thu, Aug 16, 2012 at 11:11:26AM -0300, Luiz Capitulino wrote: > On Wed, 15 Aug 2012 13:45:43 -0500 > Michael Roth wrote: > > > Currently, when parsing a stream of tokens we make a copy of the token > > list at the beginning of each level of recursion so that we do not &g

Re: [Qemu-devel] [PATCH for-1.2 v3 1/3] qlist: add qlist_size()

2012-08-16 Thread Michael Roth
On Thu, Aug 16, 2012 at 10:40:05AM -0300, Luiz Capitulino wrote: > On Wed, 15 Aug 2012 13:45:42 -0500 > Michael Roth wrote: > > > > > Signed-off-by: Michael Roth > > I've applied this series to the qmp branch for 1.2. I'll run some tests and if > a

Re: [Qemu-devel] [PATCH] block: handle filenames with colons better

2012-08-16 Thread Michael Tokarev
On 16.08.2012 18:58, Iustin Pop wrote: > Commit 947995c (block: protect path_has_protocol from filenames with > colons) introduced a way to handle filenames with colons based on > whether the path contains a slash or not. IMHO this is not optimal, > since we shouldn't rely on the contents of the pa

[Qemu-devel] [Bug 1037675] Re: Guest Kernel Panic if using "-cpu host" in qemu-kvm 1.1.1

2012-08-16 Thread Michael Tokarev
First of all, your kernel panic screenshot is incomplete: it lacks the most important information which were scrolled off the (virtual) screen. Please enable serial console and capture whole OOPs in a text form. Second, it isn't clear whenever this is HOST kernel panic or GUEST kernel panic. I as

Re: [Qemu-devel] [RESEND][PATCH for 1.2] i82378: Remove bogus MMIO coalescing

2012-08-17 Thread Michael Tokarev
On 17.08.2012 14:56, Jan Kiszka wrote: > This MMIO area is an entry gate to legacy PC ISA devices, addressed via > PIO over there. Quite a few of the PIO ports have side effects on access > like starting/stopping timers that must be executed properly ordered > /wrt the CPU. So we have to remove the

Re: [Qemu-devel] [PATCH] vmware_vga: Redraw only visible area

2012-08-17 Thread Michael Tokarev
On 17.08.2012 06:55, Marek Vasut wrote: > Disallow negative value boundaries of the redraw rectangle. > This fixes a segfault when using -vga vmware. > > Signed-off-by: Marek Vasut > --- > hw/vmware_vga.c |4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > NOTE: I tested this by

  1   2   3   4   5   6   7   8   9   10   >