Re: [Qemu-devel] [PATCH] Prevent disk data loss when closing qemu

2012-05-23 Thread Paolo Bonzini
Il 23/05/2012 08:48, Pavel Dovgaluk ha scritto: >>> > > I'm not against your patch and it's probably 1.1 material, but there may >>> > > be more shutdown logic that we're missing if you close the console >>> > > window. >> > >> > Looks like qemu_ctrl_handler (in os-win32.c) needs to do something

[Qemu-devel] [PATCH v8 2/2] PCI: acpiphp: remove all functions in slot, even without ACPI _EJx

2012-05-23 Thread Amos Kong
On Wed, May 23, 2012 at 1:29 PM, Yinghai Lu wrote: > On Tue, May 22, 2012 at 10:15 PM, Amos Kong wrote: >> Attached the v7,  test passed. > > would be better to have break... Yeah. Otherwise, it will delete from the last function. Attached v8, test passed. > +static struct pci_dev *dev_in_slot

Re: [Qemu-devel] [PATCH 04/15] Openrisc: add interrupt support

2012-05-23 Thread Jia Liu
Hi Blue, On Sat, May 19, 2012 at 3:30 PM, Blue Swirl wrote: > On Thu, May 17, 2012 at 8:35 AM, Jia Liu wrote: >> add the openrisc interrupt support. >> >> Signed-off-by: Jia Liu >> --- >>  Makefile.target                |    2 +- >>  target-openrisc/helper.c       |   42 +++

Re: [Qemu-devel] [PATCH 05/15] Openrisc: add exception support

2012-05-23 Thread Jia Liu
Hi Blue, On Sat, May 19, 2012 at 3:22 PM, Blue Swirl wrote: > On Thu, May 17, 2012 at 8:35 AM, Jia Liu wrote: >> add the openrisc exception support. >> >> Signed-off-by: Jia Liu >> --- >>  Makefile.target               |    2 +- >>  target-openrisc/excp.c        |   27 +

Re: [Qemu-devel] [PATCH] exec: fix breakpoint_invalidate() breakage

2012-05-23 Thread TeLeMan
On Wed, May 23, 2012 at 11:41 AM, Andreas Färber wrote: > Am 18.05.2012 11:49, schrieb TeLeMan: >> This breakage was introduced by the commit "memory: make >> phys_page_find() return an unadjusted". > > You seem to have found the origin of your problem. If you also mention > the commit hash in you

Re: [Qemu-devel] [PATCH 07/15] Openrisc: add float instruction helpers

2012-05-23 Thread Jia Liu
Hi Blue, On Sat, May 19, 2012 at 4:29 PM, Blue Swirl wrote: > On Thu, May 17, 2012 at 8:35 AM, Jia Liu wrote: >> add the openrisc float instruction helpers. >> >> Signed-off-by: Jia Liu >> --- >>  Makefile.target              |    2 +- >>  target-openrisc/fpu_helper.c |   93 >> +++

Re: [Qemu-devel] [PATCH 10/15] Openrisc: add a simulation board

2012-05-23 Thread Jia Liu
Hi Blue, On Sat, May 19, 2012 at 3:51 PM, Blue Swirl wrote: > On Thu, May 17, 2012 at 8:35 AM, Jia Liu wrote: >> add a simulation board for openrisc. >> >> Signed-off-by: Jia Liu >> --- >>  Makefile.target   |    1 + >>  hw/openrisc_sim.c |  140 >> +

Re: [Qemu-devel] [PATCH 1.1] virtio: Fix compiler warning for non Linux hosts

2012-05-23 Thread Stefan Hajnoczi
On Tue, May 22, 2012 at 10:23 PM, Stefan Weil wrote: > The local variables ret, i are only used if __linux__ is defined. > > Signed-off-by: Stefan Weil > --- >  hw/virtio-blk.c |    4 +++- >  1 file changed, 3 insertions(+), 1 deletion(-) The #ifdef __linux__ further down in the function declare

Re: [Qemu-devel] [PATCH 1/2] sched: add virt sched domain for the guest

2012-05-23 Thread Liu ping fan
On Wed, May 23, 2012 at 3:54 PM, Peter Zijlstra wrote: > On Wed, 2012-05-23 at 14:32 +0800, Liu Ping Fan wrote: >> From: Liu Ping Fan >> >> The guest's scheduler can not see the numa info on the host and >> this will result to the following scene: >>   Supposing vcpu-a on nodeA, vcpu-b on nodeB,

Re: [Qemu-devel] Keysymbol interpretation missing in QEMU's VNC server?

2012-05-23 Thread Erik Rull
On March 8, 2012 at 11:01 PM Fabian Holler wrote: > Hello Anthony, > > > On Thu, Mar 08, 2012 at 03:30:18PM -0600, Anthony Liguori wrote: > > On 03/07/2012 04:53 AM, Fabian Holler wrote: > > >Hello, > > > > > >I'm not sure if I found a bug in QEMU's VNC keyboard layout mapping or > > >if it's a

Re: [Qemu-devel] [ANNOUNCE] QEMU 1.1-rc3 release

2012-05-23 Thread Stefan Hajnoczi
On Tue, May 22, 2012 at 3:32 PM, Anthony Liguori wrote: > Known Issues: > >  - There are no known release blockers in -rc3. Please consider these tracing fixes from yesterday: http://patchwork.ozlabs.org/patch/160679/ http://patchwork.ozlabs.org/patch/160678/ They fix incorrect event numbering

Re: [Qemu-devel] [ANNOUNCE] QEMU 1.1-rc3 release

2012-05-23 Thread Zhi Yong Wu
For block devices in changelog, Block I/O throttling support seems to be missed. On Wed, May 23, 2012 at 4:17 PM, Stefan Hajnoczi wrote: > On Tue, May 22, 2012 at 3:32 PM, Anthony Liguori wrote: >> Known Issues: >> >>  - There are no known release blockers in -rc3. > > Please consider these trac

