[Qemu-devel] [PATCH] qemu: virtio-9p: Do not reset atime

2010-05-31 Thread M. Mohan Kumar
Current code resets file's atime to 0 when there is a change in mtime. This results in resetting the atime to 1970-01-01 05:30:00. For example, truncate -s 0 filename results in changing the mtime to the truncate time, but resets the atime to 1970-01-01 05:30:00. utime system call does not have

[Qemu-devel] Re: [SeaBIOS] SMBIOS strings

2010-05-31 Thread Jes Sorensen
On 05/28/10 17:44, Gleb Natapov wrote: On Fri, May 28, 2010 at 05:24:47PM +0200, Jes Sorensen wrote: I guess the Socket Designation in particular might have been done for a reason? It was part of commit cf2affa6de. And was a result of moving to snprintf() instead of direct string

[Qemu-devel] Re: [SeaBIOS] SMBIOS strings

2010-05-31 Thread Jes Sorensen
On 05/29/10 14:49, Sebastian Herbszt wrote: Jes Sorensen wrote: We were looking at the dmidecode output from qemu-kvm pre-seabios and current qemu-kvm and noticed some of the strings have changed. The main problem with this is that certain OSes are quite sensitive to system changes and

[Qemu-devel] Re: [PATCHv2-RFC 0/2] virtio: put last seen used index into ring itself

2010-05-31 Thread Jes Sorensen
On 05/30/10 13:22, Michael S. Tsirkin wrote: On Fri, May 28, 2010 at 11:56:54AM +0200, Jes Sorensen wrote: It looks pretty good to me, however one thing I have been thinking of while reading through it: Rather than storing a pointer within the ring struct, pointing into a position within the

Re: [Qemu-devel] Re: [RFT][PATCH 07/15] qemu_irq: Add IRQ handlers with delivery feedback

2010-05-31 Thread Jan Kiszka
Blue Swirl wrote: On Sun, May 30, 2010 at 12:24 PM, Jan Kiszka jan.kis...@web.de wrote: Blue Swirl wrote: Linux don't use RTC as time source and I don't know about BSD, so no Linux or BSD test case for you, sorry. Run WindowXP standard HAL and put heavy load on the host. You can run video

[Qemu-devel] Re: [PATCHv2-RFC 0/2] virtio: put last seen used index into ring itself

2010-05-31 Thread Rusty Russell
On Thu, 27 May 2010 05:20:35 am Michael S. Tsirkin wrote: Here's a rewrite of the original patch with a new layout. I haven't tested it yet so no idea how this performs, but I think this addresses the cache bounce issue raised by Avi. Posting for early flames/comments. Sorry, not without some

[Qemu-devel] Re: [SeaBIOS] SMBIOS strings

2010-05-31 Thread Gleb Natapov
On Mon, May 31, 2010 at 09:32:08AM +0200, Jes Sorensen wrote: On 05/28/10 17:44, Gleb Natapov wrote: On Fri, May 28, 2010 at 05:24:47PM +0200, Jes Sorensen wrote: I guess the Socket Designation in particular might have been done for a reason? It was part of commit cf2affa6de. And was a

Re: [Qemu-devel] [PATCH v3 04/17] qdev: Give qtree names precedence over user-assigned IDs

2010-05-31 Thread Markus Armbruster
[cc: kraxel] Avi Kivity a...@redhat.com writes: On 05/29/2010 11:01 AM, Markus Armbruster wrote: Jan Kiszkajan.kis...@web.de writes: From: Jan Kiszkajan.kis...@siemens.com As the user may specify ambiguous device IDs, let's search for their official names first before considering

Re: [Qemu-devel] [PATCH] all vga: refuse hotplugging.

2010-05-31 Thread Gerd Hoffmann
On 05/28/10 16:21, Paul Brook wrote: Try to pci hotplug a vga card, watch qemu die with hw_error(). This patch fixes it. I think this is wrong. There's no reason why VGA adapters shouldn't be hotplugged. You should fix the underlying problems that prevent hotplugging The qemu code base

Re: [Qemu-devel] Re: [PATCH v2 12/15] monitor: Add basic device state visualization

2010-05-31 Thread Markus Armbruster
Jan Kiszka jan.kis...@web.de writes: Avi Kivity wrote: On 05/29/2010 11:14 AM, Jan Kiszka wrote: Currently breaks down when IDs contain '/', but permitting that is a bug. There may be more problems; the path lookup code is way too clever. Indeed. Less can sometimes be more. My

Re: [Qemu-devel] Re: [PATCH v2 12/15] monitor: Add basic device state visualization

2010-05-31 Thread Jan Kiszka
Markus Armbruster wrote: Jan Kiszka jan.kis...@web.de writes: Avi Kivity wrote: On 05/29/2010 11:14 AM, Jan Kiszka wrote: Currently breaks down when IDs contain '/', but permitting that is a bug. There may be more problems; the path lookup code is way too clever. Indeed. Less can

[Qemu-devel] Re: [PATCH 00/14] Block-related fixes and cleanups

2010-05-31 Thread Gerd Hoffmann
On 05/28/10 15:38, Markus Armbruster wrote: I'm working on cleanly separating block device host and guest parts. I'd like to route all this work through Kevin's block tree. This is just preliminaries. Markus Armbruster (14): blockdev: Belatedly remove MAX_DRIVES blockdev: Belatedly

[Qemu-devel] How does env_to_regs and regs_to_env works?

