[Qemu-devel] [PATCH] sh: sm501: Add hardware cursor feature

2009-12-31 Thread Shin-ichiro KAWASAKI
This patch adds hardware cursor feature to SM501 graphics chip emulation, to make the graphic console more useful for QEMU SH4 users. Signed-off-by: Shin-ichiro KAWASAKI hw/sm501.c | 154 +++ hw/sm501_template.h | 42 ++ 2

Re: [Qemu-devel] [PATCHv2] add "info ioapic" monitor command

2009-12-31 Thread Anthony Liguori
On 12/31/2009 09:42 AM, Gleb Natapov wrote: On Thu, Dec 31, 2009 at 08:20:06AM -0600, Anthony Liguori wrote: On 12/30/2009 06:20 PM, Gleb Natapov wrote: I included only the state I need for debugging. I don't what to see complete state. It will just clatter important info. Someone may find th

Re: [Qemu-devel] [PATCH] add "info ioapic" monitor command

2009-12-31 Thread Anthony Liguori
On 12/31/2009 09:39 AM, Gleb Natapov wrote: The common case is where you just want to see the state of the device. We support hundreds of devices. We can have one code path that displays 95% of them with a couple devices that have exceptions or we could have hundreds of these commands that aren'

Re: [Qemu-devel] [PATCH] add "info ioapic" monitor command

2009-12-31 Thread Anthony Liguori
On 12/31/2009 09:33 AM, Gleb Natapov wrote: On Thu, Dec 31, 2009 at 08:15:29AM -0600, Anthony Liguori wrote: On 12/30/2009 06:16 PM, Gleb Natapov wrote: It helps debug problems and it is not intrusive. Since 0.12 will be used for a long time I want to add it there for convenience. stable is f

Re: [Qemu-devel] [PATCHv2] add "info ioapic" monitor command

2009-12-31 Thread Gleb Natapov
On Thu, Dec 31, 2009 at 08:20:06AM -0600, Anthony Liguori wrote: > On 12/30/2009 06:20 PM, Gleb Natapov wrote: > >I included only the state I need for debugging. I don't what to see > >complete state. It will just clatter important info. > > Someone may find that full state useful though. There's

Re: [Qemu-devel] [PATCH] add "info ioapic" monitor command

2009-12-31 Thread Gleb Natapov
On Thu, Dec 31, 2009 at 08:18:40AM -0600, Anthony Liguori wrote: > On 12/31/2009 12:38 AM, Avi Kivity wrote: > >On 12/31/2009 12:46 AM, Anthony Liguori wrote: > >>>I wasn't worried about that, only the increased code duplication. > >> > >> > >>I wasn't thinking there would be an info ioapic command

Re: [Qemu-devel] [PATCH] add "info ioapic" monitor command

2009-12-31 Thread Gleb Natapov
On Thu, Dec 31, 2009 at 08:15:29AM -0600, Anthony Liguori wrote: > On 12/30/2009 06:16 PM, Gleb Natapov wrote: > >It helps debug problems and it is not intrusive. Since 0.12 will be used > >for a long time I want to add it there for convenience. > > stable is for bug fixes only. > This is to clos

Re: [Qemu-devel] [PATCHv2] add "info ioapic" monitor command

2009-12-31 Thread Gleb Natapov
On Thu, Dec 31, 2009 at 08:16:27AM -0600, Anthony Liguori wrote: > On 12/30/2009 06:23 PM, Gleb Natapov wrote: > >I've got you point. When VMState will have this cool powers you are talking > >about I'll use it. I don't see the point of bragging about something > >that doesn't exists. > > It *does

[Qemu-devel] Re: [PATCH] Add definitions for current cpu models..

2009-12-31 Thread Anthony Liguori
Please use actual cpu models verses family names. Nehalem is a wide class of processors and the EX has a fair bit that isn't present in earlier models. The patch also doesn't follow CODING_STYLE. On Dec 21, 2009 1:13 AM, "john cooper" wrote: This adds definitions for contemporary processors wh

Re: [Qemu-devel] [PATCHv2] add "info ioapic" monitor command

2009-12-31 Thread Anthony Liguori
On 12/30/2009 06:20 PM, Gleb Natapov wrote: I included only the state I need for debugging. I don't what to see complete state. It will just clatter important info. Someone may find that full state useful though. There's no good reason to not show the entire device's state. Regards, Anthon