Re: [Qemu-devel] [PATCH v2 2/2] fdc: fix media detection

2012-05-23 Thread Markus Armbruster
Pavel Hrdina writes: > We have to set up 'media_changed' after guest start so floppy driver > could detect that there is no media in drive. For this purpose we call > 'fdctrl_change_cb' instead of 'fd_revalidate' in 'fdctrl_connect_drives'. > 'fd_revalidate' is called inside 'fdctrl_change_cb'. >

Re: [Qemu-devel] [ANNOUNCE] QEMU 1.1-rc3 release

2012-05-23 Thread Kevin Wolf
Am 22.05.2012 16:32, schrieb Anthony Liguori: > Hi, > > On behalf of the QEMU Team, I'd like to announce the availability of the > third > release candidate for the QEMU 1.1 release. This release is meant for > testing > purposes and should not be used in a production environment. > > http:/

Re: [Qemu-devel] [PATCH 1/2] sched: add virt sched domain for the guest

2012-05-23 Thread Liu ping fan
On Wed, May 23, 2012 at 4:23 PM, Peter Zijlstra wrote: > On Wed, 2012-05-23 at 16:10 +0800, Liu ping fan wrote: >> the movement of vcpu >> threads among host nodes will break the topology initialized by -numa >> option. > > You want to remap vcpu to nodes? Are you bloody insane? cpu:node maps > ar

Re: [Qemu-devel] [PATCH 1/2] sched: add virt sched domain for the guest

2012-05-23 Thread Peter Zijlstra
On Wed, 2012-05-23 at 14:32 +0800, Liu Ping Fan wrote: > From: Liu Ping Fan > > The guest's scheduler can not see the numa info on the host and > this will result to the following scene: > Supposing vcpu-a on nodeA, vcpu-b on nodeB, when load balance, > the tasks' pull and push between these vc

Re: [Qemu-devel] [PATCH v2 1/2] fdc: floppy drive should be visible after start without media

2012-05-23 Thread Kevin Wolf
Am 22.05.2012 17:00, schrieb Pavel Hrdina: > If you start guest with floppy drive but without media inserted, guest > still should see floppy drive pressent. > > Signed-off-by: Pavel Hrdina > --- > hw/pc.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/hw/pc.c b/

Re: [Qemu-devel] [PATCH v7 2/2] PCI: acpiphp: remove all functions in slot, even without ACPI _EJx

