Re: [Qemu-devel] Sometimes qem-kvm hang at kvm_put_vcpu_events when virsh restore. Both version 0.12.5 / 0.13.0

2010-12-15 Thread changlimin
1. I create a guest use libvirt; 2. I start the guest use: virsh start guest; 3. I save the guest to a file, use: virsh save guest guest.save 4. I retore the guest, use : virsh retore guest.save Sometimes, the guest restore successful. sometimes restore fail. I debug the code, the

[Qemu-devel] qemu-x86_64 segments on fedora14

2010-12-15 Thread Rania Mameesh
Dear All, I am getting a the following segmentation fault when I run the command qemu-x86_64 /bin/ls: qemu: uncaught target signal 11 (Segmentation fault) - core dumped Segmentation fault (core dumped) I am using fedora14 operating system. Thanks for your help. Rania Mameesh University of

[Qemu-devel] Re: [PATCH 00/11] AHCI emulation support v9

2010-12-15 Thread Gerd Hoffmann
Hi, One thing that might be worth considering is to have preliminary seabios support for booting. Gerd does have something in the queue there ;). Not in the queue, it's upstream. Just pull latest seabios. As it didn't got much testing yet it is off by default, so make sure to flip

Re: [Qemu-devel] Sometimes qem-kvm hang at kvm_put_vcpu_events when virsh restore. Both version 0.12.5 / 0.13.0

2010-12-15 Thread Mulyadi Santosa
On Wed, Dec 15, 2010 at 15:08, changlimin changli...@h3c.com wrote: 1. I create a guest use libvirt; 2. I start the guest use: virsh start guest; 3. I save the guest to a file, use: virsh save guest guest.save 4. I retore the guest, use : virsh retore guest.save    Sometimes, the guest

Re: [Qemu-devel] qemu-x86_64 segments on fedora14

2010-12-15 Thread Mulyadi Santosa
On Wed, Dec 15, 2010 at 15:26, Rania Mameesh mame...@dii.unisi.it wrote: Dear All, I am getting a the following segmentation fault when I run the command qemu-x86_64 /bin/ls: qemu: uncaught target signal 11 (Segmentation fault) - core dumped Segmentation fault (core dumped) that was the

Re: [Qemu-devel] Sometimes qem-kvm hang at kvm_put_vcpu_events when virsh restore. Both version 0.12.5 / 0.13.0

2010-12-15 Thread changlimin
I have tried 1 vcpu and 2 vcpus, both sometimes restore fail. - Original Message - From: Mulyadi Santosa mulyadi.sant...@gmail.com To: changlimin changli...@h3c.com Cc: qemu-devel@nongnu.org Sent: Wednesday, December 15, 2010 4:31 PM Subject: Re: [Qemu-devel] Sometimes qem-kvm hang at

[Qemu-devel] Re: [PATCH 00/11] AHCI emulation support v9

2010-12-15 Thread Alexander Graf
Am 15.12.2010 um 09:28 schrieb Gerd Hoffmann kra...@redhat.com: Hi, One thing that might be worth considering is to have preliminary seabios support for booting. Gerd does have something in the queue there ;). Not in the queue, it's upstream. Just pull latest seabios. As it didn't

[Qemu-devel] Re: [PATCH 00/11] AHCI emulation support v9

2010-12-15 Thread Gerd Hoffmann
Hi, Even better! Could we get that in for 0.14 still? I assume that means we need a stable seabios release. Also for Gleb's bootorder bits we'll need a seabios update. I think for that not all bits are in upstream seabios yet though. A new release once this is settled is probably a good

[Qemu-devel] [PATCH v3] qemu, qmp: convert do_inject_nmi() to QObject, QError

2010-12-15 Thread Lai Jiangshan
Convert do_inject_nmi() to QObject, QError, we need to use it(via libvirt). changed from v1 Add document. Add error handling when the cpu index is invalid. changed from v2 use QERR_INVALID_PARAMETER_VALUE as Markus suggest. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- diff --git

Re: [Qemu-devel] Re: [PATCH] PCI: Bus number from the bridge, not the device

2010-12-15 Thread Michael S. Tsirkin
On Tue, Dec 14, 2010 at 11:34:53AM -0700, Alex Williamson wrote: On Tue, 2010-12-14 at 14:26 +0200, Michael S. Tsirkin wrote: On Mon, Dec 13, 2010 at 10:04:24PM -0700, Alex Williamson wrote: I've only ever seen config[PCI_SECONDARY_BUS] be non-zero for an assigned device, so I'm

