[Qemu-devel] Re: [PATCH v5] block: add sheepdog driver for distributed storage support

2010-06-17 Thread Christian Brunner
On Fri, Jun 11, 2010 at 03:35:40PM +0200, Kevin Wolf wrote: > Am 07.06.2010 20:00, schrieb MORITA Kazutaka: > > Also, I'd like to have qemu-iotests run on it before including it. IIRC, > Christian has hacked on qemu-iotests to make it work with protocols for > his rbd driver - Christian, can you p

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

2010-06-17 Thread Stefan Hajnoczi
On Thu, Jun 17, 2010 at 1:49 PM, Markus Armbruster wrote: > Stefan Hajnoczi writes: > >> On Wed, Jun 16, 2010 at 6:27 PM, Markus Armbruster wrote: >>> blockdev_add >>> >>> >>> Add host block device. >>> >>> Arguments: >>> >>> - "id": the host block device's ID, must be unique (json-

[Qemu-devel] Re: [RFC][PATCH 2/2] qcow2: Use bdrv_(p)write_sync for metadata writes

2010-06-17 Thread Stefan Hajnoczi
On Thu, Jun 17, 2010 at 3:39 PM, Kevin Wolf wrote: > Am 17.06.2010 16:19, schrieb Stefan Hajnoczi: >> On Thu, Jun 17, 2010 at 1:03 PM, Kevin Wolf wrote: >>> Use bdrv_(p)write_sync to ensure metadata integrity in case of a crash. >> >> Any performance numbers?  This change is necessary for correct

Re: [Qemu-devel] [CFR 1/10] qmp: getfd command

2010-06-17 Thread Stefan Hajnoczi
It is unclear how getfd works. Do you send the SCM_CREDENTIALS ancillary data together with the getfd QMP command? Would be nice to have this documented. Stefan

Re: [Qemu-devel] [CFR 2/10] qmp: memsave command

2010-06-17 Thread Stefan Hajnoczi
On Wed, Jun 16, 2010 at 4:45 PM, Stefan Hajnoczi wrote: > memsave > --- > > Save to disk virtual memory dump starting at 'val' of size 'size'. > > Arguments: > > - "val": the starting address (json-int) > - "size": the memory size, in bytes (json-int) > - "filename": file path (json-string) >

Re: [Qemu-devel] [CFR 4/10] qmp: migrate_set_downtime command