2012-05-23 Thread Yinghai Lu
On Tue, May 22, 2012 at 10:15 PM, Amos Kong wrote: > Attached the v7,  test passed. would be better to have break... +static struct pci_dev *dev_in_slot(struct acpiphp_slot *slot) +{ + struct pci_bus *bus = slot->bridge->pci_bus; + struct pci_dev *dev; + int ret = NULL; + +

Re: [Qemu-devel] [ANNOUNCE] QEMU 1.1-rc3 release

2012-05-23 Thread Michael Tokarev
On 22.05.2012 18:32, Anthony Liguori wrote: > Hi, > > On behalf of the QEMU Team, I'd like to announce the availability of the > third release candidate for the QEMU 1.1 release. This release is meant for > testing purposes and should not be used in a production environment. > > http://wiki.qe

Re: [Qemu-devel] Keysymbol interpretation missing in QEMU's VNC server?

2012-05-23 Thread Erik Rull
On May 23, 2012 at 10:16 AM Erik Rull wrote: > > On March 8, 2012 at 11:01 PM Fabian Holler > wrote: > > > Hello Anthony, > > > > > > On Thu, Mar 08, 2012 at 03:30:18PM -0600, Anthony Liguori wrote: > > > On 03/07/2012 04:53 AM, Fabian Holler wrote: > > > >Hello, > > > > > > > >I'm not sure if

[Qemu-devel] [PATCH] ahci: SATA FIS is 20 bytes, not 0x20

2012-05-23 Thread Daniel Verkamp
As in the SATA and AHCI specifications, a FIS is 5 Dwords of 4 bytes each, which comes to 20 bytes (decimal), not 0x20. Signed-off-by: Daniel Verkamp --- hw/ide/ahci.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/ide/ahci.c b/hw/ide/ahci.c index a883a92..2d7d03d

Re: [Qemu-devel] [PATCH 1/2] sched: add virt sched domain for the guest

2012-05-23 Thread Peter Zijlstra
On Wed, 2012-05-23 at 16:34 +0800, Liu ping fan wrote: > so we need to migrate some of vcpus from node-B to node-A, or to > node-C. This is absolutely broken, you cannot do that. A guest task might want to be node affine, it looks at the topology sets a cpu affinity mask and expects to stay on th

Re: [Qemu-devel] [PATCH 1/2] sched: add virt sched domain for the guest

2012-05-23 Thread Peter Zijlstra
On Wed, 2012-05-23 at 16:10 +0800, Liu ping fan wrote: > the movement of vcpu > threads among host nodes will break the topology initialized by -numa > option. You want to remap vcpu to nodes? Are you bloody insane? cpu:node maps are assumed static, you cannot make that a dynamic map and pray thi

Re: [Qemu-devel] [PATCH] ahci: SATA FIS is 20 bytes, not 0x20

2012-05-23 Thread Kevin Wolf
Am 23.05.2012 01:26, schrieb Daniel Verkamp: > As in the SATA and AHCI specifications, a FIS is 5 Dwords of 4 bytes > each, which comes to 20 bytes (decimal), not 0x20. > > Signed-off-by: Daniel Verkamp > --- > hw/ide/ahci.c |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > di

Re: [Qemu-devel] [PATCH v2 1/2] fdc: floppy drive should be visible after start without media

2012-05-23 Thread Markus Armbruster
Kevin Wolf writes: > Am 22.05.2012 17:00, schrieb Pavel Hrdina: >> If you start guest with floppy drive but without media inserted, guest >> still should see floppy drive pressent. >> >> Signed-off-by: Pavel Hrdina >> --- >> hw/pc.c |2 +- >> 1 files changed, 1 insertions(+), 1 deletions(-

Re: [Qemu-devel] [PATCH v6 2/2] PCI: acpiphp: remove all functions in slot, even without ACPI _EJx

2012-05-23 Thread Yinghai Lu
On Tue, May 22, 2012 at 9:35 PM, Bjorn Helgaas wrote: > From: Amos Kong > > When we add a device with acpiphp, we enumerate all functions in the > slot with pci_scan_slot(), regardless of whether they have associated > ACPI methods such as _EJ0. > > When removing the device, we previously removed

Re: [Qemu-devel] [PATCH qom-next 3/5] pc: move apic_mapped initialization into common apic init code

2012-05-23 Thread Igor Mammedov
On 05/22/2012 04:24 PM, Andreas Färber wrote: Am 22.05.2012 14:42, schrieb Igor Mammedov: On 05/22/2012 12:48 PM, Jan Kiszka wrote: On 2012-05-22 07:35, Igor Mammedov wrote: -apic_mapped = 1; -} - -/* KVM does not support MSI yet. */ -if (!kvm_irqchip_in_kernel()) { -

Re: [Qemu-devel] [PATCH v2 1/2] fdc: floppy drive should be visible after start without media

2012-05-23 Thread Kevin Wolf
Am 23.05.2012 11:14, schrieb Markus Armbruster: > Kevin Wolf writes: > >> Am 22.05.2012 17:00, schrieb Pavel Hrdina: >>> If you start guest with floppy drive but without media inserted, guest >>> still should see floppy drive pressent. >>> >>> Signed-off-by: Pavel Hrdina >>> --- >>> hw/pc.c |

Re: [Qemu-devel] [PATCH] ahci: SATA FIS is 20 bytes, not 0x20

2012-05-23 Thread Alexander Graf
Am 23.05.2012 um 11:13 schrieb Kevin Wolf : > Am 23.05.2012 01:26, schrieb Daniel Verkamp: >> As in the SATA and AHCI specifications, a FIS is 5 Dwords of 4 bytes >> each, which comes to 20 bytes (decimal), not 0x20. Not sure I understand. FISs can have different sizes depending on the payload

Re: [Qemu-devel] [PATCH 1/2] sched: add virt sched domain for the guest

2012-05-23 Thread Liu ping fan
On Wed, May 23, 2012 at 4:48 PM, Peter Zijlstra wrote: > On Wed, 2012-05-23 at 16:34 +0800, Liu ping fan wrote: >> so we need to migrate some of vcpus from node-B to node-A, or to >> node-C. > > This is absolutely broken, you cannot do that. > > A guest task might want to be node affine, it looks

Re: [Qemu-devel] [PATCH] ahci: SATA FIS is 20 bytes, not 0x20

2012-05-23 Thread Kevin Wolf
Am 23.05.2012 11:53, schrieb Alexander Graf: > > > Am 23.05.2012 um 11:13 schrieb Kevin Wolf : > >> Am 23.05.2012 01:26, schrieb Daniel Verkamp: >>> As in the SATA and AHCI specifications, a FIS is 5 Dwords of 4 bytes >>> each, which comes to 20 bytes (decimal), not 0x20. > > Not sure I underst

Re: [Qemu-devel] [PATCH 1/2] sched: add virt sched domain for the guest

2012-05-23 Thread Peter Zijlstra
On Wed, 2012-05-23 at 17:58 +0800, Liu ping fan wrote: > > Please go do something else, I'll do this. > OK so that was to say never, as in dynamic cpu:node relations aren't going to happen. but tip/sched/numa contain the bits needed to make vnuma work.

Re: [Qemu-devel] [PATCH 1.1 1/2] kvm/apic: correct short memset

2012-05-23 Thread Jan Kiszka
On 2012-05-22 17:30, Stefan Weil wrote: > Am 10.05.2012 19:28, schrieb Jan Kiszka: >> On 2012-05-10 13:19, Jim Meyering wrote: >> >>> From: Jim Meyering >>> >>> kvm_put_apic_state's attempt to clear *kapic before setting its >>> bits cleared sizeof(void*) bytes (no more than 8) rather than the

Re: [Qemu-devel] [PATCH v2 0/3] Event notifications for balloon driver

2012-05-23 Thread Daniel P. Berrange
On Tue, May 22, 2012 at 05:55:30PM -0300, Luiz Capitulino wrote: > On Mon, 21 May 2012 17:59:50 +0100 > "Daniel P. Berrange" wrote: > > > This series is a followup to 2 previously posted patches > > > > * BALLOON_CHANGE QMP event: > >http://lists.nongnu.org/archive/html/qemu-devel/2012-05/m

[Qemu-devel] [Bug 990364] Re: virtio_ioport_write: unexpected address 0x13 value 0x1

2012-05-23 Thread vrozenfe
It doesn't look like as a vritio-win driver problem. you get the following message "virtio_ioport_write: unexpected address 0x13 value 0x1" because netkvm driver triggers BSOD event, which happened in different stack, and then kills the hosting QEMU prccess by writing to ISR register. In your

Re: [Qemu-devel] Interface for enabling lazy refcount updates in qcow2

2012-05-23 Thread Stefan Hajnoczi
On Mon, May 21, 2012 at 4:23 PM, Kevin Wolf wrote: > Am 21.05.2012 16:34, schrieb Stefan Hajnoczi: >> On Tue, May 15, 2012 at 02:42:54PM +0200, Paolo Bonzini wrote: >>> Il 15/05/2012 14:01, Kevin Wolf ha scritto: Hi all, after having implemented refcount fixing in qcow2's img_check,

Re: [Qemu-devel] The image size of instance VM keeps growing

2012-05-23 Thread Charles . Tsai-蔡清海-研究發展部
Stefan, Here are what we tested and found for this issue. 1. We checked the integrity of the qcow2 image by running “qemu-img check” and it looked good. 2. We monitored the I/O activities of VM using “Process monitor”, “Process explorer” and could not

[Qemu-devel] [PATCH] memory: add trace_memory_region_set_log

2012-05-23 Thread Alon Levy
Signed-off-by: Alon Levy --- memory.c |2 ++ trace-events |3 +++ 2 files changed, 5 insertions(+) diff --git a/memory.c b/memory.c index aab4a31..10be85c 100644 --- a/memory.c +++ b/memory.c @@ -18,6 +18,7 @@ #include "ioport.h" #include "bitops.h" #include "kvm.h" +#include "tra

[Qemu-devel] [PATCH] qxl: stop dirty loging when not in vga mode

2012-05-23 Thread Alon Levy
Tested with linux guest. Not sure how to check actual performance affect of this. Checked with the previously send traceevent that the kvm ioctl to start/stop dirty logging is being called. (KVM_SET_USER_MEMORY_REGION). Signed-off-by: Alon Levy --- hw/qxl.c |2 ++ 1 file changed, 2 insertion

Re: [Qemu-devel] [PATCH] exec: fix breakpoint_invalidate() breakage

2012-05-23 Thread Jan Kiszka
On 2012-05-23 04:09, TeLeMan wrote: > On Wed, May 23, 2012 at 11:41 AM, Andreas Färber wrote: >> Am 18.05.2012 11:49, schrieb TeLeMan: >>> This breakage was introduced by the commit "memory: make >>> phys_page_find() return an unadjusted". >> >> You seem to have found the origin of your problem. I

[Qemu-devel] [PATCH v2] memory: add trace_memory_region_set_log

2012-05-23 Thread Alon Levy
Signed-off-by: Alon Levy --- v2: Use PRIu64 for uint64_t format string memory.c |2 ++ trace-events |3 +++ 2 files changed, 5 insertions(+) diff --git a/memory.c b/memory.c index aab4a31..10be85c 100644 --- a/memory.c +++ b/memory.c @@ -18,6 +18,7 @@ #include "ioport.h" #include

[Qemu-devel] [PATCH v3 2/3] fdc: fix media detection

2012-05-23 Thread Pavel Hrdina
We have to set up 'media_changed' after guest start so floppy driver could detect that there is no media in drive. For this purpose we call 'fdctrl_change_cb' instead of 'fd_revalidate' in 'fdctrl_connect_drives'. 'fd_revalidate' is called inside 'fdctrl_change_cb'. We still have to set default dr

[Qemu-devel] [PATCH v3 1/3] fdc: floppy drive should be visible after start without media

2012-05-23 Thread Pavel Hrdina
If you start guest with floppy drive but without media inserted, guest still should see floppy drive pressent. Signed-off-by: Pavel Hrdina --- hw/pc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/pc.c b/hw/pc.c index 4d34a33..967c17a 100644 --- a/hw/pc.c +++ b/hw/

[Qemu-devel] [PATCH v3 3/3] fdc-test: introduced qtest no_media_on_start

2012-05-23 Thread Pavel Hrdina
After guest start DSKCHG bit in DIR register should be set. If there is no media in drive, this bit should be set all the time. Signed-off-by: Pavel Hrdina --- tests/fdc-test.c | 29 ++--- 1 files changed, 26 insertions(+), 3 deletions(-) diff --git a/tests/fdc-test.c

[Qemu-devel] [PATCH v3 0/3] fdc: fix media handling

2012-05-23 Thread Pavel Hrdina
This patch series fixes handling of FDC when you don't have media inserted. Guest should see floppy drive if you start guest without media and should detect that there is no media in drive. Signed-off-by: Pavel Hrdina Pavel Hrdina (3): fdc: floppy drive should be visible after start without me

Re: [Qemu-devel] [ANNOUNCE] QEMU 1.1-rc3 release

2012-05-23 Thread Stefano Stabellini
On Tue, 22 May 2012, Anthony Liguori wrote: > Changes since -rc2: > > - xen: Fix PV-on-HVM (Anthony PERARD) Thanks for applying this patch. Please also consider this pull request: http://marc.info/?l=qemu-devel&m=133727371422338 Be aware that also contains the same "Fix PV-on-HVM" commit, le

[Qemu-devel] [PATCH] hw/qxl: ignore guest from guestbug until reset

2012-05-23 Thread Alon Levy
soft_reset is called from any of: * QXL_IO_RESET * vga io * pci reset handler Signed-off-by: Alon Levy --- hw/qxl.c | 13 - hw/qxl.h |2 ++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/hw/qxl.c b/hw/qxl.c index 05ff176..21c825c 100644 --- a/hw/qxl.c +++ b/h

Re: [Qemu-devel] [RFC PATCH 3/7] block: do not pass BDRV_O_CACHE_WB to the protocol

2012-05-23 Thread Stefan Hajnoczi
On Fri, May 18, 2012 at 3:18 PM, Paolo Bonzini wrote: > Formats are entirely in charge of flushes for metadata writes.  For > guest-initiated writes, a writethrough cache is faked in the block layer. > > Signed-off-by: Paolo Bonzini > --- >  block.c |    2 +- >  1 file changed, 1 insertion(+), 1

Re: [Qemu-devel] [RFC PATCH 3/7] block: do not pass BDRV_O_CACHE_WB to the protocol

2012-05-23 Thread Paolo Bonzini
Il 23/05/2012 14:06, Stefan Hajnoczi ha scritto: >> > diff --git a/block.c b/block.c >> > index 3db7150..b3d0054 100644 >> > --- a/block.c >> > +++ b/block.c >> > @@ -661,7 +661,7 @@ static int bdrv_open_common(BlockDriverState *bs, >> > const char *filename, >> > if (drv->bdrv_file_open) { >>

Re: [Qemu-devel] [PATCH v3 3/3] fdc-test: introduced qtest no_media_on_start

2012-05-23 Thread Paolo Bonzini
Il 23/05/2012 13:27, Pavel Hrdina ha scritto: > After guest start DSKCHG bit in DIR register should be set. If there > is no media in drive, this bit should be set all the time. > > Signed-off-by: Pavel Hrdina > --- > tests/fdc-test.c | 29 ++--- > 1 files changed, 26 i

[Qemu-devel] [Bug 990364] Re: virtio_ioport_write: unexpected address 0x13 value 0x1

2012-05-23 Thread Vitalis
I change network card in guest to RTL and no have BSOD, on all guest. Why? How can we detect the cause? -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/990364 Title: virtio_ioport_write: unexpected a

[Qemu-devel] [Bug 990364] Re: virtio_ioport_write: unexpected address 0x13 value 0x1

2012-05-23 Thread Vitalis
and how can i use winXP without antivirus and RDP? Its nonsense!!! :-) no sense! -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/990364 Title: virtio_ioport_write: unexpected address 0x13 value 0x1

Re: [Qemu-devel] [PATCH v3 3/3] fdc-test: introduced qtest no_media_on_start

2012-05-23 Thread Kevin Wolf
Am 23.05.2012 14:15, schrieb Paolo Bonzini: > Il 23/05/2012 13:27, Pavel Hrdina ha scritto: >> After guest start DSKCHG bit in DIR register should be set. If there >> is no media in drive, this bit should be set all the time. >> >> Signed-off-by: Pavel Hrdina >> --- >> tests/fdc-test.c | 29 +++

Re: [Qemu-devel] [PATCH 1/2] Make pointer to fw_cfg device global.

2012-05-23 Thread Gleb Natapov
Ping. On Sun, May 20, 2012 at 12:02:40PM +0300, Gleb Natapov wrote: > There can be only one fw_cfg device, so saving global reference to it > removes the need to pass its pointer around. > > Signed-off-by: Gleb Natapov > --- > hw/fw_cfg.c | 110 > +++-

Re: [Qemu-devel] [PATCH 1/2] Make pointer to fw_cfg device global.

2012-05-23 Thread Peter Maydell
On 20 May 2012 10:02, Gleb Natapov wrote: > There can be only one fw_cfg device, so saving global reference to it > removes the need to pass its pointer around. This seems like a backwards step to me: one of the things that prevents us supporting "two separate machines in one emulation" is that w

Re: [Qemu-devel] [PATCH 1/2] Make pointer to fw_cfg device global.

2012-05-23 Thread Gleb Natapov
On Wed, May 23, 2012 at 01:44:45PM +0100, Peter Maydell wrote: > On 20 May 2012 10:02, Gleb Natapov wrote: > > There can be only one fw_cfg device, so saving global reference to it > > removes the need to pass its pointer around. > > This seems like a backwards step to me: one of the things that

[Qemu-devel] [Bug 990364] Re: virtio_ioport_write: unexpected address 0x13 value 0x1

2012-05-23 Thread vrozenfe
Hard to say at the moment. In both cases the crash stack looks absolutely the same: nt!KiDeliverApc+0x66 hal!HalpApcInterrupt+0xc5 hal!HalRequestSoftwareInterrupt+0x3b

Re: [Qemu-devel] The image size of instance VM keeps growing

2012-05-23 Thread Stefan Hajnoczi
On Wed, May 23, 2012 at 11:47 AM, Charles.Tsai-蔡清海-研究發展部 wrote: >After the VM ran for overnight, the image size for the running VM grew > up to 3G bytes. What is the size of the backing file? 3G is small for a Windows guest. Any sector that is written to could cause 64 KB to be allocat

Re: [Qemu-devel] Is kvm-guest-drivers-linux.git still live? Is virtio-serial included?

2012-05-23 Thread Avi Kivity
On 05/23/2012 03:03 PM, Zang Hongyong wrote: > Hi, > To support linux guests with old kernel version, vitio driver backport > is needed. But I cannot find kvm-guest-drivers-linux.git now. It is dead. > From linux distributions' virtio backport versions, such as > virtio-0.1-18.el3.src.rpm for RHE

Re: [Qemu-devel] The image size of instance VM keeps growing

2012-05-23 Thread Michael Tokarev
On 23.05.2012 16:57, Stefan Hajnoczi wrote: [] > However, the qcow2 file should not grow much beyond its virtual disk > size. So if you find the qcow2 is 3G but the virtual disk size is 1G, > then there is a bug. But from what you've posted so far I suspect the > guest is simply writing to the di

[Qemu-devel] [Bug 990364] Re: virtio_ioport_write: unexpected address 0x13 value 0x1

2012-05-23 Thread Vitalis
How turn on kernel memory dump in XP? -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/990364 Title: virtio_ioport_write: unexpected address 0x13 value 0x1 Status in QEMU: New Bug description: H

Re: [Qemu-devel] [PATCH 1/2] Make pointer to fw_cfg device global.

2012-05-23 Thread Anthony Liguori
On 05/23/2012 07:37 AM, Gleb Natapov wrote: Ping. I don't understand why you're pinging.. The patch has just been on the list for a couple of days and is definitely not a 1.1 candidate. Am I missing something? However... On Sun, May 20, 2012 at 12:02:40PM +0300, Gleb Natapov wrote: The

Re: [Qemu-devel] [PATCH 2/2] Add PIIX4 properties to control PM system states.

2012-05-23 Thread Anthony Liguori
On 05/20/2012 04:02 AM, Gleb Natapov wrote: This patch adds two things. First it allows QEMU to distinguish between regular powerdown and S4 powerdown. Later separate QMP notification will be added for S4 powerdown. Second it allows S3/S4 states to be disabled from QEMU command line. Some guests

Re: [Qemu-devel] [PATCH 1/2] Make pointer to fw_cfg device global.

2012-05-23 Thread Gleb Natapov
On Wed, May 23, 2012 at 08:25:35AM -0500, Anthony Liguori wrote: > On 05/23/2012 07:37 AM, Gleb Natapov wrote: > >Ping. > > I don't understand why you're pinging.. The patch has just been on > the list for a couple of days and is definitely not a 1.1 candidate. > Am I missing something? > It is

Re: [Qemu-devel] [PATCH 2/2] Add PIIX4 properties to control PM system states.

2012-05-23 Thread Gleb Natapov
On Wed, May 23, 2012 at 08:27:01AM -0500, Anthony Liguori wrote: > On 05/20/2012 04:02 AM, Gleb Natapov wrote: > >This patch adds two things. First it allows QEMU to distinguish between > >regular powerdown and S4 powerdown. Later separate QMP notification will > >be added for S4 powerdown. Second

Re: [Qemu-devel] Virtio-pci issue

2012-05-23 Thread Stefan Hajnoczi
On Thu, May 10, 2012 at 12:24 PM, Evgeny Voevodin wrote: > Hi, guys! > > While trying to refactor virtio-pci as continuation of my RFC > virtio-mmio patch series: > http://lists.gnu.org/archive/html/qemu-devel/2012-04/msg03665.html > I've faced a problem. > > I try to create virtio-pci-transport d

Re: [Qemu-devel] [RFC PATCH 2/4] qmp/hmp: Add getfd_file monitor command

2012-05-23 Thread Luiz Capitulino
On Tue, 22 May 2012 18:34:19 -0400 Corey Bryant wrote: > On 05/22/2012 04:26 PM, Luiz Capitulino wrote: > > On Tue, 22 May 2012 16:02:19 -0400 > > Corey Bryant wrote: > > > >>> But there's a small problem. Today getfd commands are closely tied to the > >>> Monitor. In Anthony's development tree,

Re: [Qemu-devel] buildbot failure in qemu on default_openbsd_current

2012-05-23 Thread Luiz Capitulino
On Wed, 23 May 2012 10:35:36 +0800 dunrong huang wrote: > 2012/5/23 Andreas Färber > > > Am 23.05.2012 01:09, schrieb q...@buildbot.b1-systems.de: > > > The Buildbot has detected a new failure on builder > > default_openbsd_current while building qemu. > > > Full details are available at: > > >

Re: [Qemu-devel] [PATCH 1/2] Make pointer to fw_cfg device global.

2012-05-23 Thread Anthony Liguori
On 05/23/2012 08:32 AM, Gleb Natapov wrote: On Wed, May 23, 2012 at 08:25:35AM -0500, Anthony Liguori wrote: On 05/23/2012 07:37 AM, Gleb Natapov wrote: Ping. I don't understand why you're pinging.. The patch has just been on the list for a couple of days and is definitely not a 1.1 candidat

Re: [Qemu-devel] [PATCH 2/2] Add PIIX4 properties to control PM system states.

2012-05-23 Thread Anthony Liguori
On 05/23/2012 08:34 AM, Gleb Natapov wrote: On Wed, May 23, 2012 at 08:27:01AM -0500, Anthony Liguori wrote: On 05/20/2012 04:02 AM, Gleb Natapov wrote: This patch adds two things. First it allows QEMU to distinguish between regular powerdown and S4 powerdown. Later separate QMP notification wi

Re: [Qemu-devel] [RFC PATCH 2/4] qmp/hmp: Add getfd_file monitor command

2012-05-23 Thread Corey Bryant
On 05/23/2012 09:33 AM, Luiz Capitulino wrote: On Tue, 22 May 2012 18:34:19 -0400 Corey Bryant wrote: On 05/22/2012 04:26 PM, Luiz Capitulino wrote: On Tue, 22 May 2012 16:02:19 -0400 Corey Bryant wrote: But there's a small problem. Today getfd commands are closely tied to the Monitor.

Re: [Qemu-devel] [PATCH] exec: fix breakpoint_invalidate() breakage

2012-05-23 Thread TeLeMan
On Wed, May 23, 2012 at 7:22 PM, Jan Kiszka wrote: > On 2012-05-23 04:09, TeLeMan wrote: >> On Wed, May 23, 2012 at 11:41 AM, Andreas Färber wrote: >>> Am 18.05.2012 11:49, schrieb TeLeMan: This breakage was introduced by the commit "memory: make phys_page_find() return an unadjusted".

Re: [Qemu-devel] [PATCH] Support virtio-scsi-pci adapter hot-plug

2012-05-23 Thread Michael S. Tsirkin
On Wed, May 23, 2012 at 09:52:06PM +0800, Kelvin Wang wrote: > Support the virtio-scsi-pci adapter hot-plug. However, this patch can only > make > adapter hot-plugable. More effort is needed for LUN hot-plug. Actually, that > is > the most valuable feature to virtio-scsi. > > Following the step

Re: [Qemu-devel] [PATCH v2 0/3] Event notifications for balloon driver

2012-05-23 Thread Luiz Capitulino
On Wed, 23 May 2012 11:35:42 +0100 "Daniel P. Berrange" wrote: > > One way of solving this would be to move the policy to the mngt app. that > > is, > > we could have a qmp-event-set-rate-limit command that could be allowed to > > be run while in negotiation mode (ie. before qmp_capabilities is

Re: [Qemu-devel] The image size of instance VM keeps growing

2012-05-23 Thread Michael Roth
On Mon, May 21, 2012 at 07:47:49AM +, Charles.Tsai-蔡清海-研究發展部 wrote: > > > We created a qcow2 based-image for a VM whose size is big when it is created. > When a VM is launched, it is a instance VM image which refers to the > based-image. Initially, the image size of instance VM is smaller t

Re: [Qemu-devel] How to measure precise system time in qemu?

2012-05-23 Thread 陳韋任
> Is there anything else can help me get more precise execution time? From the COREMU guys, I was told that you can use rdtsc to get pretty accurate timing on x86 guest/host. And from the chat on IRC, Peter told me you can use SYS_CLOCK/SYS_TIME on a ARM guest to get the host time. I think yo

Re: [Qemu-devel] [PATCH] Support virtio-scsi-pci adapter hot-plug

2012-05-23 Thread Paolo Bonzini
Il 23/05/2012 16:12, Michael S. Tsirkin ha scritto: >> > 2, Run qemu with the option -monitor. >> > >> > 3, In the guest, insert necessary modules: >> > for m in acpiphp pci_hotplug; do sudo modprobe ${m}; done >> > >> > 4, In the qemu monitor,hot add a virtio-scsi-pci adapter: >> > (qemu)pci_add

Re: [Qemu-devel] buildbot failure in qemu on default_openbsd_current

2012-05-23 Thread dunrong huang
2012/5/23 Luiz Capitulino > On Wed, 23 May 2012 10:35:36 +0800 > dunrong huang wrote: > > > 2012/5/23 Andreas Färber > > > > > Am 23.05.2012 01:09, schrieb q...@buildbot.b1-systems.de: > > > > The Buildbot has detected a new failure on builder > > > default_openbsd_current while building qemu.

Re: [Qemu-devel] [PATCH 2/2] Add PIIX4 properties to control PM system states.

2012-05-23 Thread Andreas Färber
Am 23.05.2012 15:27, schrieb Anthony Liguori: > On 05/20/2012 04:02 AM, Gleb Natapov wrote: >> This patch adds two things. First it allows QEMU to distinguish between >> regular powerdown and S4 powerdown. Later separate QMP notification will >> be added for S4 powerdown. Second it allows S3/S4 sta

Re: [Qemu-devel] buildbot failure in qemu on default_openbsd_current

2012-05-23 Thread Luiz Capitulino
On Wed, 23 May 2012 22:33:22 +0800 dunrong huang wrote: > 2012/5/23 Luiz Capitulino > > > On Wed, 23 May 2012 10:35:36 +0800 > > dunrong huang wrote: > > > > > 2012/5/23 Andreas Färber > > > > > > > Am 23.05.2012 01:09, schrieb q...@buildbot.b1-systems.de: > > > > > The Buildbot has detected

Re: [Qemu-devel] How to create new target port?

2012-05-23 Thread Michael Eager
On 05/22/2012 11:18 PM, 陳韋任 wrote: I'm investigating adding a new target architecture to QEMU. Are there documents, how-to's, or other guidance on how to approach this? Or any advice? I noticed that there are a number of directories for architectures like target-arm and target-mips. There are

Re: [Qemu-devel] [PATCH 1/2] Make pointer to fw_cfg device global.

2012-05-23 Thread Andreas Färber
Am 23.05.2012 14:44, schrieb Peter Maydell: > On 20 May 2012 10:02, Gleb Natapov wrote: >> There can be only one fw_cfg device, so saving global reference to it >> removes the need to pass its pointer around. > > This seems like a backwards step to me: one of the things that prevents > us support

Re: [Qemu-devel] [PATCH 2/2] Add PIIX4 properties to control PM system states.

2012-05-23 Thread Paolo Bonzini
Il 23/05/2012 16:34, Andreas Färber ha scritto: >> > >> > I see nothing wrong in principle here except that you should use a PTR >> > property to pass the fw_cfg object to the ACPI PM device. > Paolo was on a quest to eliminate the PTR properties so I don't think we > should advocate adding any mo

Re: [Qemu-devel] [PATCH] Support virtio-scsi-pci adapter hot-plug

2012-05-23 Thread Michael S. Tsirkin
On Wed, May 23, 2012 at 04:30:06PM +0200, Paolo Bonzini wrote: > Il 23/05/2012 16:12, Michael S. Tsirkin ha scritto: > >> > 2, Run qemu with the option -monitor. > >> > > >> > 3, In the guest, insert necessary modules: > >> > for m in acpiphp pci_hotplug; do sudo modprobe ${m}; done > >> > > >> >

Re: [Qemu-devel] [PATCH 1/2] Make pointer to fw_cfg device global.

2012-05-23 Thread Peter Maydell
On 23 May 2012 15:41, Andreas Färber wrote: > Am 23.05.2012 14:44, schrieb Peter Maydell: >> On 20 May 2012 10:02, Gleb Natapov wrote: >>> There can be only one fw_cfg device, so saving global reference to it >>> removes the need to pass its pointer around. >> >> This seems like a backwards step

Re: [Qemu-devel] [PATCH qom-next v2 0/3] ARM: QOM cpu_reset() followups

2012-05-23 Thread Andreas Färber
Am 18.05.2012 18:01, schrieb Andreas Färber: > Hello Peter, > > This series completes the post-reset cleanups. Please ack. > > Regards, > Andreas > > Cc: Peter Maydell > Cc: Igor Mitsyanko > > v1 -> v2: > * Drop typo patch - PMM does not want it in 1.1 and queued it in > arm-devs.next. > * M

Re: [Qemu-devel] [PATCH 2/2] Add PIIX4 properties to control PM system states.

2012-05-23 Thread Anthony Liguori
On 05/23/2012 09:42 AM, Paolo Bonzini wrote: Il 23/05/2012 16:34, Andreas Färber ha scritto: I see nothing wrong in principle here except that you should use a PTR property to pass the fw_cfg object to the ACPI PM device. Paolo was on a quest to eliminate the PTR properties so I don't think we

Re: [Qemu-devel] [PATCH 2/2] Add PIIX4 properties to control PM system states.

2012-05-23 Thread Gleb Natapov
On Wed, May 23, 2012 at 10:11:08AM -0500, Anthony Liguori wrote: > On 05/23/2012 09:42 AM, Paolo Bonzini wrote: > >Il 23/05/2012 16:34, Andreas Färber ha scritto: > > I see nothing wrong in principle here except that you should use a PTR > property to pass the fw_cfg object to the ACPI

[Qemu-devel] [PATCH v2 13/15] net: Remove obsolete vlan info

2012-05-23 Thread zwu . kernel
From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu --- net.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/net.c b/net.c index 61dc28d..8c8e703 100644 --- a/net.c +++ b/net.c @@ -1079,7 +1079,6 @@ void do_info_network(Monitor *mon) NetClientState *nc, *peer; net_c

[Qemu-devel] [PATCH v2 11/15] net: Rename vc local variables to nc

2012-05-23 Thread zwu . kernel
From: Stefan Hajnoczi Now that VLANClientState has been renamed to NetClientState all 'vc' local variables should be 'nc'. Much of the code already used 'nc' but there are places where 'vc' needs to be renamed. Signed-off-by: Stefan Hajnoczi Signed-off-by: Zhi Yong Wu --- hw/ne2000.h |

[Qemu-devel] [PATCH v2 09/15] net: Rename non_vlan_clients to net_clients

2012-05-23 Thread zwu . kernel
From: Stefan Hajnoczi There is no longer a distinction between vlan clients and non-vlan clients in the net core. The net core only knows about point-to-point clients which are connected to a peer. It's time to rename the global list of net clients since it no longer refers to vlans at all. Si

[Qemu-devel] [Bug 990364] Re: virtio_ioport_write: unexpected address 0x13 value 0x1

2012-05-23 Thread vrozenfe
http://support.microsoft.com/kb/316450 -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/990364 Title: virtio_ioport_write: unexpected address 0x13 value 0x1 Status in QEMU: New Bug description:

[Qemu-devel] [PATCH v2 00/15] net: hub-based networking

2012-05-23 Thread zwu . kernel
From: Zhi Yong Wu The patchset implements network hub stead of vlan. The main work was done by stefan, and i rebased it to latest QEMU upstream, did some testings and am responsible for pushing it to QEMU upstream. Changelog from v1: 1.) cleanup some obsolete vlan info 2.) cleanup deliver/

[Qemu-devel] [PATCH v2 01/15] net: Add a hub net client

2012-05-23 Thread zwu . kernel
From: Stefan Hajnoczi The vlan feature can be implemented in terms of hubs. By introducing a hub net client it becomes possible to remove the special case vlan code from net.c and push the vlan feature out of generic networking code. Signed-off-by: Stefan Hajnoczi Signed-off-by: Zhi Yong Wu -

[Qemu-devel] [PATCH v2 02/15] net: Use hubs for the vlan feature

2012-05-23 Thread zwu . kernel
From: Stefan Hajnoczi Stop using the special-case vlan code in net.c. Instead use the hub net client to implement the vlan feature. The next patch will remove vlan code from net.c completely. Signed-off-by: Stefan Hajnoczi Signed-off-by: Zhi Yong Wu --- net.c | 46 ++

Re: [Qemu-devel] [RFC:kvm] export host NUMA info to guest & make emulated device NUMA attr

2012-05-23 Thread Michael S. Tsirkin
On Wed, May 23, 2012 at 09:52:15AM -0500, Andrew Theurer wrote: > On 05/22/2012 04:28 AM, Liu ping fan wrote: > >On Sat, May 19, 2012 at 12:14 AM, Shirley Ma wrote: > >>On Thu, 2012-05-17 at 17:20 +0800, Liu Ping Fan wrote: > >>>Currently, the guest can not know the NUMA info of the vcpu, which >

[Qemu-devel] [PATCH v2 12/15] net: Rename qemu_del_vlan_client() to qemu_del_net_client()

2012-05-23 Thread zwu . kernel
From: Stefan Hajnoczi Another step in moving the vlan feature out of net core. Users only deal with NetClientState and therefore qemu_del_vlan_client() should be named qemu_del_net_client(). Signed-off-by: Stefan Hajnoczi Signed-off-by: Zhi Yong Wu --- hw/e1000.c |2 +- hw/eepr

Re: [Qemu-devel] [PATCH 1.1] virtio: Fix compiler warning for non Linux hosts

2012-05-23 Thread Stefan Weil
Am 23.05.2012 10:09, schrieb Stefan Hajnoczi: On Tue, May 22, 2012 at 10:23 PM, Stefan Weil wrote: The local variables ret, i are only used if __linux__ is defined. Signed-off-by: Stefan Weil --- hw/virtio-blk.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) The #ifdef __linux

[Qemu-devel] Is kvm-guest-drivers-linux.git still live? Is virtio-serial included?

2012-05-23 Thread Zang Hongyong
Hi, To support linux guests with old kernel version, vitio driver backport is needed. But I cannot find kvm-guest-drivers-linux.git now. >From linux distributions' virtio backport versions, such as virtio-0.1-18.el3.src.rpm for RHEl3 hat and novell-virtio-drivers-2.6.27-sle10sp3.iso for SLES 10 sp3

Re: [Qemu-devel] The image size of instance VM keeps growing

2012-05-23 Thread nicolas prochazka
hello, I think it's not qemu relative but windows relative Windows do a lot of things as auto defrag disk ( without monitoring) when idle time read this document: http://www.vmware.com/files/pdf/VMware-View-OptimizationGuideWindows7-EN.pdfand optimize your guest. Regards, Nicolas P. 2012/5/23 Cha

  1   2   3   >