2010-05-31 Thread 曹莹
Now, I’m working with Qemu source study, but I have some difficulties. Could someday give me some help or advice. At the beginning of cpu_exec, there is a function call env_to_regs, but I cannot understand the behavior of env_to_regs. In my understanding, env_to_regs stores environment

[Qemu-devel] Re: [PATCH] usb-serial: Fail instead of crash when chardev is missing

2010-05-31 Thread Gerd Hoffmann
On 05/28/10 17:03, Markus Armbruster wrote: Signed-off-by: Markus Armbrusterarm...@redhat.com Nice catch. Acked-by: Gerd Hoffmann kra...@redhat.com cheers, Gerd

[Qemu-devel] [PATCH] qemu: virtio-9p: Implement TMKNOD

2010-05-31 Thread M. Mohan Kumar
Implement TMKNOD as part of 2000.L Work Synopsis size[4] Tmknod tag[2] fid[4] name[s] mode[4] dev[4] gid[4] size[4] Rmknod tag[2] qid[13] Description mknod asks the file server to create a device node with given device type, mode and gid. The qid for the new device node is

Re: [Qemu-devel] [PATCH v2 03/15] qdev: Allow device addressing via 'driver.instance'

2010-05-31 Thread Markus Armbruster
Jan Kiszka jan.kis...@web.de writes: Markus Armbruster wrote: Jan Kiszka jan.kis...@web.de writes: From: Jan Kiszka jan.kis...@siemens.com Extend qbus_find_dev to allow addressing of devices without an unique id via an optional per-bus instance number. The new formats are

Re: [Qemu-devel] [PATCH] target-ppc: remove useless line

2010-05-31 Thread Alexander Graf
On 29.05.2010, at 15:31, Andreas Färber wrote: Am 28.05.2010 um 21:00 schrieb Thomas Monjalon: From: Thomas Monjalon tho...@monjalon.net This line was a bit clear. The next lines set or reset this bit (LE) depending of another bit (ILE). So the first line is useless. Signed-off-by:

[Qemu-devel] Re: [QEMU-KVM]: Megasas + TCM_Loop + SG_IO into Windows XP guests

2010-05-31 Thread Gerd Hoffmann
Hi, Also it's worth mentioning that I am still running C: on QEMU IDE emulation, as I could not quite figure out how to boot for a megasas LD with option-rom. What QEMU CLI ops where requried to make this work again..? -option-rom $file or -device megasas,romfile=$file cheers, Gerd

[Qemu-devel] Re: [PATCH 0/2] Setup scsi-bus xfer and xfer_mode for PR IN/OUT and Maintenance IN/OUT

2010-05-31 Thread Gerd Hoffmann
On 05/31/10 03:42, Nicholas A. Bellinger wrote: From: Nicholas Bellingern...@linux-iscsi.org Greetings Gerd, Kevin and Co, Attached are two patches to add the necesary CDB parsing to determine SCSIRequest-cmd.xfer (length) and SCSIRequest-cmd.mode (direction) for Persistent Reservation IN/OUT

Re: [Qemu-devel] [PATCH v3 04/17] qdev: Give qtree names precedence over user-assigned IDs

2010-05-31 Thread Gerd Hoffmann
pci_add nic -net use either the ID or option name of qemu_net_opts. And there's our hole. Reproducible with -net user -net nic,id=foo -device lsi,id=foo. Oh. Well. Yes, better plug that. @@ -242,6 +243,10 @@ DeviceState *qdev_device_add(QemuOpts *opts) qdev =

Re: [Qemu-devel] [PATCH v2] savevm: Really verify if a drive supports snapshots

2010-05-31 Thread Kevin Wolf
Am 29.05.2010 21:55, schrieb Miguel Di Ciurcio Filho: Both bdrv_can_snapshot() and bdrv_has_snapshot() does not work as advertized. First issue: Their names implies different porpouses, but they do the same thing and have exactly the same code. Maybe copied and pasted and forgotten?

[Qemu-devel] RE: English proof-reading services for your research/academic/scientific documents

2010-05-31 Thread Academic Proofreading Services
Dear Researcher Please excuse us for contacting you directly. We are offering an efficient service to help you and your colleagues ensure that your academic and professional work is written in perfect English. We will check the grammar and style of your work and return it to you to meet your

[Qemu-devel] Re: RFC: blockdev_add friends, brief rationale, QMP docs

2010-05-31 Thread Markus Armbruster
Avi Kivity a...@redhat.com writes: On 05/28/2010 09:21 PM, Markus Armbruster wrote: snip, agreed Summary of the host / guest split: -drive options host or guest? bus, unit, if, index, addr guest, already covered by qdev cyls, heads, secs, trans

Re: [Qemu-devel] Re: RFC: blockdev_add friends, brief rationale, QMP docs

2010-05-31 Thread Markus Armbruster
Avi Kivity a...@redhat.com writes: On 05/28/2010 10:24 PM, Luiz Capitulino wrote: If a password is needed, we should throw an error and let the QMP client set the password and try again. It's what we do today, a password should be set with block_passwd before issuing the change

Re: [Qemu-devel] Re: [PATCH v2 12/15] monitor: Add basic device state visualization

2010-05-31 Thread Markus Armbruster
Jan Kiszka jan.kis...@siemens.com writes: Markus Armbruster wrote: Jan Kiszka jan.kis...@web.de writes: Avi Kivity wrote: On 05/29/2010 11:14 AM, Jan Kiszka wrote: Currently breaks down when IDs contain '/', but permitting that is a bug. There may be more problems; the path lookup code