Re: [Qemu-devel] [PATCH] add "info ioapic" monitor command

2009-12-31 Thread Anthony Liguori
On 12/31/2009 12:38 AM, Avi Kivity wrote: On 12/31/2009 12:46 AM, Anthony Liguori wrote: I wasn't worried about that, only the increased code duplication. I wasn't thinking there would be an info ioapic command but rather a generic device-info command that would work with any qdev device. No

Re: [Qemu-devel] [PATCHv2] add "info ioapic" monitor command

2009-12-31 Thread Anthony Liguori
On 12/30/2009 06:23 PM, Gleb Natapov wrote: I've got you point. When VMState will have this cool powers you are talking about I'll use it. I don't see the point of bragging about something that doesn't exists. It *does* exist. The ioapic has already been converted to VMState. Regards, Anthon

Re: [Qemu-devel] [PATCH] add "info ioapic" monitor command

2009-12-31 Thread Anthony Liguori
On 12/30/2009 06:16 PM, Gleb Natapov wrote: It helps debug problems and it is not intrusive. Since 0.12 will be used for a long time I want to add it there for convenience. stable is for bug fixes only. Regards, Anthony Liguori -- Gleb.

Re: [Qemu-devel] [PATCH] add "info ioapic" monitor command

2009-12-31 Thread Anthony Liguori
On 12/30/2009 06:14 PM, Gleb Natapov wrote: No we don't. You want to add the infrastructure to do it right and I have no problem with that go add it. But till then we do it old way. We have the infrastructure today to do it the right way. Regards, Anthony Liguori --

Re: [Qemu-devel] "Hot" resizing QCow2 image using a simple python script

2009-12-31 Thread Kevin Wolf
Am Mittwoch, 30. Dezember 2009 13:18 schrieb Stefan Weil: > Laurent Coustet schrieb: > > I've seen the code on git a little bit, seems rather simple to me, but > > what do you think is the better way to integrate such a fonctionality > > ? New command ? > > > > The best approch for me I think is to

Re: [Qemu-devel] [PATCH] Drop --whole-archive and static libraries

2009-12-31 Thread Andreas Färber
Am 13.12.2009 um 09:02 schrieb Andreas Färber: From: Andreas Färber Juan has donated a cool Makefile infrastructure that enables us to drop static libraries completely: Move shared obj-y definitions to Makefile.objs, prefixed common-, hw-, user-. Link those object files directly. Rep

[Qemu-devel] [PATCH v2] Drop --whole-archive and static libraries

2009-12-31 Thread Andreas Färber
From: Andreas Färber Juan has contributed a cool Makefile infrastructure that enables us to drop static libraries completely: Move shared obj-y definitions to Makefile.objs, prefixed {common-,hw-,user-}, and link those object files directly into the executables. Replace HWLIB by HWDIR, specifyi

Re: [Qemu-devel] [PATCH] Quickfix for libuser.a drop

2009-12-31 Thread Andreas Färber
Am 13.12.2009 um 16:40 schrieb Andreas Färber: User emulators did not seem to have a $(HWLIB) directory, so don't try to include config.mak from there in Makefile.target. libuser.a included some objects of libqemu_common.a, so fix the paths to the shared files, to avoid file not found error

Re: [Qemu-devel] [PATCH 04/11] qdev: pcibus_dev_info

2009-12-31 Thread Luiz Capitulino
On Sat, 26 Dec 2009 21:19:15 + Nathan Baum wrote: > This returns a QObject detailing the PCI-specific data about the device. Back to this again, turns out I'm converting pci_info() and I think we should agree on some standards for PCI keys. > +static QObject *pcibus_dev_info(Monitor *mon,

Re: [Qemu-devel] [PATCH 01/14] Introduce qemu_write_full()

2009-12-31 Thread Andreas Färber
Am 31.12.2009 um 09:50 schrieb Kirill A. Shutemov: 2009/12/31 malc : On Thu, 31 Dec 2009, Kirill A. Shutemov wrote: On Thu, Dec 31, 2009 at 4:00 AM, malc wrote: On Thu, 31 Dec 2009, Kirill A. Shutemov wrote: A variant of write(2) which handles partial write. Signed-off-by: Kirill A. Shu

