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-kvm

[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 Sie

[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 CONFIG

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 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 restore successful.

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 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 user mode Qemu

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" To: "changlimin" Cc: Sent: Wednesday, December 15, 2010 4:31 PM Subject: Re: [Qemu-devel] Sometimes qem-kvm hang at kvm_put_vcpu_events when virsh restore. Both version 0.12.5

[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 : > 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 > muc

[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 --- diff --git a/hmp-commands.hx b/hmp-c

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, s

[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:

[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 suc

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

2010-12-15 Thread Markus Armbruster
Lai Jiangshan 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 Jiangshan

[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 wrote: > On Mon, Dec 13, 2010 at 05:57:28PM +, Stefan Hajnoczi wrote: >> On Mon, Dec 13, 2010 at 4:28 PM, Stefan Hajnoczi wrote: >> > On Mon, Dec 13, 2010 at 4:12 PM, Michael S. Tsirkin >> > wrote: >> >> On Mon, Dec 13, 2010 at 03:27:06PM

[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, Ge

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 in

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 complain

[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:48:50AM +, Stefan Hajnoczi wrote: > 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

[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 command

[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 wrote: > > On Mon, Dec 13, 2010 at 05:57:28PM +, Stefan Hajnoczi wrote: > >> On Mon, Dec 13, 2010 at 4:28 PM, Stefan Hajnoczi > >> wrote: > >> > On Mon, Dec 13, 2010 at 4:12

[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

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 m

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 Relyea Signed-off-by: Alon Levy 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 Hoffmann cheers, 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 Levy Should be more verbose too. Please explain what the threads are used for and why

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 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 wrote: >> > On Mon, Dec 13, 2010 at 05:57:28PM +, Stefan Hajnoczi wrote: >> >> On Mon, Dec 13, 2010 at 4:28 PM,

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 stand

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 some

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 wrote: > From: Markus Armbruster > > 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 one to GPLv2? It seems to be cont

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 v

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 see

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 wrote: >> From: Markus Armbruster >> >> 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 v

[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

[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 Bru

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 > > 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-img.c

[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 > > 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 support to the > code,

[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 > > The monitor command is: > snapshot_blkdev [snapshot-file] [format] > > Default format is qcow2. For now snapshots without a snapshot-file, eg > internal snapshots, are not supported. > > Signed-off-by: Jes Sorensen

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 >> >> 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.

[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_t

[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 > >

[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 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 Markus sugge

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 wrote: > Lai Jiangshan 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 Q

[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 Jiangshan 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

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 writes: > On 12/15/10 17:47, Markus Armbruster wrote: >> jes.soren...@redhat.com writes: >> >>> From: Jes Sorensen >>> >>> 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 la

[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 wrote: > On 12/15/2010 07:09 PM, Luiz Capitulino wrote: > > On Wed, 15 Dec 2010 17:49:27 +0800 > > Lai Jiangshan wrote: > > > > > > > > Convert do_inject_nmi() to QObject, QError, we need to use it(via > > > libvirt). > > > > > > changed from v1 >

[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 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 = qdict_get_

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

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

2010-12-15 Thread Markus Armbruster
Luiz Capitulino writes: > On Wed, 15 Dec 2010 19:18:32 +0200 > Avi Kivity wrote: > >> On 12/15/2010 07:09 PM, Luiz Capitulino wrote: >> > On Wed, 15 Dec 2010 17:49:27 +0800 >> > Lai Jiangshan wrote: >> > >> > > >> > > Convert do_inject_nmi() to QObject, QError, we need to use it(via >> > > li

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 Chouteau wrote: On 12/11/2010 10:56 AM, Blue Swirl wrote: On Tue, Dec 7, 2010 at 11:40 AM, Fabien Chouteau wrote: On 12/06/2010 06:53 PM, Blue Swirl wrote: On Mon, Dec 6, 2010 at 9:26 AM, Fabien Chouteau

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

2010-12-15 Thread Markus Armbruster
Luiz Capitulino writes: > On Wed, 15 Dec 2010 11:49:23 +0100 > Markus Armbruster wrote: > >> Lai Jiangshan 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 inva

[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 on.

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" 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 > 2010/10/01

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 wrote: > Luiz Capitulino writes: > > > On Wed, 15 Dec 2010 11:49:23 +0100 > > Markus Armbruster wrote: > > > >> Lai Jiangshan writes: > >> > >> > Convert do_inject_nmi() to QObject, QError, we need to use it(via > >> > libvirt). > >> > >

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

2010-12-15 Thread Markus Armbruster
Anthony Liguori 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: KVM is off

[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 wrote: > Luiz Capitulino writes: > > > On Wed, 15 Dec 2010 19:18:32 +0200 > > Avi Kivity wrote: > > > >> On 12/15/2010 07:09 PM, Luiz Capitulino wrote: > >> > On Wed, 15 Dec 2010 17:49:27 +0800 > >> > Lai Jiangshan wrote: > >> > > >> > > >

[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 patch

[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 qe

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

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_allo

[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 change.

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

2010-12-15 Thread Markus Armbruster
Luiz Capitulino 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 > need to update the

[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 Cod

[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 h

[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 i

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" 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

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 >

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. > > >>

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 comp

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:

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 > 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 upper 32 or e

[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 : > 2010/12/2 Michael S. Tsirkin : >> On Wed, Dec 01, 2010 at 05:03:43PM +0900, Yoshiaki Tamura wrote: >>> 2010/11/28 Michael S. Tsirkin : >>> > On Sun, Nov 28, 2010 at 08:27:58PM +0900, Yoshiaki Tamura wrote: >>> >> 2010/11/28 Michael S. Tsirkin : >>> >> > On Thu, Nov 25,

[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 : > 2010/11/28 Michael S. Tsirkin : >> 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 >> >> Interesting. This will have to be extended to support ioeventfd. >> Si