Re: [Qemu-devel] Re: [PATCH v2 12/15] monitor: Add basic device state visualization

2010-05-31 Thread Jan Kiszka
Markus Armbruster wrote: Jan Kiszka jan.kis...@siemens.com writes: Markus Armbruster wrote: Jan Kiszka jan.kis...@web.de writes: Avi Kivity wrote: On 05/29/2010 11:14 AM, Jan Kiszka wrote: Currently breaks down when IDs contain '/', but permitting that is a bug. There may be more

Re: [Qemu-devel] [PATCH v3 04/17] qdev: Give qtree names precedence over user-assigned IDs

2010-05-31 Thread Markus Armbruster
Gerd Hoffmann kra...@redhat.com writes: pci_add nic -net use either the ID or option name of qemu_net_opts. And there's our hole. Reproducible with -net user -net nic,id=foo -device lsi,id=foo. Oh. Well. Yes, better plug that. @@ -242,6 +243,10 @@ DeviceState *qdev_device_add(QemuOpts

[Qemu-devel] Re: RFC: blockdev_add friends, brief rationale, QMP docs

2010-05-31 Thread Avi Kivity
On 05/31/2010 01:54 PM, Markus Armbruster wrote: We expose some of the cache property to the guest. IMO we need the cache property to be both guest and host, with qemu bridging the impedance mismatch if needed. Yes. How should the device properties look like?

[Qemu-devel] Re: RFC: blockdev_add friends, brief rationale, QMP docs

2010-05-31 Thread Markus Armbruster
Avi Kivity a...@redhat.com writes: On 05/31/2010 01:54 PM, Markus Armbruster wrote: We expose some of the cache property to the guest. IMO we need the cache property to be both guest and host, with qemu bridging the impedance mismatch if needed. Yes. How should the device

[Qemu-devel] [Bug 513273] Re: kvm with -vga std is broken since karmic

2010-05-31 Thread sotirovlyu
Forgot to mention that I'm also getting constantly the error message: BUG: kvm_dirty_pages_log_enable_slot: invalid parameters BUG: kvm_dirty_pages_log_disable_slot: invalid parameters BUG: kvm_dirty_pages_log_enable_slot: invalid parameters BUG: kvm_dirty_pages_log_disable_slot: invalid

[Qemu-devel] [Bug 513273] Re: kvm with -vga std is broken since karmic

2010-05-31 Thread sotirovlyu
I'm using qemu-kvm 0.12.3 with -vga std and with res like 1680x1050, 1440x900 and a few other it crashes/quits immediately with message Could not open SDL display. It happens for me both when switching with ctrl-alt-f or with cmd line option -full-screen. With 1024x768 for example it does not

Re: [Qemu-devel] [PATCH v2] savevm: Really verify if a drive supports snapshots

