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

2010-05-30 Thread Gleb Natapov
On Sat, May 29, 2010 at 09:21:14PM +, Blue Swirl wrote: On Sat, May 29, 2010 at 4:37 PM, Gleb Natapov g...@redhat.com wrote: On Sat, May 29, 2010 at 04:13:22PM +, Blue Swirl wrote: On Sat, May 29, 2010 at 2:46 PM, Gleb Natapov g...@redhat.com wrote: On Sat, May 29, 2010 at

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

2010-05-30 Thread Avi Kivity
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 the user-supplied identifiers. Signed-off-by: Jan

Re: [Qemu-devel] Re: Another SIGFPE in display code, now in cirrus

2010-05-30 Thread Avi Kivity
On 05/12/2010 09:11 PM, Stefano Stabellini wrote: On Wed, 12 May 2010, Jamie Lokier wrote: Stefano Stabellini wrote: On Wed, 12 May 2010, Avi Kivity wrote: It's useful if you have a one-line horizontal pattern you want to propagate all over. It might be useful

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

2010-05-30 Thread Avi Kivity
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 impression is that some of the cleverness was motivated by

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

2010-05-30 Thread Avi Kivity
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, transguest, new qdev properties

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

2010-05-30 Thread Avi Kivity
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 command. Otherwise an error is throw.

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

2010-05-30 Thread Michael S. Tsirkin
On Fri, May 28, 2010 at 11:56:54AM +0200, Jes Sorensen wrote: On 05/26/10 21:50, 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.

[Qemu-devel] Re: sparc mmu

2010-05-30 Thread Blue Swirl
On Sat, May 29, 2010 at 9:33 PM, Artyom Tarasenko atar4q...@googlemail.com wrote: 2010/5/29 Blue Swirl blauwir...@gmail.com: Robert Reif did some improvements to SuperSparc emulation, but the work was not finished. That should be a good starting point. Do you mean the last patch he sent to us

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

2010-05-30 Thread Blue Swirl
2010/5/30 Gleb Natapov g...@redhat.com: On Sat, May 29, 2010 at 08:52:34PM +, Blue Swirl wrote: On Sat, May 29, 2010 at 4:32 PM, Gleb Natapov g...@redhat.com wrote: On Sat, May 29, 2010 at 04:03:22PM +, Blue Swirl wrote: 2010/5/29 Gleb Natapov g...@redhat.com: On Sat, May 29, 2010

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