[Qemu-devel] Re: [PATCH] rtl8139: IO memory is not part of vmstate

2010-12-15 Thread Michael S. Tsirkin
On Tue, Dec 14, 2010 at 08:41:55AM -0700, Alex Williamson wrote: On Tue, 2010-12-14 at 14:32 +0200, Michael S. Tsirkin wrote: On Mon, Dec 13, 2010 at 10:00:48PM -0700, Alex Williamson wrote: On Tue, 2010-12-14 at 06:43 +0200, Michael S. Tsirkin wrote: On Mon, Dec 13, 2010 at 12:15:08PM

[Qemu-devel] Re: [PATCH] rtl8139: IO memory is not part of vmstate

2010-12-15 Thread Michael S. Tsirkin
On Tue, Dec 14, 2010 at 04:59:55PM +0100, Paolo Bonzini wrote: On 12/14/2010 04:41 PM, Alex Williamson wrote: Maybe in this particular case the advantage is minimal. But it seems easier to stick to a rule of no more version bumps than argue about each case. Do we have such a rule? If

Re: [Qemu-devel] [PATCH v3] qemu, qmp: convert do_inject_nmi() to QObject, QError

2010-12-15 Thread Markus Armbruster
Lai Jiangshan la...@cn.fujitsu.com writes: Convert do_inject_nmi() to QObject, QError, we need to use it(via libvirt). changed from v1 Add document. Add error handling when the cpu index is invalid. changed from v2 use QERR_INVALID_PARAMETER_VALUE as Markus suggest. Signed-off-by: Lai

[Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify

2010-12-15 Thread Stefan Hajnoczi
On Mon, Dec 13, 2010 at 6:52 PM, Michael S. Tsirkin m...@redhat.com wrote: On Mon, Dec 13, 2010 at 05:57:28PM +, Stefan Hajnoczi wrote: On Mon, Dec 13, 2010 at 4:28 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Mon, Dec 13, 2010 at 4:12 PM, Michael S. Tsirkin m...@redhat.com wrote:

[Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify

2010-12-15 Thread Stefan Hajnoczi
For the record, here are the commits to selectively mask virtqueues for ioeventfd and to add -device virtio-net-pci,tx=immediate: http://repo.or.cz/w/qemu-kvm/stefanha.git/shortlog/refs/heads/virtio-ioeventfd-2 I'm posting this in case you want to try it out too. Stefan

Re: [Qemu-devel] [PULL] spice: add qxl device, qmp events + monitor commands.

2010-12-15 Thread Gerd Hoffmann
On 12/09/10 14:33, Gerd Hoffmann wrote: The following changes since commit 138b38b61bf92d4e9588acf934e532499c94e185: ppc: kvm: fix signedness warning (2010-12-08 21:30:19 +0100) are available in the git repository at: git://anongit.freedesktop.org/spice/qemu spice.v23.pull Ping? cheers,

Re: [Qemu-devel] Re: [PATCH 1/7] usb-linux: introduce a usb_linux_alt_setting function

2010-12-15 Thread Gerd Hoffmann
On 12/09/10 14:16, Gerd Hoffmann wrote: On 11/26/10 19:13, Hans de Goede wrote: The next patch in this series introduces multiple ways to get the alt setting dependent upon usb_fs_type, it is cleaner to put this into its own function. Note that this patch also changes the assumed alt setting

Re: [Qemu-devel] [PATCH 0/5] usb-ccid (v9)

2010-12-15 Thread Gerd Hoffmann
On 12/12/10 19:37, Alon Levy wrote: This patchset adds three new devices, usb-ccid, ccid-card-passthru and ccid-card-emulated, providing a CCID bus, a simple passthru protocol implementing card requiring a client, and a standalone emulated card. Hmm, 'git am' refuses to apply these and

[Qemu-devel] Re: [Spice-devel] RFC; usb redirection protocol

2010-12-15 Thread Hans de Goede
Hi, Thanks for taking the time to read all that! On 12/13/2010 12:21 PM, Gerd Hoffmann wrote: Basic packet structure / communication -- Each packet exchanged between the vm-host and the usb-host starts with a usb_redir_header, followed by an optional

[Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify

2010-12-15 Thread Michael S. Tsirkin
On Wed, Dec 15, 2010 at 11:42:12AM +, Stefan Hajnoczi wrote: On Mon, Dec 13, 2010 at 6:52 PM, Michael S. Tsirkin m...@redhat.com wrote: On Mon, Dec 13, 2010 at 05:57:28PM +, Stefan Hajnoczi wrote: On Mon, Dec 13, 2010 at 4:28 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Mon,

[Qemu-devel] Re: [Spice-devel] RFC; usb redirection protocol

2010-12-15 Thread Frédéric Grelot
Do you know whenever certain low-level usb ops can work with this? I expect most usb devices to work with this, I don't know about really weird ones. Specifically iphone firmware flashing was mentioned on the list. I think that should work, but that is an interesting case about

Re: [Qemu-devel] [PATCH 1/5] usb-ccid: add CCID bus

2010-12-15 Thread Gerd Hoffmann
On 12/12/10 19:37, Alon Levy wrote: A CCID device is a smart card reader. It is a USB device, defined at [1]. This patch introduces the usb-ccid device that is a ccid bus. Next patches will introduce two card types to use it, a passthru card and an emulated card. Looks good overall, just some

Re: [Qemu-devel] [PATCH 2/5] ccid: add passthru card device

2010-12-15 Thread Gerd Hoffmann
Hi, Commit message could be a bit more verbose, even if it is redundant with what the patch 1/5 message says. Also short usage information (or pointer to the file patch 5/5 adds) would be good. Patch itself looks fine to me. cheers, Gerd

Re: [Qemu-devel] [PATCH 3/5] libcacard: initial commit after coding style fixes

2010-12-15 Thread Gerd Hoffmann
On 12/12/10 19:37, Alon Levy wrote: From: Robert Relyearrel...@redhat.com Signed-off-by: Alon Levyal...@redhat.com Commit message could be more verbose too. This is the smart card emulation library, right? Patch looks good on a quick glance, I'm not a crypto expert though. Acked-by: Gerd

Re: [Qemu-devel] [PATCH 4/5] ccid: add ccid-card-emulated device (v2)

2010-12-15 Thread Gerd Hoffmann
On 12/12/10 19:37, Alon Levy wrote: changes from v1: remove stale comments, use only c-style comments bugfix, forgot to set recv_len change reader name to 'Virtual Reader' Signed-off-by: Alon Levyal...@redhat.com Should be more verbose too. Please explain what the threads are

Re: [Qemu-devel] [PATCH 5/5] smartcard: add docs

2010-12-15 Thread Gerd Hoffmann
Hi, docs/libcacard.txt | 483 Move this to the libcacard patch and add a pointer to it to the commit message? cheers, Gerd

[Qemu-devel] Re: [PATCH v5 0/4] virtio: Use ioeventfd for virtqueue notify

2010-12-15 Thread Stefan Hajnoczi
On Wed, Dec 15, 2010 at 12:14 PM, Michael S. Tsirkin m...@redhat.com wrote: On Wed, Dec 15, 2010 at 11:42:12AM +, Stefan Hajnoczi wrote: On Mon, Dec 13, 2010 at 6:52 PM, Michael S. Tsirkin m...@redhat.com wrote: On Mon, Dec 13, 2010 at 05:57:28PM +, Stefan Hajnoczi wrote: On Mon, Dec

Re: [Qemu-devel] [PATCH 0/5] usb-ccid (v9)

2010-12-15 Thread Alon Levy
On Wed, Dec 15, 2010 at 01:01:56PM +0100, Gerd Hoffmann wrote: On 12/12/10 19:37, Alon Levy wrote: This patchset adds three new devices, usb-ccid, ccid-card-passthru and ccid-card-emulated, providing a CCID bus, a simple passthru protocol implementing card requiring a client, and a standalone

Re: [Qemu-devel] Re: sparc OBP psr value

2010-12-15 Thread Bob Breuer
Forget this. My test was flawed because I still wasn't comparing apples to apples. I was comparing the pre-bootloader state to the post-bootloader state, and it seems that OBP, even on a real machine, shows all the registers as zero before it runs any program. However, I still think there's

Re: [Qemu-devel] [PATCH 26/27] blockdev: Collect block device code in new blockdev.c

2010-12-15 Thread Artyom Tarasenko
On Fri, Jun 4, 2010 at 6:33 PM, Kevin Wolf kw...@redhat.com wrote: From: Markus Armbruster arm...@redhat.com Anything that moves hundreds of lines out of vl.c can't be all bad. I know I'm late for this train, but why does this patch change the license of the former vl.c code from a BSD-like

Re: [Qemu-devel] Re: [Spice-devel] RFC; usb redirection protocol

2010-12-15 Thread Alon Levy
On Wed, Dec 15, 2010 at 01:15:58PM +0100, Hans de Goede wrote: Hi, Thanks for taking the time to read all that! On 12/13/2010 12:21 PM, Gerd Hoffmann wrote: Basic packet structure / communication -- Each packet exchanged between the vm-host and the

Re: [Qemu-devel] Re: [PATCH] PCI: Bus number from the bridge, not the device

2010-12-15 Thread Alex Williamson
On Wed, 2010-12-15 at 11:56 +0200, Michael S. Tsirkin wrote: On Tue, Dec 14, 2010 at 11:34:53AM -0700, Alex Williamson wrote: On Tue, 2010-12-14 at 14:26 +0200, Michael S. Tsirkin wrote: On Mon, Dec 13, 2010 at 10:04:24PM -0700, Alex Williamson wrote: I've only ever seen

Re: [Qemu-devel] [PATCH 26/27] blockdev: Collect block device code in new blockdev.c

2010-12-15 Thread Kevin Wolf
Am 15.12.2010 16:04, schrieb Artyom Tarasenko: On Fri, Jun 4, 2010 at 6:33 PM, Kevin Wolf kw...@redhat.com wrote: From: Markus Armbruster arm...@redhat.com Anything that moves hundreds of lines out of vl.c can't be all bad. I know I'm late for this train, but why does this patch change the

[Qemu-devel] Re: [PATCH] rtl8139: IO memory is not part of vmstate

2010-12-15 Thread Alex Williamson
On Wed, 2010-12-15 at 12:07 +0200, Michael S. Tsirkin wrote: On Tue, Dec 14, 2010 at 08:41:55AM -0700, Alex Williamson wrote: On Tue, 2010-12-14 at 14:32 +0200, Michael S. Tsirkin wrote: On Mon, Dec 13, 2010 at 10:00:48PM -0700, Alex Williamson wrote: On Tue, 2010-12-14 at 06:43 +0200,

[Qemu-devel] Re: [PULL 00/14] Block patches

2010-12-15 Thread Kevin Wolf
Am 09.12.2010 12:09, schrieb Kevin Wolf: The following changes since commit 138b38b61bf92d4e9588acf934e532499c94e185: ppc: kvm: fix signedness warning (2010-12-08 21:30:19 +0100) are available in the git repository at: git://repo.or.cz/qemu/kevin.git for-anthony Christian Brunner

Re: [Qemu-devel] [PATCH v2 1/1] qemu-img.c: Clean up handling of image size in img_create()

2010-12-15 Thread Markus Armbruster
jes.soren...@redhat.com writes: From: Jes Sorensen jes.soren...@redhat.com This cleans up the handling of image size in img_create() by parsing the value early, and then only setting it once if a value has been added as the last argument to the command line. Signed-off-by: Jes Sorensen

[Qemu-devel] Re: [PATCH 0/3] Re-factor img_create() and add live snapshots

2010-12-15 Thread Kevin Wolf
Am 13.12.2010 08:32, schrieb jes.soren...@redhat.com: From: Jes Sorensen jes.soren...@redhat.com Hi, This set of patches re-factors img_create() and moves the core part of it into block.c so it can be accessed from qemu as well as qemu-img. The second patch adds basic live snapshots

[Qemu-devel] Re: [PATCH 2/3] Introduce do_snapshot_blkdev() and monitor command to handle it.

2010-12-15 Thread Kevin Wolf
Am 13.12.2010 08:32, schrieb jes.soren...@redhat.com: From: Jes Sorensen jes.soren...@redhat.com The monitor command is: snapshot_blkdev device [snapshot-file] [format] Default format is qcow2. For now snapshots without a snapshot-file, eg internal snapshots, are not supported.

Re: [Qemu-devel] [PATCH v2 1/1] qemu-img.c: Clean up handling of image size in img_create()

2010-12-15 Thread Jes Sorensen
On 12/15/10 17:47, Markus Armbruster wrote: jes.soren...@redhat.com writes: From: Jes Sorensen jes.soren...@redhat.com This cleans up the handling of image size in img_create() by parsing the value early, and then only setting it once if a value has been added as the last argument to the

[Qemu-devel] Re: [PATCH 2/3] Introduce do_snapshot_blkdev() and monitor command to handle it.

2010-12-15 Thread Jes Sorensen
On 12/15/10 17:55, Kevin Wolf wrote: +int do_snapshot_blkdev(Monitor *mon, const QDict *qdict, QObject **ret_data) +{ +const char *device = qdict_get_str(qdict, device); +const char *filename = qdict_get_try_str(qdict, snapshot_file); +const char *format = qdict_get_try_str(qdict,

[Qemu-devel] Re: [PATCH 0/3] Re-factor img_create() and add live snapshots

2010-12-15 Thread Jes Sorensen
On 12/15/10 17:52, Kevin Wolf wrote: Am 13.12.2010 08:32, schrieb jes.soren...@redhat.com: Jes Sorensen (3): qemu-img.c: Re-factor img_create() Introduce do_snapshot_blkdev() and monitor command to handle it. Prevent creating an image with the same filename as backing file This

[Qemu-devel] Re: [PATCH] rtl8139: IO memory is not part of vmstate

2010-12-15 Thread Paolo Bonzini
On 12/15/2010 11:00 AM, Michael S. Tsirkin wrote: Indeed, subsections are for data that is rarely needed so that there's some chance (sometimes ~100%) of migration working seemlessly. If a subsection arrives that qemu does not know about, won't migratin fail? Yes, that's why rarely needed =

[Qemu-devel] Re: [PATCH v3] qemu, qmp: convert do_inject_nmi() to QObject, QError

2010-12-15 Thread Luiz Capitulino
On Wed, 15 Dec 2010 17:49:27 +0800 Lai Jiangshan la...@cn.fujitsu.com wrote: Convert do_inject_nmi() to QObject, QError, we need to use it(via libvirt). changed from v1 Add document. Add error handling when the cpu index is invalid. changed from v2 use QERR_INVALID_PARAMETER_VALUE as

Re: [Qemu-devel] [PATCH v3] qemu, qmp: convert do_inject_nmi() to QObject, QError

2010-12-15 Thread Luiz Capitulino
On Wed, 15 Dec 2010 11:49:23 +0100 Markus Armbruster arm...@redhat.com wrote: Lai Jiangshan la...@cn.fujitsu.com writes: Convert do_inject_nmi() to QObject, QError, we need to use it(via libvirt). changed from v1 Add document. Add error handling when the cpu index is invalid.

[Qemu-devel] Re: [PATCH v3] qemu, qmp: convert do_inject_nmi() to QObject, QError

2010-12-15 Thread Avi Kivity
On 12/15/2010 07:09 PM, Luiz Capitulino wrote: On Wed, 15 Dec 2010 17:49:27 +0800 Lai Jiangshanla...@cn.fujitsu.com wrote: Convert do_inject_nmi() to QObject, QError, we need to use it(via libvirt). changed from v1 Add document. Add error handling when the cpu index is invalid.

Re: [Qemu-devel] [PATCH v2 1/1] qemu-img.c: Clean up handling of image size in img_create()

2010-12-15 Thread Markus Armbruster
Jes Sorensen jes.soren...@redhat.com writes: On 12/15/10 17:47, Markus Armbruster wrote: jes.soren...@redhat.com writes: From: Jes Sorensen jes.soren...@redhat.com This cleans up the handling of image size in img_create() by parsing the value early, and then only setting it once if a

[Qemu-devel] Re: [PATCH v3] qemu, qmp: convert do_inject_nmi() to QObject, QError

2010-12-15 Thread Luiz Capitulino
On Wed, 15 Dec 2010 19:18:32 +0200 Avi Kivity a...@redhat.com wrote: On 12/15/2010 07:09 PM, Luiz Capitulino wrote: On Wed, 15 Dec 2010 17:49:27 +0800 Lai Jiangshanla...@cn.fujitsu.com wrote: Convert do_inject_nmi() to QObject, QError, we need to use it(via libvirt).

[Qemu-devel] Re: [PATCH 2/3] Introduce do_snapshot_blkdev() and monitor command to handle it.

2010-12-15 Thread Luiz Capitulino
On Wed, 15 Dec 2010 17:57:25 +0100 Jes Sorensen jes.soren...@redhat.com wrote: On 12/15/10 17:55, Kevin Wolf wrote: +int do_snapshot_blkdev(Monitor *mon, const QDict *qdict, QObject **ret_data) +{ +const char *device = qdict_get_str(qdict, device); +const char *filename =

Re: [Qemu-devel] [PATCH v4 1/2] Minimal RAM API support

2010-12-15 Thread Paul Brook
This adds a minimum chunk of Anthony's RAM API support so that we can identify actual VM RAM versus all the other things that make use of qemu_ram_alloc. Why do we care? How are you defining actual VM RAM? Surely the whole point of qemu_ram_alloc is to allocate a chunk of memory that can be

[Qemu-devel] Re: [PATCH v3] qemu, qmp: convert do_inject_nmi() to QObject, QError

2010-12-15 Thread Markus Armbruster
Luiz Capitulino lcapitul...@redhat.com writes: On Wed, 15 Dec 2010 19:18:32 +0200 Avi Kivity a...@redhat.com wrote: On 12/15/2010 07:09 PM, Luiz Capitulino wrote: On Wed, 15 Dec 2010 17:49:27 +0800 Lai Jiangshanla...@cn.fujitsu.com wrote: Convert do_inject_nmi() to QObject,

Re: [Qemu-devel] [PATCH 5/6] [RFC] Emulation of Leon3.

2010-12-15 Thread Fabien Chouteau
On 12/13/2010 07:18 PM, Blue Swirl wrote: On Mon, Dec 13, 2010 at 3:51 PM, Fabien Chouteauchout...@adacore.com wrote: On 12/11/2010 10:56 AM, Blue Swirl wrote: On Tue, Dec 7, 2010 at 11:40 AM, Fabien Chouteauchout...@adacore.com wrote: On 12/06/2010 06:53 PM, Blue Swirl wrote: On Mon,

Re: [Qemu-devel] [PATCH v3] qemu, qmp: convert do_inject_nmi() to QObject, QError

2010-12-15 Thread Markus Armbruster
Luiz Capitulino lcapitul...@redhat.com writes: On Wed, 15 Dec 2010 11:49:23 +0100 Markus Armbruster arm...@redhat.com wrote: Lai Jiangshan la...@cn.fujitsu.com writes: Convert do_inject_nmi() to QObject, QError, we need to use it(via libvirt). changed from v1 Add document. Add

[Qemu-devel] Re: [PATCH] qemu-kvm: Switch to upstream -enable-kvm semantics

2010-12-15 Thread Anthony Liguori
On 12/15/2010 09:50 AM, Markus Armbruster wrote: We currently enable KVM by default, and when it's not available, we print a message and fall back to TCG. Option -enable-kvm is ignored. Option -no-kvm suppresses KVM. Upstream works differently: KVM is off by default, -enable-kvm switches it

Re: [Qemu-devel] [Qestion] What status of memory stats feature

2010-12-15 Thread Luiz Capitulino
On Wed, 15 Dec 2010 16:20:05 +0900 Ken'ichi Ohmichi oomi...@mxs.nes.nec.co.jp wrote: Hi, I tried to get the memory stats by using virDomainMemoryStats() of libvirt, but it could not do it because of the following patch: [PATCH 03/23] disable guest-provided stats on info balloon command

Re: [Qemu-devel] [PATCH v3] qemu, qmp: convert do_inject_nmi() to QObject, QError

2010-12-15 Thread Luiz Capitulino
On Wed, 15 Dec 2010 18:39:07 +0100 Markus Armbruster arm...@redhat.com wrote: Luiz Capitulino lcapitul...@redhat.com writes: On Wed, 15 Dec 2010 11:49:23 +0100 Markus Armbruster arm...@redhat.com wrote: Lai Jiangshan la...@cn.fujitsu.com writes: Convert do_inject_nmi() to

[Qemu-devel] Re: [PATCH] qemu-kvm: Switch to upstream -enable-kvm semantics

2010-12-15 Thread Markus Armbruster
Anthony Liguori anth...@codemonkey.ws writes: On 12/15/2010 09:50 AM, Markus Armbruster wrote: We currently enable KVM by default, and when it's not available, we print a message and fall back to TCG. Option -enable-kvm is ignored. Option -no-kvm suppresses KVM. Upstream works differently:

[Qemu-devel] Re: [PATCH v3] qemu, qmp: convert do_inject_nmi() to QObject, QError

2010-12-15 Thread Luiz Capitulino
On Wed, 15 Dec 2010 18:45:09 +0100 Markus Armbruster arm...@redhat.com wrote: Luiz Capitulino lcapitul...@redhat.com writes: On Wed, 15 Dec 2010 19:18:32 +0200 Avi Kivity a...@redhat.com wrote: On 12/15/2010 07:09 PM, Luiz Capitulino wrote: On Wed, 15 Dec 2010 17:49:27 +0800 Lai

[Qemu-devel] [Bug 690776] Re: Overwrite argv to set process title, eliminating 16-character prctl() limit.

2010-12-15 Thread John Morrissey
** Attachment added: qemu-overwrite-argv-to-set-process-title.patch https://bugs.launchpad.net/bugs/690776/+attachment/1767059/+files/qemu-overwrite-argv-to-set-process-title.patch -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU.

[Qemu-devel] [Bug 690776] [NEW] Overwrite argv to set process title, eliminating 16-character prctl() limit.

2010-12-15 Thread John Morrissey
Public bug reported: I've modified qemu to overwrite its arguments to set the process title, since its current prctl() method has a 16-character limit. I posted the original patch to qemu-devel, made the changes others suggested, then re-posted to qemu-devel. I flailed around a bit with the

[Qemu-devel] Re: [PATCH] rtl8139: IO memory is not part of vmstate

2010-12-15 Thread Michael S. Tsirkin
On Wed, Dec 15, 2010 at 06:12:25PM +0100, Paolo Bonzini wrote: On 12/15/2010 11:00 AM, Michael S. Tsirkin wrote: Indeed, subsections are for data that is rarely needed so that there's some chance (sometimes ~100%) of migration working seemlessly. If a subsection arrives that qemu does not

Re: [Qemu-devel] [PATCH v4 1/2] Minimal RAM API support

2010-12-15 Thread Alex Williamson
On Wed, 2010-12-15 at 17:23 +, Paul Brook wrote: This adds a minimum chunk of Anthony's RAM API support so that we can identify actual VM RAM versus all the other things that make use of qemu_ram_alloc. Why do we care? How are you defining actual VM RAM? Surely the whole point of

Re: [Qemu-devel] [PATCH v4 1/2] Minimal RAM API support

2010-12-15 Thread Anthony Liguori
On 12/15/2010 11:23 AM, Paul Brook wrote: This adds a minimum chunk of Anthony's RAM API support so that we can identify actual VM RAM versus all the other things that make use of qemu_ram_alloc. Why do we care? How are you defining actual VM RAM? Surely the whole point of qemu_ram_alloc

[Qemu-devel] [PATCH] Fix migrate set speed doc arg

2010-12-15 Thread Luiz Capitulino
We used to ignore any fractional part in 0.13, but due to recent changes (started with 9f9b17a4f0865286391e4d3a0a735230122a2289) migrate_set_speed will reject the fractional part. We don't expect existing clients to be relying on this, but we need to update the documentation to reflect the

Re: [Qemu-devel] [PATCH] Fix migrate set speed doc arg

2010-12-15 Thread Markus Armbruster
Luiz Capitulino lcapitul...@redhat.com writes: We used to ignore any fractional part in 0.13, but due to recent changes (started with 9f9b17a4f0865286391e4d3a0a735230122a2289) migrate_set_speed will reject the fractional part. We don't expect existing clients to be relying on this, but we

[Qemu-devel] [Bug 685096] Re: USB Passthrough not working for Windows 7 guest

2010-12-15 Thread Carlos-velasco
Same problem here, using: qemu-kvm 0.13 kernel 2.6.36.2 kvm-intel Guest: Windows 7 Enterprise x64 INFO USBHOST: Device 2.2, speed 480 Mb/s Class 00: USB device 054c:02a5, Storage Media INFO USB: Device 0.3, Speed 480 Mb/s, Product Storage Media Device appears in Windows 7 but in Error

[Qemu-devel] Storing instructions executed in CPUState

2010-12-15 Thread James Greensky
Hello, I am attempting to fold a cache model into Qemu. For this I need to store the instructions executed between actual lds/sts to Qemu memory, for performance reasons. I figured that a buffer in the CPUState could accommodate this requirement, however tcg only gives the ability to ld/st from

[Qemu-devel] [Bug 685096] Re: USB Passthrough not working for Windows 7 guest

2010-12-15 Thread Carlos-velasco
Ugh... I have just realized that KVM only supports UHCI, so not USB 2.0 support -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/685096 Title: USB Passthrough not working for Windows 7 guest Status

Re: [Qemu-devel] [Qestion] What status of memory stats feature

2010-12-15 Thread Adam Litke
On Wed, 2010-12-15 at 15:39 -0200, Luiz Capitulino wrote: On Wed, 15 Dec 2010 16:20:05 +0900 Ken'ichi Ohmichi oomi...@mxs.nes.nec.co.jp wrote: Hi, I tried to get the memory stats by using virDomainMemoryStats() of libvirt, but it could not do it because of the following patch:

Re: [Qemu-devel] Re: [PATCH 00/15] Megasas HBA emulation and SCSI update v.3

2010-12-15 Thread Benjamin Herrenschmidt
On Mon, 2010-12-13 at 08:32 +0100, Hannes Reinecke wrote: On 12/10/2010 11:14 PM, Paolo Bonzini wrote: On 11/24/2010 05:50 PM, Christoph Hellwig wrote: Btw, it might make sense to split this series into two. Patches 1 to 11 are genuine improvements to the SCSI code, which I'd like to

Re: [Qemu-devel] Re: [PATCH 00/15] Megasas HBA emulation and SCSI update v.3

2010-12-15 Thread Benjamin Herrenschmidt
On Thu, 2010-12-16 at 12:45 +1100, Benjamin Herrenschmidt wrote: On Mon, 2010-12-13 at 08:32 +0100, Hannes Reinecke wrote: On 12/10/2010 11:14 PM, Paolo Bonzini wrote: On 11/24/2010 05:50 PM, Christoph Hellwig wrote: Btw, it might make sense to split this series into two. Patches 1

Re: [Qemu-devel] Re: [PATCH] scsi-generic: bugfixes for 'SCSIRequest' conversion

2010-12-15 Thread Benjamin Herrenschmidt
The commit message of this commit says it's a workaround for a problem with lsi: - when a read is aborted due to a mark/EOF/EOD/EOM, the len reported to controller can be 0. LSI controller emulation doesn't know how to manage this. A workaround found is to call the completion routine

Re: [Qemu-devel] Re: [PATCH] PCI: Bus number from the bridge, not the device

2010-12-15 Thread Isaku Yamahata
On Wed, Dec 15, 2010 at 08:27:49AM -0700, Alex Williamson wrote: On Wed, 2010-12-15 at 11:56 +0200, Michael S. Tsirkin wrote: On Tue, Dec 14, 2010 at 11:34:53AM -0700, Alex Williamson wrote: On Tue, 2010-12-14 at 14:26 +0200, Michael S. Tsirkin wrote: On Mon, Dec 13, 2010 at 10:04:24PM

Re: [Qemu-devel] [PATCH] RFC: delay pci_update_mappings for 64-bit BARs

2010-12-15 Thread Isaku Yamahata
On Tue, Dec 14, 2010 at 10:42:43AM -0700, Cam Macdonell wrote: On Mon, Dec 13, 2010 at 8:00 PM, Isaku Yamahata yamah...@valinux.co.jp wrote: On Mon, Dec 13, 2010 at 03:43:44PM -0700, Cam Macdonell wrote: Do not call pci_update_mappings on the lower 32-bits of a 64-bit bar. ?Wait for the

[Qemu-devel] Re: [PATCH 05/21] virtio: modify save/load handler to handle inuse varialble.

2010-12-15 Thread Yoshiaki Tamura
2010/12/3 Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp: 2010/12/2 Michael S. Tsirkin m...@redhat.com: On Wed, Dec 01, 2010 at 05:03:43PM +0900, Yoshiaki Tamura wrote: 2010/11/28 Michael S. Tsirkin m...@redhat.com: On Sun, Nov 28, 2010 at 08:27:58PM +0900, Yoshiaki Tamura wrote: 2010/11/28

[Qemu-devel] Re: [PATCH 11/21] ioport: insert event_tap_ioport() to ioport_write().

2010-12-15 Thread Yoshiaki Tamura
2010/11/28 Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp: 2010/11/28 Michael S. Tsirkin m...@redhat.com: On Thu, Nov 25, 2010 at 03:06:50PM +0900, Yoshiaki Tamura wrote: Record ioport event to replay it upon failover. Signed-off-by: Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp Interesting.