2010-05-31 Thread Miguel Di Ciurcio Filho
On Mon, May 31, 2010 at 6:59 AM, Kevin Wolf kw...@redhat.com wrote:  int bdrv_snapshot_create(BlockDriverState *bs,                           QEMUSnapshotInfo *sn_info)  {      BlockDriver *drv = bs-drv; -    if (!drv) -        return -ENOMEDIUM; -    if (!drv-bdrv_snapshot_create) -      

[Qemu-devel] [PATCH 0/5] Add '-device help' output for device params and help text

2010-05-31 Thread Amit Shah
Hello, This patch series adds support to specify some descriptive help text to qdev device parameters. This series adds some help text to the virtserialport and net family of devices as an example, and the new output is shown in the respective commits. This series also adds a new '-device help'

[Qemu-devel] [PATCH 1/5] qdev: Add a description field for qdev properties for documentation

2010-05-31 Thread Amit Shah
Add a 'description' along with each qdev property to document the input each qdev property takes. Signed-off-by: Amit Shah amit.s...@redhat.com --- block_int.h | 10 +++--- hw/a9mpcore.c |2 +- hw/acpi_piix4.c |2 +- hw/arm11mpcore.c |4 +-

[Qemu-devel] [PATCH 2/5] virtio-serial: Add description fields for qdev properties

2010-05-31 Thread Amit Shah
Document the parameters for the virtserialport and virtioconsole devices. Example: $ ./x86_64-softmmu/qemu-system-x86_64 -device virtserialport,? virtserialport.nr=uint32, The 'number' for the port for \ predictable port numbers. Use this to spawn ports if you \ plan to migrate the guest.

[Qemu-devel] [PATCH 4/5] qdev: Re-arrange code to have device properties shown from own function

2010-05-31 Thread Amit Shah
Instead of printing out the device properties help messages from qdev_device_help(), split it off into a new function. This way, we have two separate function calls for device help and device properties help. This will be later used to show all the devices and all the properties associated with

[Qemu-devel] Re: [PULL] pci, vhost fixes

2010-05-31 Thread Paolo Bonzini
On 05/30/2010 08:19 PM, Blue Swirl wrote: We have PRI*64 just for this purpose, so let's use them. The discussion about that was earlier. How does mingw matter for vhost-net specific code? Paolo

[Qemu-devel] [PATCH 5/5] qdev: Add new '-device help' option, shows all devices and properties

2010-05-31 Thread Amit Shah
The new '-device help' option shows all the devices that are registered with qdev and prints out all the properties each device has, along with the description for each property. This is useful in creating automatic documentation for all the options that we have and support. Signed-off-by: Amit

[Qemu-devel] [PATCH 3/5] net.h: Add description fields for qdev properites

2010-05-31 Thread Amit Shah
This results in an output like: $ ./x86_64-softmmu/qemu-system-x86_64 -device virtio-net-pci,? ... virtio-net-pci.mac=macaddr, The MAC address for the NIC. virtio-net-pci.vlan=vlan, The VLAN to associate the NIC with. virtio-net-pci.netdev=netdev, The peer net device to associate with this

Re: [Qemu-devel] [PATCH] target-ppc: remove useless line

2010-05-31 Thread Thomas Monjalon
Alexander Graf wrote: Thomas, have you verified that it still boots a ppc64 guest? No, but I don't see any specific link between ppc64 and this change. This is the current (pseudo)code: LE = 0 if ILE == 1 LE = 1 else LE = 0 In all cases, LE will be overwritten after

[Qemu-devel] Re: [PATCHv2-RFC 0/2] virtio: put last seen used index into ring itself

2010-05-31 Thread Michael S. Tsirkin
On Mon, May 31, 2010 at 09:36:00AM +0200, Jes Sorensen wrote: On 05/30/10 13:22, Michael S. Tsirkin wrote: On Fri, May 28, 2010 at 11:56:54AM +0200, Jes Sorensen wrote: It looks pretty good to me, however one thing I have been thinking of while reading through it: Rather than storing a

[Qemu-devel] Re: [PULL] pci, vhost fixes

2010-05-31 Thread Michael S. Tsirkin
On Mon, May 31, 2010 at 02:51:26PM +0200, Paolo Bonzini wrote: On 05/30/2010 08:19 PM, Blue Swirl wrote: We have PRI*64 just for this purpose, so let's use them. The discussion about that was earlier. How does mingw matter for vhost-net specific code? Paolo Good point. That code is

Re: [Qemu-devel] Re: RFC: blockdev_add friends, brief rationale, QMP docs

2010-05-31 Thread Luiz Capitulino
On Mon, 31 May 2010 13:05:37 +0200 Markus Armbruster arm...@redhat.com wrote: Avi Kivity a...@redhat.com writes: On 05/28/2010 10:24 PM, Luiz Capitulino wrote: If a password is needed, we should throw an error and let the QMP client set the password and try again. It's what

[Qemu-devel] Re: [PATCH v3 0/3]: QMP: Commands doc

2010-05-31 Thread Luiz Capitulino
On Sat, 29 May 2010 10:50:55 +0200 Jan Kiszka jan.kis...@web.de wrote: Luiz Capitulino wrote: This new version moves the documentation to qemu-monitor.hx and now QMP/qmp-commands.txt is generated from there (thanks Jan!). I hope I've addressed all review comments in this version and now

Re: [Qemu-devel] Re: RFC: blockdev_add friends, brief rationale, QMP docs

2010-05-31 Thread Kevin Wolf
Am 31.05.2010 15:48, schrieb Luiz Capitulino: On Mon, 31 May 2010 13:05:37 +0200 Markus Armbruster arm...@redhat.com wrote: Avi Kivity a...@redhat.com writes: On 05/28/2010 10:24 PM, Luiz Capitulino wrote: If a password is needed, we should throw an error and let the QMP client set the

[Qemu-devel] [PATCH] qdev: Reject duplicate and anti-social device IDs

2010-05-31 Thread Markus Armbruster
We need Device IDs to be unique and not contain '/' so device tree nodes can always be unambigously referenced by tree path. We already have some protection against duplicate IDs, but it got holes: * We don't assign IDs to default devices. * -device and device_add use the ID of a

[Qemu-devel] [PATCH] virtio-serial: Simplify virtio_serial_load()

2010-05-31 Thread Markus Armbruster
For all i, ports_map[i] is used in and only in the i-th iteration. Replace the dynamic array by a scalar variable. Signed-off-by: Markus Armbruster arm...@redhat.com --- hw/virtio-serial-bus.c | 12 +++- 1 files changed, 3 insertions(+), 9 deletions(-) diff --git

Re: [Qemu-devel] [PATCH v2 1/6] MIPS: Initial support of bonito north bridge used by fulong mini pc

2010-05-31 Thread chen huacai
On Sat, May 29, 2010 at 4:31 AM, Aurelien Jarno aurel...@aurel32.net wrote: Please find my comments below. Note that I don't feel very comfortable with PCI code, so a review from someone know this part of QEMU would be nice. On Wed, May 19, 2010 at 10:26:32PM +0800, Huacai Chen wrote:

Re: [Qemu-devel] [PATCH v2 5/6] MIPS: Initial support of fulong mini pc (CPU definition, machine construction, etc.)

2010-05-31 Thread chen huacai
On Sat, May 29, 2010 at 4:56 AM, Aurelien Jarno aurel...@aurel32.net wrote: Please find my comments below. On Wed, May 19, 2010 at 10:28:36PM +0800, Huacai Chen wrote: Signed-off-by: Huacai Chen zltjiang...@gmail.com ---  Makefile.target              |    2 +-  hw/mips_fulong2e.c          

[Qemu-devel] Re: [PATCH 05/14] ide: Remove redundant IDEState member conf

2010-05-31 Thread Kevin Wolf
Am 28.05.2010 15:38, schrieb Markus Armbruster: Commit 428c149b added IDEState member conf to let commit 0009baf1 find the BlockConf from there. It exists only for qdev drives, created via ide_drive_initfn(), not for drives created via ide_init2(). But for a qdev drive, we can just as well

Re: [Qemu-devel] [PATCH] target-ppc: remove useless line

2010-05-31 Thread Alexander Graf
Thomas Monjalon wrote: Alexander Graf wrote: Thomas, have you verified that it still boots a ppc64 guest? No, but I don't see any specific link between ppc64 and this change. This is the current (pseudo)code: LE = 0 if ILE == 1 LE = 1 else LE = 0

[Qemu-devel] Re: [PATCH] target-ppc: fix RFI by clearing some bits of MSR

2010-05-31 Thread Alexander Graf
Thomas Monjalon wrote: From: Thomas Monjalon tho...@monjalon.net Since commit 2ada0ed, Return From Interrupt is broken for PPC processors because some interrupt specifics bits of SRR1 are copied to MSR. SRR1 is a save of MSR during interrupt. During RFI, MSR must be restored from SRR1. But

[Qemu-devel] Re: [PATCH 05/14] ide: Remove redundant IDEState member conf

2010-05-31 Thread Markus Armbruster
Kevin Wolf kw...@redhat.com writes: Am 28.05.2010 15:38, schrieb Markus Armbruster: Commit 428c149b added IDEState member conf to let commit 0009baf1 find the BlockConf from there. It exists only for qdev drives, created via ide_drive_initfn(), not for drives created via ide_init2(). But

[Qemu-devel] [PATCH v2 03/12] hw/omap2.c : separate gptimer module

2010-05-31 Thread cmchao
Signed-off-by: cmchao cmc...@gmail.com --- Makefile.target |2 +- hw/omap.h |2 + hw/omap2.c| 462 -- hw/omap_gptimer.c | 484 + 4 files changed, 487 insertions(+), 463

[Qemu-devel] [PATCH v2 05/12] hw/omap2.c : separate gpmc(general purpose memory controller)

2010-05-31 Thread cmchao
Signed-off-by: cmchao cmc...@gmail.com --- Makefile.target |2 +- hw/omap.h |2 + hw/omap2.c | 396 hw/omap_gpmc.c | 419 +++ 4 files changed, 422 insertions(+), 397

[Qemu-devel] [PATCH v2 01/12] hw/omap1.c : separate gpio module

2010-05-31 Thread cmchao
Signed-off-by: cmchao cmc...@gmail.com --- Makefile.target |2 +- hw/omap.h |1 + hw/omap1.c | 181 - hw/omap_gpio.c | 202 +++ 4 files changed, 204 insertions(+), 182

[Qemu-devel] [PATCH v2 04/12] hw/omap2.c : separate synctimer module

2010-05-31 Thread cmchao
Signed-off-by: cmchao cmc...@gmail.com --- Makefile.target |2 +- hw/omap.h | 11 +++--- hw/omap2.c | 72 +- hw/omap_synctimer.c | 96 +++ 4 files changed, 104 insertions(+), 77

[Qemu-devel] [PATCH v2 12/12] hw/omap : make local function static and remove declaration from header

2010-05-31 Thread cmchao
Signed-off-by: cmchao cmc...@gmail.com --- hw/omap.h | 36 hw/omap1.c | 12 ++-- hw/omap2.c |6 +++--- 3 files changed, 9 insertions(+), 45 deletions(-) diff --git a/hw/omap.h b/hw/omap.h index 34443b4..18eb72b 100644 --- a/hw/omap.h +++

[Qemu-devel] [PATCH v2 02/12] hw/omap2.c : separate gpio module

2010-05-31 Thread cmchao
Signed-off-by: cmchao cmc...@gmail.com --- hw/omap.h |3 + hw/omap2.c | 523 hw/omap_gpio.c | 523 3 files changed, 526 insertions(+), 523 deletions(-) diff --git

[Qemu-devel] [PATCH v2 00/12] refactor OMAP implementation

2010-05-31 Thread cmchao
The following changes since commit aa6f63fff62faf2fe9ffba5a789675d49293614d Blue Swirl: mc146818rtc: improve debugging Add a separate flag for debugging coalesced interrupts. The patches almostly base on http://meego.gitorious.org/qemu-maemo/qemu work and act as preparatory

[Qemu-devel] [PATCH v2 11/12] hw/omap1.c : separate uart module

2010-05-31 Thread cmchao
Signed-off-by: cmchao cmc...@gmail.com --- Makefile.target |3 +- hw/omap1.c | 170 hw/omap_uart.c | 194 +++ 3 files changed, 196 insertions(+), 171 deletions(-) create mode 100644

[Qemu-devel] [PATCH v2 08/12] hw/omap2.c : separate spi module

2010-05-31 Thread cmchao
Signed-off-by: cmchao cmc...@gmail.com --- Makefile.target |2 +- hw/omap.h |2 + hw/omap2.c | 323 --- hw/omap_spi.c | 346 +++ 4 files changed, 349 insertions(+), 324

[Qemu-devel] [PATCH v2 10/12] hw/omwp2.c : separate l4 interconnect module

2010-05-31 Thread cmchao
Signed-off-by: cmchao cmc...@gmail.com --- Makefile.target |3 +- hw/omap.h | 37 ++-- hw/omap2.c | 269 ++- hw/omap_l4.c| 271 +++ 4 files changed, 307

[Qemu-devel] [PATCH v2 07/12] hw/omap1.c : separate interrupt controller module

2010-05-31 Thread cmchao
Signed-off-by: cmchao cmc...@gmail.com --- Makefile.target |2 +- hw/omap.h |2 + hw/omap1.c | 576 + hw/omap_intc.c | 598 +++ 4 files changed, 603 insertions(+), 575

[Qemu-devel] [PATCH v2 09/12] hw/omap2.c : separate tap module(Test-Chip-level)

2010-05-31 Thread cmchao
Signed-off-by: cmchao cmc...@gmail.com --- Makefile.target |2 +- hw/omap2.c | 90 hw/omap_tap.c | 112 +++ 3 files changed, 113 insertions(+), 91 deletions(-) create mode 100644

[Qemu-devel] [PATCH v2 06/12] hw/omap2.c : separate sdrc (sdram controller)

2010-05-31 Thread cmchao
Signed-off-by: cmchao cmc...@gmail.com --- Makefile.target |2 +- hw/omap.h |2 + hw/omap2.c | 144 hw/omap_sdrc.c | 165 +++ 4 files changed, 168 insertions(+), 145

Re: [Qemu-devel] Unable to install Windows XP and 2003 with libvirt

2010-05-31 Thread Laurent Léonard
Le mardi 25 mai 2010 00:27:29, Bruce Rogers a écrit : On 5/24/2010 at 05:43 AM, Laurent Léonardlaur...@open-minds.org wrote: The problem has already been reported on the list here : http://lists.nongnu.org/archive/html/qemu-devel/2010-03/msg01725.html Any information on what can be

Re: [Qemu-devel] [PATCH v2 5/6] MIPS: Initial support of fulong mini pc (CPU definition, machine construction, etc.)

2010-05-31 Thread Aurelien Jarno
On Mon, May 31, 2010 at 10:35:03PM +0800, chen huacai wrote: On Sat, May 29, 2010 at 4:56 AM, Aurelien Jarno aurel...@aurel32.net wrote: Please find my comments below. On Wed, May 19, 2010 at 10:28:36PM +0800, Huacai Chen wrote: Signed-off-by: Huacai Chen zltjiang...@gmail.com ---  

[Qemu-devel] [PATCH 1/3] monitor: Reorder info documentation

2010-05-31 Thread Luiz Capitulino
From: Jan Kiszka jan.kis...@siemens.com Push the doc fragments for the info command to the end of qemu-monitor.hx. This helps to establish a proper layout in the upcoming QMP documentation. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- qemu-monitor.hx | 186

[Qemu-devel] [PATCH v4 0/3]: QMP: Commands doc

2010-05-31 Thread Luiz Capitulino
Rebase.. Let's try to merge this ASAP, please. changelog - v3 - v4 - Rebased - Minor commit log clarification v2 - v3 - Rebased - Addressed review comments - Move contents to qemu-monitor.hx (Jan) v1 - v2 - Rebased - Addressed Markus's comments - Changed

[Qemu-devel] [PATCH 2/3] QMP: Introduce commands documentation

2010-05-31 Thread Luiz Capitulino
From: Jan Kiszka jan.kis...@siemens.com One of the most important missing feature in QMP today is its supported commands documentation. The plan is to make it part of self-description support, however self-description is a big task we have been postponing for a long time now and still don't know

[Qemu-devel] [PATCH 3/3] Monitor: Drop QMP documentation from code

2010-05-31 Thread Luiz Capitulino
Previous commit added QMP documentation to the qemu-monitor.hx file, it's is a copy of this information. While it's good to keep it near code, maintaining two copies of the same information is too hard and has little benefit as we don't expect client writers to consult the code to find how to use

[Qemu-devel] [Bug 587993] [NEW] qemu-kvm 0.12.4+dfsg-1 from debian squeeze crashes BUG: unable to handle kernel NULL pointer (sym53c8xx)

2010-05-31 Thread Maciek
Public bug reported: I use eucalyptus software (1.6.2) on debian squeeze with kvm 0.12.4+dfsg-1. Kernel 2.6.32-3-amd64. After a few days machines crash. There are no logs in host system. Guest is the same kernel and OS as host. The kvm process use 100% of cpu time. I can not even ping the guest.

[Qemu-devel] Re: [PULL] pci, vhost fixes

2010-05-31 Thread Blue Swirl
On Mon, May 31, 2010 at 1:35 PM, Michael S. Tsirkin m...@redhat.com wrote: On Mon, May 31, 2010 at 02:51:26PM +0200, Paolo Bonzini wrote: On 05/30/2010 08:19 PM, Blue Swirl wrote: We have PRI*64 just for this purpose, so let's use them. The discussion about that was earlier. How does mingw

Re: [Qemu-devel] [PATCH] target-ppc: fix RFI by clearing some bits of MSR

2010-05-31 Thread Aurelien Jarno
On Fri, May 28, 2010 at 09:07:32PM +0200, Thomas Monjalon wrote: From: Thomas Monjalon tho...@monjalon.net Since commit 2ada0ed, Return From Interrupt is broken for PPC processors because some interrupt specifics bits of SRR1 are copied to MSR. SRR1 is a save of MSR during interrupt.

Re: [Qemu-devel] [PATCH] arm: fix arm kernel boot for non zero start addr

2010-05-31 Thread Aurelien Jarno
On Sat, May 08, 2010 at 10:43:35PM +0200, Lars Munch wrote: Booting an arm kernel has been broken a while when booting from non zero start address. This is due to the order of events: board init loads the kernel and sets register 15 to the start address and then qemu_system_reset reset the cpu

Re: [Qemu-devel] [PATCH] Fix leul_to_cpu on big endian hosts

2010-05-31 Thread Alexander Graf
Aurelien Jarno wrote: On Tue, May 11, 2010 at 05:38:17PM +0200, Alexander Graf wrote: Commit 213acd2e introduced leul_to_cpu with a special code path for big endian hosts. Unfortunately that code used preprocessor magic that didn't work. This patch replaces the explicit ##s by glue()

Re: [Qemu-devel] [PATCH] Fix leul_to_cpu on big endian hosts

2010-05-31 Thread Aurelien Jarno
On Tue, May 11, 2010 at 05:38:17PM +0200, Alexander Graf wrote: Commit 213acd2e introduced leul_to_cpu with a special code path for big endian hosts. Unfortunately that code used preprocessor magic that didn't work. This patch replaces the explicit ##s by glue() which is proven to work

Re: [Qemu-devel] [PATCH] target-ppc: remove useless line

2010-05-31 Thread Aurelien Jarno
On Fri, May 28, 2010 at 09:00:45PM +0200, Thomas Monjalon wrote: From: Thomas Monjalon tho...@monjalon.net This line was a bit clear. The next lines set or reset this bit (LE) depending of another bit (ILE). So the first line is useless. Thanks, applied. Signed-off-by: Thomas Monjalon

Re: [Qemu-devel] [PATCH] Fix leul_to_cpu on big endian hosts

2010-05-31 Thread Alexander Graf
Alexander Graf wrote: Commit 213acd2e introduced leul_to_cpu with a special code path for big endian hosts. Unfortunately that code used preprocessor magic that didn't work. This patch replaces the explicit ##s by glue() which is proven to work reliably, enabling me to compile qemu on ppc

[Qemu-devel] [PULLv2] pci fixes

2010-05-31 Thread Michael S. Tsirkin
OK, I dropped the vhost change for now: I still think we should not bother about mingw for linux-only code, but at this point it's not important for me. The following changes since commit aa6f63fff62faf2fe9ffba5a789675d49293614d: mc146818rtc: improve debugging (2010-05-30 19:20:07 +) are

[Qemu-devel] Re: [PATCH] qdev: Reject duplicate and anti-social device IDs

2010-05-31 Thread Gerd Hoffmann
On 05/31/10 16:13, Markus Armbruster wrote: We need Device IDs to be unique and not contain '/' so device tree nodes can always be unambigously referenced by tree path. We already have some protection against duplicate IDs, but it got holes: * We don't assign IDs to default devices. * -device

Re: [Qemu-devel] [PATCH] Fix leul_to_cpu on big endian hosts

2010-05-31 Thread Aurelien Jarno
On Mon, May 31, 2010 at 08:44:55PM +0200, Alexander Graf wrote: Aurelien Jarno wrote: On Tue, May 11, 2010 at 05:38:17PM +0200, Alexander Graf wrote: Commit 213acd2e introduced leul_to_cpu with a special code path for big endian hosts. Unfortunately that code used preprocessor magic

[Qemu-devel] Re: [QEMU-KVM]: Megasas + TCM_Loop + SG_IO into Windows XP guests

2010-05-31 Thread Alexander Graf
Am 31.05.2010 um 11:52 schrieb Gerd Hoffmann kra...@redhat.com: Hi, Also it's worth mentioning that I am still running C: on QEMU IDE emulation, as I could not quite figure out how to boot for a megasas LD with option-rom. What QEMU CLI ops where requried to make this work again..?

[Qemu-devel] [PATCH] ceph/rbd block driver for qemu-kvm (v3)

2010-05-31 Thread Christian Brunner
Hi Kevin, here is an updated patch for the ceph/rbd driver. I hope that everything is fine now. Regards, Christian This is a block driver for the distributed file system Ceph (http://ceph.newdream.net/). This driver uses librados (which is part of the Ceph server) for direct access to the

[Qemu-devel] [Bug 586424] Re: SMC91C111 failed when booting Linux/ARM(Mainstone) since 0.10.0

2010-05-31 Thread Lars Munch
** Changed in: qemu Status: In Progress = Fix Committed -- SMC91C111 failed when booting Linux/ARM(Mainstone) since 0.10.0 https://bugs.launchpad.net/bugs/586424 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU:

[Qemu-devel] [Bug 586221] Re: Linux on ARM/Mainstone machine fails at bootstrap

2010-05-31 Thread Lars Munch
Fixed in e03c22a98cf5deffd0dec2f9ff88a600aa330bc4 ** Changed in: qemu Status: New = Fix Committed -- Linux on ARM/Mainstone machine fails at bootstrap https://bugs.launchpad.net/bugs/586221 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed

[Qemu-devel] [PATCH] ahci: drop board_ahci constants

2010-05-31 Thread Sebastian Herbszt
Drop not used board_ahci constants. Signed-off-by: Sebastian Herbszt herb...@gmx.de diff --git a/hw/ahci.c b/hw/ahci.c index 3476cea..4090def 100644 --- a/hw/ahci.c +++ b/hw/ahci.c @@ -65,12 +65,6 @@ do { fprintf(stderr,ahci: fmt , ## __VA_ARGS__); } while (0) #define RX_FIS_SDB

[Qemu-devel] Re: [Qemu-ahci-devel] [PATCH] ahci: drop board_ahci constants

2010-05-31 Thread Alexander Graf
On 31.05.2010, at 22:12, Sebastian Herbszt wrote: Drop not used board_ahci constants. Signed-off-by: Sebastian Herbszt herb...@gmx.de diff --git a/hw/ahci.c b/hw/ahci.c index 3476cea..4090def 100644 --- a/hw/ahci.c +++ b/hw/ahci.c @@ -65,12 +65,6 @@ do { fprintf(stderr,ahci: fmt , ##

[Qemu-devel] Re: [Qemu-ahci-devel] [PATCH] ahci: drop board_ahci constants

2010-05-31 Thread Sebastian Herbszt
Alexander Graf wrote: On 31.05.2010, at 22:12, Sebastian Herbszt wrote: Drop not used board_ahci constants. Signed-off-by: Sebastian Herbszt herb...@gmx.de diff --git a/hw/ahci.c b/hw/ahci.c index 3476cea..4090def 100644 --- a/hw/ahci.c +++ b/hw/ahci.c @@ -65,12 +65,6 @@ do {

Re: [Qemu-devel] [PATCH 2/3] QMP: Introduce commands documentation

2010-05-31 Thread Stefan Hajnoczi
On Mon, May 31, 2010 at 6:43 PM, Luiz Capitulino lcapitul...@redhat.com wrote: Hi Luiz, I'm interested in QMP, have left some feedback. As I get up to speed with QMP my questions and suggestions will hopefully be useful. Apologies in advance if any of my thoughts here are old news and have been

[Qemu-devel] Re: [SeaBIOS] SMBIOS strings

2010-05-31 Thread Sebastian Herbszt
Gleb Natapov wrote: I don't care much as long as we will not have CPU :. It looks like something that can change after BIOS upgrade, so it is hard to believe Windows will stop working because of this change. Maybe it could trigger the Windows activation process? Sebastian

[Qemu-devel] [PATCH] ahci: drop ATAPI_CMD constants

2010-05-31 Thread Sebastian Herbszt
Drop not used ATAPI_CMD constants. Signed-off-by: Sebastian Herbszt herb...@gmx.de diff --git a/hw/ahci.c b/hw/ahci.c index 9987459..a024706 100644 --- a/hw/ahci.c +++ b/hw/ahci.c @@ -179,21 +179,6 @@ do { fprintf(stderr,ahci: fmt , ## __VA_ARGS__); } while (0) #define ATA_CMD_WRITE_EXT

[Qemu-devel] Re: [Qemu-ahci-devel] [PATCH] ahci: drop ATAPI_CMD constants

2010-05-31 Thread Alexander Graf
On 31.05.2010, at 22:56, Sebastian Herbszt wrote: Drop not used ATAPI_CMD constants. I'd postpone that. We should get rid of _all_ ATA and ATAPI commands in ahci.c, but that'll be part of a bigger cleanup. IMHO we should reuse the IDE core for those. Alex

[Qemu-devel] [PATCH] usb-uhci: fix commit 8e65b7c04965c8355e4ce43211582b6b83054e3d for vmstate

2010-05-31 Thread TeLeMan
The commit 8e65b7c04965c8355e4ce43211582b6b83054e3d introduced expire_time of UHCIState. But expire_time is not in vmstate, the second uhci_frame_timer will not be fired immediately after loadvm. Signed-off-by: TeLeMan gele...@gmail.com --- hw/usb-uhci.c |3 ++- 1 files changed,[PATCH]

[Qemu-devel] [PATCH v2] sdl: fix setenv for win32

2010-05-31 Thread TeLeMan
setenv() is not implemented on MinGW, so we have to use putenv(). Signed-off-by: TeLeMan gele...@gmail.com --- sdl.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/sdl.c b/sdl.c index add1148..eac898a 100644 --- a/sdl.c +++ b/sdl.c @@ -850,7 +850,14 @@ void

[Qemu-devel] [PATCH][RESEND] usb-uhci: fix commit 8e65b7c04965c8355e4ce43211582b6b83054e3d for vmstate

2010-05-31 Thread TeLeMan
The commit 8e65b7c04965c8355e4ce43211582b6b83054e3d introduced expire_time of UHCIState. But expire_time is not in vmstate, the second uhci_frame_timer will not be fired immediately after loadvm. Signed-off-by: TeLeMan gele...@gmail.com --- hw/usb-uhci.c |3 ++- 1 files changed, 2

[Qemu-devel] [Bug 588127] [NEW] qemu fails to recognize host features SSE4.1, SSE4.2

2010-05-31 Thread fonz
Public bug reported: Tested on qemu v0.11.0 and v0.12.3: qemu-kvm -cpu core2duo,+sse4.1,+sse4.2 CPU feature sse4.1 not found CPU feature sse4.2 not found egrep model name|flags /proc/cpuinfo | sort -r | uniq model name : Intel(R) Xeon(R) CPU X5570 @ 2.93GHz flags : fpu

[Qemu-devel] KVM call agenda for June 1

2010-05-31 Thread Chris Wright
Please send in any agenda items you are interested in covering. If we have a lack of agenda items I'll cancel the week's call. thanks, -chris

Re: [Qemu-devel] Re: [PULL] pci, vhost fixes

2010-05-31 Thread Markus Armbruster
Blue Swirl blauwir...@gmail.com writes: On Mon, May 31, 2010 at 1:35 PM, Michael S. Tsirkin m...@redhat.com wrote: On Mon, May 31, 2010 at 02:51:26PM +0200, Paolo Bonzini wrote: On 05/30/2010 08:19 PM, Blue Swirl wrote: We have PRI*64 just for this purpose, so let's use them. The discussion

  1   2   >