2010-06-17 Thread Stefan Hajnoczi
On Wed, Jun 16, 2010 at 4:45 PM, Stefan Hajnoczi wrote: > migrate_set_downtime > > > Set maximum tolerated downtime (in seconds) for migrations. > > Arguments: > > - "value": maximum downtime (json-number) > > Example: > > -> { "execute": "migrate_set_downtime", "arguments": {

Re: [Qemu-devel] [CFR 5/10] qmp: migrate_set_speed command

2010-06-17 Thread Stefan Hajnoczi
On Wed, Jun 16, 2010 at 4:45 PM, Stefan Hajnoczi wrote: > migrate_set_speed > - > > Set maximum speed for migrations. > > Arguments: > > - "value": maximum speed, in bytes per second (json-number) > > Example: > > -> { "execute": "migrate_set_speed", "arguments": { "value": 1024 }

Re: [Qemu-devel] [CFR 8/10] qmp: netdev_del command

2010-06-17 Thread Stefan Hajnoczi
On Wed, Jun 16, 2010 at 4:45 PM, Stefan Hajnoczi wrote: > netdev_del > -- > > Remove host network device. > > Arguments: > > - "id": the device's ID, must be unique (json-string) > > Example: > > -> { "execute": "netdev_del", "arguments": { "id": "netdev1" } } > <- { "return": {} } What h

Re: [Qemu-devel] Re: [CFR 10/10] qmp: query_balloon command

2010-06-17 Thread Stefan Hajnoczi
On Wed, Jun 16, 2010 at 7:54 PM, Anthony Liguori wrote: > On 06/16/2010 10:46 AM, Stefan Hajnoczi wrote: >> >> query-balloon >> - >> >> Show balloon information. >> >> Make an asynchronous request for balloon info. > > s/asynchronous//.  All requests are asynchronous. It would be help

[Qemu-devel] Re: RFC qdev path semantics

2010-06-17 Thread Alex Williamson
I'm a little bit lost at how to implement something to print these semantics, but a couple comments below... On Wed, 2010-06-16 at 11:46 +0200, Markus Armbruster wrote: > A number of changes to qdev paths have been proposed in various threads. > It's becoming harder to keep track of them, so let m

[Qemu-devel] Re: RFC qdev path semantics

2010-06-17 Thread Paul Brook
> > ### Paul proposes to require all buses to define bus addresses. Make > > one up if necessary. > > That seems arbitrary and prone to breakage. How do we handle a subtle > change in device instantiation order and still allow migration? If by > code change or command line ordering my frobn

Re: [Qemu-devel] [RFC PATCH 1/5] qdev: Create qdev_get_dev_path()

2010-06-17 Thread Alex Williamson
On Wed, 2010-06-16 at 10:23 +0200, Markus Armbruster wrote: > Alex Williamson writes: > > > On Tue, 2010-06-15 at 12:28 +0100, Paul Brook wrote: > >> > > Alex proposed to disambiguate by adding "identified properties of the > >> > > immediate parent bus and device" to the path component. For PCI

[Qemu-devel] Re: RFC qdev path semantics

2010-06-17 Thread Alex Williamson
On Thu, 2010-06-17 at 23:01 +0100, Paul Brook wrote: > > > ### Paul proposes to require all buses to define bus addresses. Make > > > one up if necessary. > > > > That seems arbitrary and prone to breakage. How do we handle a subtle > > change in device instantiation order and still allow mi

[Qemu-devel] Re: [V9fs-developer] [PATCH] qemu:virtio-9p: Send iounit to client for read/write operations

2010-06-17 Thread Venkateswararao Jujjuri (JV)
M. Mohan Kumar wrote: > Compute iounit based on the host filesystem block size and pass it to > client with open/create response. Also return iounit as statfs's f_bsize > for optimal block size transfers. > > > Signed-off-by: M. Mohan Kumar > Reviewd-by: Sripathi Kodi > --- > hw/virtio-9p.c |

[Qemu-devel] Re: [PATCH 0/8] seabios: pci: multi pci bus support

2010-06-17 Thread Isaku Yamahata
On Thu, Jun 17, 2010 at 02:17:20PM +0300, Michael S. Tsirkin wrote: > On Thu, Jun 17, 2010 at 08:03:08PM +0900, Isaku Yamahata wrote: > > This patch set allows seabios to initialize multi pci bus and 64bit BAR. > > > > Currently seabios is able to initialize only pci root bus. > > However multi pc

[Qemu-devel] Re: [PATCH 09/10] pci: set PCI multi-function bit appropriately.

2010-06-17 Thread Isaku Yamahata
On Thu, Jun 17, 2010 at 12:37:21PM +0300, Michael S. Tsirkin wrote: > On Thu, Jun 17, 2010 at 03:15:51PM +0900, Isaku Yamahata wrote: > > set PCI multi-function bit appropriately. > > > > Signed-off-by: Isaku Yamahata > > > > --- > > changes v1 -> v2: > > don't set header type register in config

[Qemu-devel] Re: [PATCH 00/10] pci: pci to pci bridge clean up and enhancement

2010-06-17 Thread Isaku Yamahata
On Thu, Jun 17, 2010 at 02:57:16PM +0300, Michael S. Tsirkin wrote: > On Thu, Jun 17, 2010 at 01:02:43PM +0300, Michael S. Tsirkin wrote: > > For example, forcing all devices to call pci_reset_default > > in their reset routines does not look like a good cleanup: > > the less boilerplate, the bette

Re: [Qemu-devel] Re: [PATCH 1/2] qemu-io: retry fgets() when errno is EINTRg

2010-06-17 Thread MORITA Kazutaka
At Thu, 17 Jun 2010 18:18:18 +0100, Jamie Lokier wrote: > > Kevin Wolf wrote: > > Am 16.06.2010 18:52, schrieb MORITA Kazutaka: > > > At Wed, 16 Jun 2010 13:04:47 +0200, > > > Kevin Wolf wrote: > > >> > > >> Am 15.06.2010 19:53, schrieb MORITA Kazutaka: > > >>> posix-aio-compat sends a signal in a

[Qemu-devel] [Bug 595438] Re: KVM segmentation fault, using SCSI+writeback and linux 2.4 guest

2010-06-17 Thread Коренберг Марк
** Description changed: - I Use Ubuntu 32 bit 10.04 with standerd kvm. - I have E7600 @ 3.06GHz processor with VMX + I Use Ubuntu 32 bit 10.04 with standard KVM. + I have Intel E7600 @ 3.06GHz processor with VMX In this system I Run: LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/

[Qemu-devel] [PATCH v2] pci: fix pci domain registering.

2010-06-17 Thread Isaku Yamahata
Only pci host bus must be registered as root bus. Signed-off-by: Isaku Yamahata --- Changes v1 -> v2 - rebased to head. --- hw/pci.c |8 ++-- hw/pci.h |1 + hw/piix_pci.c |1 + 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/hw/pci.c b/hw/pci.c index 778

<    1   2