2010-05-30 Thread Avi Kivity
On 05/28/2010 01:19 AM, Jan Kiszka wrote: Still, this does not answer: - How do you want to detect lost timer ticks? Your (and Gleb's) approach: during injection An alternative: during guest ack The normal pattern is inj/ack/inj/ack; if we see inj/inj/inj we know the guest isn't

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

2010-05-30 Thread Avi Kivity
On 05/29/2010 12:15 PM, Blue Swirl wrote: This would allow counting the executed instructions and limit it. Thus we could emulate a 500MHz CPU on a 2GHz CPU more accurately. Why would you want to limit number of instruction executed by guest if CPU has nothing else to do anyway? The

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

2010-05-30 Thread Blue Swirl
2010/5/30 Gleb Natapov g...@redhat.com: On Sat, May 29, 2010 at 09:21:14PM +, Blue Swirl wrote: On Sat, May 29, 2010 at 4:37 PM, Gleb Natapov g...@redhat.com wrote: On Sat, May 29, 2010 at 04:13:22PM +, Blue Swirl wrote: On Sat, May 29, 2010 at 2:46 PM, Gleb Natapov g...@redhat.com

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

2010-05-30 Thread Jan Kiszka
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 inside the gust to trigger coalescing more easily. I don't have Windows XP, sorry.

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

2010-05-30 Thread Gleb Natapov
On Sun, May 30, 2010 at 12:10:16PM +, Blue Swirl wrote: You missed the key word 'stopped'. If the timer is really stopped, no IRQs should ever come out afterwards, just like on real HW. For the emulation, this means loss of ticks which should have been delivered before the change.

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

2010-05-30 Thread Blue Swirl
2010/5/30 Gleb Natapov g...@redhat.com: On Sun, May 30, 2010 at 12:10:16PM +, Blue Swirl wrote: You missed the key word 'stopped'. If the timer is really stopped, no IRQs should ever come out afterwards, just like on real HW. For the emulation, this means loss of ticks which should

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

2010-05-30 Thread Blue Swirl
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 inside the gust to

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

2010-05-30 Thread Blue Swirl
2010/5/30 Gleb Natapov g...@redhat.com: On Sun, May 30, 2010 at 12:10:16PM +, Blue Swirl wrote: You missed the key word 'stopped'. If the timer is really stopped, no IRQs should ever come out afterwards, just like on real HW. For the emulation, this means loss of ticks which should

[Qemu-devel] Re: Qemu-devel Digest, Vol 86, Issue 533

2010-05-30 Thread Suporte
QtEmu 1.0.5 in Linux KDuXPv1.97 , workfine. qemu-devel-requ...@nongnu.org escreveu: Send Qemu-devel mailing list submissions to qemu-devel@nongnu.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.nongnu.org/mailman/listinfo/qemu-devel or, via email,

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

2010-05-30 Thread Gleb Natapov
On Sun, May 30, 2010 at 12:56:26PM +, Blue Swirl wrote: Well, I'd like to get the test program also trigger it. Now I'm getting: apic: write: 0350 = apic: apic_reset_irq_delivered: old coalescing 0 apic: apic_local_deliver: vector 3 delivery mode 0 apic: apic_set_irq:

[Qemu-devel] Re: [PATCH v2] pci-hotplug: make them aware of pci domain.

2010-05-30 Thread Michael S. Tsirkin
On Fri, May 28, 2010 at 06:30:46PM +0900, Isaku Yamahata wrote: add helper function which converts root bus to pci domain. make them aware of pci domain. Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp Doesn't seem to apply to master. --- Changes: V1 - V2 - removed pci_find_bus() -

[Qemu-devel] [PATCH] [virtio-9p] Server side implementation for TLINK

2010-05-30 Thread Venkateswararao Jujjuri (JV)
Create a link. SYNOPSIS size[4] Tlink tag[2] dfid[4] oldpath[s] newpath[s] size[4] Rlink tag[2] DESCRIPTION Create a link 'newpath' in directory pointed by dfid linking to oldpath. Signed-off-by: Venkateswararao Jujjuri jv...@linux.vnet.ibm.com --- hw/file-op-9p.h |2 +-

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

2010-05-30 Thread Blue Swirl
On Sun, May 30, 2010 at 1:49 PM, Gleb Natapov g...@redhat.com wrote: On Sun, May 30, 2010 at 12:56:26PM +, Blue Swirl wrote: Well, I'd like to get the test program also trigger it. Now I'm getting: apic: write: 0350 = apic: apic_reset_irq_delivered: old coalescing 0 apic:

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

2010-05-30 Thread Blue Swirl
On Sun, May 30, 2010 at 3:50 PM, Michael S. Tsirkin m...@redhat.com wrote: The following changes since commit 259d5577ae546de27e25a40710f81aa031660de8:  lsi: Fix value overflow in request tag processing (2010-05-22 15:32:32 +0200) are available in the git repository at:  

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

2010-05-30 Thread Michael S. Tsirkin
On Sun, May 30, 2010 at 04:56:11PM +, Blue Swirl wrote: On Sun, May 30, 2010 at 3:50 PM, Michael S. Tsirkin m...@redhat.com wrote: The following changes since commit 259d5577ae546de27e25a40710f81aa031660de8:  lsi: Fix value overflow in request tag processing (2010-05-22 15:32:32

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

2010-05-30 Thread Blue Swirl
On Sun, May 30, 2010 at 6:05 PM, Michael S. Tsirkin m...@redhat.com wrote: On Sun, May 30, 2010 at 04:56:11PM +, Blue Swirl wrote: On Sun, May 30, 2010 at 3:50 PM, Michael S. Tsirkin m...@redhat.com wrote: The following changes since commit 259d5577ae546de27e25a40710f81aa031660de8:  

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

2010-05-30 Thread Blue Swirl
On Sun, May 30, 2010 at 6:58 PM, Michael S. Tsirkin m...@redhat.com wrote: On Sun, May 30, 2010 at 06:19:40PM +, Blue Swirl wrote: On Sun, May 30, 2010 at 6:05 PM, Michael S. Tsirkin m...@redhat.com wrote: On Sun, May 30, 2010 at 04:56:11PM +, Blue Swirl wrote: On Sun, May 30, 2010

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

2010-05-30 Thread Michael S. Tsirkin
On Sun, May 30, 2010 at 06:19:40PM +, Blue Swirl wrote: On Sun, May 30, 2010 at 6:05 PM, Michael S. Tsirkin m...@redhat.com wrote: On Sun, May 30, 2010 at 04:56:11PM +, Blue Swirl wrote: On Sun, May 30, 2010 at 3:50 PM, Michael S. Tsirkin m...@redhat.com wrote: The following

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

2010-05-30 Thread Blue Swirl
On Sun, May 30, 2010 at 1:49 PM, Gleb Natapov g...@redhat.com wrote: On Sun, May 30, 2010 at 12:56:26PM +, Blue Swirl wrote: Well, I'd like to get the test program also trigger it. Now I'm getting: apic: write: 0350 = apic: apic_reset_irq_delivered: old coalescing 0 apic:

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

2010-05-30 Thread Gleb Natapov
On Sun, May 30, 2010 at 07:37:59PM +, Blue Swirl wrote: On Sun, May 30, 2010 at 1:49 PM, Gleb Natapov g...@redhat.com wrote: On Sun, May 30, 2010 at 12:56:26PM +, Blue Swirl wrote: Well, I'd like to get the test program also trigger it. Now I'm getting: apic: write: 0350 =

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

2010-05-30 Thread Blue Swirl
On Sun, May 30, 2010 at 8:07 PM, Gleb Natapov g...@redhat.com wrote: On Sun, May 30, 2010 at 07:37:59PM +, Blue Swirl wrote: On Sun, May 30, 2010 at 1:49 PM, Gleb Natapov g...@redhat.com wrote: On Sun, May 30, 2010 at 12:56:26PM +, Blue Swirl wrote: Well, I'd like to get the test

[Qemu-devel] [PATCH] sparc32 esp fix spurious interrupts in chip reset

2010-05-30 Thread Artyom Tarasenko
lower interrupt during chip reset. Otherwise the ESP_RSTAT register may get out of sync with the IRQ line status. This effect became visible after commit 65899fe3 Signed-off-by: Artyom Tarasenko atar4q...@gmail.com --- hw/esp.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff

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

2010-05-30 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@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 CDBs and for Maintenance IN/OUT CDBs used for

[Qemu-devel] [PATCH 1/2] [scsi-bus]: Add PR-OUT and PR-IN case for SCSIRequest xfer and xfer_mode setup

2010-05-30 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@linux-iscsi.org This patch updates hw/scsi-bus.c to add PERSISTENT_RESERVE_OUT and PERSISTENT_RESERVE_IN case in scsi_req_length() to extra the incoming buffer length into SCSIRequest-cmd.xfer, and adds a second PERSISTENT_RESERVE_OUT case in scsi_req_xfer_mode()

[Qemu-devel] [PATCH 2/2] [scsi-bus]: Add MAINTENANCE_IN and MAINTENANCE_OUT case for SCSIRequest xfer and xfer_mode setup

2010-05-30 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@linux-iscsi.org This patch updates hw/scsi-bus.c to add MAINTENANCE_IN and MAINTENANCE_OUT case in scsi_req_length() to extra the incoming buffer length into SCSIRequest-cmd.xfer, and adds a second MAINTENANCE_OUT case in scsi_req_xfer_mode() in order to properly

Re: [Qemu-devel] Re: [PATCH v2] pci-hotplug: make them aware of pci domain.

2010-05-30 Thread Isaku Yamahata
On Sun, May 30, 2010 at 06:48:03PM +0300, Michael S. Tsirkin wrote: On Fri, May 28, 2010 at 06:30:46PM +0900, Isaku Yamahata wrote: add helper function which converts root bus to pci domain. make them aware of pci domain. Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp Doesn't

[Qemu-devel] What's the meaning and the functionality of the assembly instructions in the beginning of cpu_exec?

2010-05-30 Thread 曹莹
I’m working with Qemu source study, but now I have some difficulty in these assembly instructions at the beginning of cpu_exec function. My question as follows: After entering function cpu_exec, there are some assembly codes: register host_reg_t reg_AREG0 asm(ebp); volatile host_reg_t

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

2010-05-30 Thread Gleb Natapov
On Sun, May 30, 2010 at 08:21:30PM +, Blue Swirl wrote: On Sun, May 30, 2010 at 8:07 PM, Gleb Natapov g...@redhat.com wrote: On Sun, May 30, 2010 at 07:37:59PM +, Blue Swirl wrote: On Sun, May 30, 2010 at 1:49 PM, Gleb Natapov g...@redhat.com wrote: On Sun, May 30, 2010 at