Re: [Qemu-devel] Re: Help on "Could not initialize SDL - exiting"

2009-12-31 Thread Andreas Färber
Hi, Am 31.12.2009 um 09:45 schrieb Dejun.Liu: r...@dejunliu-desktop:/home/protocol/study/OE/build# qemu-system-arm -M versatilepb -usb -usbdevice wacom-tablet -show-cursor -m 64 -kernel /home/protocol/study/OE/angstrom-dev/deploy/glibc/images/ qemuarm/zImage-2.6.25+2.6.26-rc4-r6-qemuarm.bin

Re: [Qemu-devel] [PATCH 01/14] Introduce qemu_write_full()

2009-12-31 Thread malc
On Thu, 31 Dec 2009, Kirill A. Shutemov wrote: > 2009/12/31 malc : > > On Thu, 31 Dec 2009, Kirill A. Shutemov wrote: > > > >> On Thu, Dec 31, 2009 at 4:00 AM, malc wrote: > >> > On Thu, 31 Dec 2009, Kirill A. Shutemov wrote: > >> > > >> >> A variant of write(2) which handles partial write. > >>

Re: [Qemu-devel] qemu/qemu-kvm-0.12.1.2 - migration still very slow

2009-12-31 Thread Pierre Riteau
On 31 déc. 2009, at 00:14, Nikola Ciprich wrote: > Hi, > few months ago Pierre Riteau reported regression of exec migration in qemu. > (http://lists.gnu.org/archive/html/qemu-devel/2009-08/msg01557.html) > There was some discussion, but there is no clear conclusion. > Today, I tried qemu-kvm-0.12.

Re: [Qemu-devel] [PATCH 14/14] Add -fstack-protector-all to CFLAGS

2009-12-31 Thread Rtp
"Kirill A. Shutemov" writes: Hi, > -fstack-protector-all emit extra code to check for buffer overflows, > such as stack smashing attacks. This is done by adding a guard > variable to functions with vulnerable objects. > > Signed-off-by: Kirill A. Shutemov > --- > configure |1 + > 1 files

Re: [Qemu-devel] [PATCH 12/14] linux-user/mmap.c: fix warnings with _FORTIFY_SOURCE

2009-12-31 Thread Rtp
"Kirill A. Shutemov" writes: Hi, > CCi386-linux-user/mmap.o > cc1: warnings being treated as errors > /usr/src/RPM/BUILD/qemu-0.11.92/linux-user/mmap.c: In function 'mmap_frag': > /usr/src/RPM/BUILD/qemu-0.11.92/linux-user/mmap.c:253: error: ignoring return > value of 'pread', declared wi

Re: [Qemu-devel] [PATCH 01/14] Introduce qemu_write_full()

2009-12-31 Thread Kirill A. Shutemov
2009/12/31 malc : > On Thu, 31 Dec 2009, Kirill A. Shutemov wrote: > >> On Thu, Dec 31, 2009 at 4:00 AM, malc wrote: >> > On Thu, 31 Dec 2009, Kirill A. Shutemov wrote: >> > >> >> A variant of write(2) which handles partial write. >> >> >> >> Signed-off-by: Kirill A. Shutemov >> >> --- >> >>  osd

Re: [Qemu-devel] Re: Help on "Could not initialize SDL - exiting"

2009-12-31 Thread Dejun.Liu
Hi, I hava patched sdl.c file. return error is below: r...@dejunliu-desktop:/home/protocol/study/OE/build# qemu-system-arm -M versatilepb -usb -usbdevice wacom-tablet -show-cursor -m 64 -kernel /home/protocol/study/OE/angstrom-dev/deploy/glibc/images/qemuarm/zImage-2.6.25+2.6.26-rc4-r6-qemuarm.

[Qemu-devel] Re: [PATCH 04/14] block/qcow.c: fix warnings with _FORTIFY_SOURCE

2009-12-31 Thread Paolo Bonzini
On 12/31/2009 03:01 AM, malc wrote: >lseek(fd, header_size, SEEK_SET); Surprising that lseek's return value is not marked warn_unused_result. Probably because it's guaranteed not to fail because of I/O errors: ERRORS EBADF fd is not an open file descriptor. EINVAL whe