Re: [Qemu-devel] [RFC][PATCH 0/21] QEMU Object Model

2011-07-28 Thread Anthony Liguori
On 07/28/2011 09:41 AM, Paolo Bonzini wrote: On 07/28/2011 04:03 PM, Anthony Liguori wrote: No doubt about that. :) I'd put a lot more hope into Goldfish though. What's unclear to me about the Goldfish enumerator is whether it should be filled out through interaction with hardware devices or v

Re: [Qemu-devel] RFC: moving fsfreeze support from the userland guest agent to the guest kernel

2011-07-28 Thread Michael Roth
On 07/28/2011 03:03 AM, Andrea Arcangeli wrote: On Thu, Jul 28, 2011 at 11:53:50AM +0900, Fernando Luis Vázquez Cao wrote: On Wed, 2011-07-27 at 17:24 +0200, Andrea Arcangeli wrote: making sure no lib is calling any I/O function to be able to defreeze the filesystems later, making sure the oom

[Qemu-devel] [PATCH] net: fix default MAC assignment for hotplugged NICs

2011-07-28 Thread Marcelo Tosatti
The index for assignment of default MAC address is duplicated: qemu_macaddr_default_if_unset has its own variable and net_init_nic uses the nic table index. This leads to assignment of same MAC addresses to NICs initialized via command line and hotplugged ones. Fix by not assigning default MAC a

Re: [Qemu-devel] [RFC] Introduce vm_stop_permanent()

2011-07-28 Thread Luiz Capitulino
On Thu, 28 Jul 2011 16:19:19 +0200 Jan Kiszka wrote: > On 2011-07-28 15:37, Avi Kivity wrote: > > On 07/28/2011 04:31 PM, Luiz Capitulino wrote: > >> On Thu, 28 Jul 2011 10:23:22 +0300 > >> Avi Kivity wrote: > >> > >> > On 07/28/2011 12:44 AM, Blue Swirl wrote: > >> > > On Wed, Jul 27, 2011 a

Re: [Qemu-devel] [RFC] Introduce vm_stop_permanent()

2011-07-28 Thread Jan Kiszka
On 2011-07-28 17:18, Luiz Capitulino wrote: > On Thu, 28 Jul 2011 16:19:19 +0200 > Jan Kiszka wrote: > >> On 2011-07-28 15:37, Avi Kivity wrote: >>> On 07/28/2011 04:31 PM, Luiz Capitulino wrote: On Thu, 28 Jul 2011 10:23:22 +0300 Avi Kivity wrote: > On 07/28/2011 12:44 AM, B

Re: [Qemu-devel] [PATCH] net: fix default MAC assignment for hotplugged NICs

2011-07-28 Thread Peter Maydell
On 28 July 2011 16:12, Marcelo Tosatti wrote: > > The index for assignment of default MAC address is duplicated: > qemu_macaddr_default_if_unset has its own variable and net_init_nic uses > the nic table index. Isn't this already fixed by commit 6eed18568d ? -- PMM

Re: [Qemu-devel] mips-linux-user and POSIX IPC

2011-07-28 Thread Riku Voipio
On Tue, Jul 26, 2011 at 08:56:38AM +, Holger Freyther wrote: > For semctl qemu enters through the do_ipc method, it appears > to be that the 'variable' ptr is really a ptr (to the stack) and > needs to be dereferenced. The below snippet seems to fix that > issue for me. > My next problem is w

Re: [Qemu-devel] [PATCH] net: fix default MAC assignment for hotplugged NICs

2011-07-28 Thread Marcelo Tosatti
On Thu, Jul 28, 2011 at 04:22:09PM +0100, Peter Maydell wrote: > On 28 July 2011 16:12, Marcelo Tosatti wrote: > > > > The index for assignment of default MAC address is duplicated: > > qemu_macaddr_default_if_unset has its own variable and net_init_nic uses > > the nic table index. > > Isn't thi

Re: [Qemu-devel] RFC: moving fsfreeze support from the userland guest agent to the guest kernel

2011-07-28 Thread Michael Roth
On 07/28/2011 03:54 AM, Jes Sorensen wrote: On 07/27/11 18:40, Andrea Arcangeli wrote: Another thing to note is that snapshotting is not necessarily something that should be completely transparent to the guest. One of the planned future features for the guest agent (mentioned in the snapshot wi

Re: [Qemu-devel] [PATCH 08/15] qmp: add block_stream command

2011-07-28 Thread Marcelo Tosatti
On Wed, Jul 27, 2011 at 02:44:48PM +0100, Stefan Hajnoczi wrote: > For leaf images with copy-on-read semantics, the stream command allows > the user to populate the image file by copying data from the backing > file while the guest is running. Once all blocks have been streamed, > the dependency o

Re: [Qemu-devel] [PATCH 08/15] qmp: add block_stream command

2011-07-28 Thread Stefan Hajnoczi
On Thu, Jul 28, 2011 at 4:53 PM, Marcelo Tosatti wrote: > On Wed, Jul 27, 2011 at 02:44:48PM +0100, Stefan Hajnoczi wrote: >> For leaf images with copy-on-read semantics, the stream command allows >> the user to populate the image file by copying data from the backing >> file while the guest is ru

[Qemu-devel] Log in to the OS through qemu

2011-07-28 Thread bala suru
Hi, I have installed OS on VMs (KVM-Qemu) , one version is ttylinux 9.0 and other is ttylinux 12 . I have installed these two with opennebula tool kit . generally I try to login to the OS using SSH , since ttylinux 12 needs to enable the ethernet after logged in to the OS, how to login to the O

Re: [Qemu-devel] [RFC][PATCH 0/21] QEMU Object Model

2011-07-28 Thread Paolo Bonzini
On 07/28/2011 05:04 PM, Anthony Liguori wrote: The only way I can see is to teach each device about this interface and then have a common bus. That implies that you have: class GoldfishEnumerator : public Device { GoldfishDevice *slots[N]; FWIW, there's no hardcoded limit in the interfa

Re: [Qemu-devel] [PATCH] add QEMU_LD_PREFIX environment variable

2011-07-28 Thread Geert Stappers
On Thu, Jul 28, 2011 at 01:24:47PM +0200, Johannes Schauer wrote: > > @Geert Stappers: > > you are patching bsd-user/main.c and darwin-user/main.c as well. I take > it that you did test your changes on those platforms? does it work there > as well? I have no clue of darwin but is it really useful

Re: [Qemu-devel] [PATCH] add QEMU_LD_PREFIX environment variable

2011-07-28 Thread Alexander Graf
On 28.07.2011, at 18:50, Geert Stappers wrote: > On Thu, Jul 28, 2011 at 01:24:47PM +0200, Johannes Schauer wrote: >> >> @Geert Stappers: >> >> you are patching bsd-user/main.c and darwin-user/main.c as well. I take >> it that you did test your changes on those platforms? does it work there >>

Re: [Qemu-devel] [RFC] Introduce vm_stop_permanent()

2011-07-28 Thread Luiz Capitulino
On Thu, 28 Jul 2011 17:20:41 +0200 Jan Kiszka wrote: > On 2011-07-28 17:18, Luiz Capitulino wrote: > > On Thu, 28 Jul 2011 16:19:19 +0200 > > Jan Kiszka wrote: > > > >> On 2011-07-28 15:37, Avi Kivity wrote: > >>> On 07/28/2011 04:31 PM, Luiz Capitulino wrote: > On Thu, 28 Jul 2011 10:23:2

Re: [Qemu-devel] Log in to the OS through qemu

2011-07-28 Thread Mulyadi Santosa
On Thu, Jul 28, 2011 at 23:19, bala suru wrote: > Hi, > I have installed OS on VMs (KVM-Qemu) , one version is ttylinux 9.0 and > other is ttylinux 12 . > > I have installed these two with opennebula tool kit .  generally I try  to > login to the OS using SSH , since ttylinux 12 needs to enable th

Re: [Qemu-devel] [RFC] Introduce vm_stop_permanent()

2011-07-28 Thread Luiz Capitulino
On Thu, 28 Jul 2011 14:39:23 -0300 Luiz Capitulino wrote: > On Thu, 28 Jul 2011 17:20:41 +0200 > Jan Kiszka wrote: > > > On 2011-07-28 17:18, Luiz Capitulino wrote: > > > On Thu, 28 Jul 2011 16:19:19 +0200 > > > Jan Kiszka wrote: > > > > > >> On 2011-07-28 15:37, Avi Kivity wrote: > > >>> On

Re: [Qemu-devel] [RFC] Introduce vm_stop_permanent()

2011-07-28 Thread Jan Kiszka
On 2011-07-28 19:48, Luiz Capitulino wrote: > On Thu, 28 Jul 2011 14:39:23 -0300 > Luiz Capitulino wrote: > >> On Thu, 28 Jul 2011 17:20:41 +0200 >> Jan Kiszka wrote: >> >>> On 2011-07-28 17:18, Luiz Capitulino wrote: On Thu, 28 Jul 2011 16:19:19 +0200 Jan Kiszka wrote: > On

Re: [Qemu-devel] [RFC][PATCH 0/21] QEMU Object Model

2011-07-28 Thread Anthony Liguori
On 07/28/2011 10:47 AM, Paolo Bonzini wrote: On 07/28/2011 05:04 PM, Anthony Liguori wrote: The only way I can see is to teach each device about this interface and then have a common bus. That implies that you have: class GoldfishEnumerator : public Device { GoldfishDevice *slots[N]; FWIW, th

Re: [Qemu-devel] [RFC] Introduce vm_stop_permanent()

2011-07-28 Thread Luiz Capitulino
On Thu, 28 Jul 2011 19:52:31 +0200 Jan Kiszka wrote: > On 2011-07-28 19:48, Luiz Capitulino wrote: > > On Thu, 28 Jul 2011 14:39:23 -0300 > > Luiz Capitulino wrote: > > > >> On Thu, 28 Jul 2011 17:20:41 +0200 > >> Jan Kiszka wrote: > >> > >>> On 2011-07-28 17:18, Luiz Capitulino wrote: >

Re: [Qemu-devel] [RFC] Introduce vm_stop_permanent()

2011-07-28 Thread Jan Kiszka
On 2011-07-28 20:00, Luiz Capitulino wrote: > On Thu, 28 Jul 2011 19:52:31 +0200 > Jan Kiszka wrote: > >> On 2011-07-28 19:48, Luiz Capitulino wrote: >>> On Thu, 28 Jul 2011 14:39:23 -0300 >>> Luiz Capitulino wrote: >>> On Thu, 28 Jul 2011 17:20:41 +0200 Jan Kiszka wrote: > O

Re: [Qemu-devel] [RFC] Introduce vm_stop_permanent()

2011-07-28 Thread Luiz Capitulino
On Thu, 28 Jul 2011 20:04:58 +0200 Jan Kiszka wrote: > On 2011-07-28 20:00, Luiz Capitulino wrote: > > On Thu, 28 Jul 2011 19:52:31 +0200 > > Jan Kiszka wrote: > > > >> On 2011-07-28 19:48, Luiz Capitulino wrote: > >>> On Thu, 28 Jul 2011 14:39:23 -0300 > >>> Luiz Capitulino wrote: > >>> > >>>

Re: [Qemu-devel] [PATCH 1/2] pflash: Support read-only mode

2011-07-28 Thread Jan Kiszka
On 2011-07-27 17:38, Jordan Justen wrote: > On Wed, Jul 27, 2011 at 02:30, Jan Kiszka wrote: >> On 2011-07-25 23:34, Jordan Justen wrote: >>> Read-only mode is indicated by bdrv_is_read_only >>> >>> When read-only mode is enabled, no changes will be made >>> to the flash image in memory, and no bd

Re: [Qemu-devel] [RFC] Introduce vm_stop_permanent()

2011-07-28 Thread Alon Levy
On Thu, Jul 28, 2011 at 03:22:52PM -0300, Luiz Capitulino wrote: > On Thu, 28 Jul 2011 20:04:58 +0200 > Jan Kiszka wrote: > > > On 2011-07-28 20:00, Luiz Capitulino wrote: > > > On Thu, 28 Jul 2011 19:52:31 +0200 > > > Jan Kiszka wrote: > > > > > >> On 2011-07-28 19:48, Luiz Capitulino wrote: >

Re: [Qemu-devel] [PATCH 1/2] pflash: Support read-only mode

2011-07-28 Thread Jordan Justen
On Thu, Jul 28, 2011 at 11:26, Jan Kiszka wrote: > On 2011-07-27 17:38, Jordan Justen wrote: >> On Wed, Jul 27, 2011 at 02:30, Jan Kiszka wrote: >>> On 2011-07-25 23:34, Jordan Justen wrote: Read-only mode is indicated by bdrv_is_read_only When read-only mode is enabled, no changes

Re: [Qemu-devel] RFC: moving fsfreeze support from the userland guest agent to the guest kernel

2011-07-28 Thread Fernando Luis Vazquez Cao
Michael Roth さんは書きました: On 07/28/2011 03:03 AM, Andrea Arcangeli wrote: On Thu, Jul 28, 2011 at 11:53:50AM +0900, Fernando Luis Vázquez Cao wrote: On Wed, 2011-07-27 at 17:24 +0200, Andrea Arcangeli wrote: making sure no lib is calling any I/O function to be able to defreeze the filesystems lat

Re: [Qemu-devel] [PATCH v2] pci: Common overflow prevention

2011-07-28 Thread Isaku Yamahata
On Thu, Jul 28, 2011 at 11:40:21AM +0300, Michael S. Tsirkin wrote: > I don't see a problem with this, but could you please clarify when does > this happen? I think this is only possible for a pci device > behind an express root. If so, this belongs in pcie_host.c > > I'd also like this info to be

Re: [Qemu-devel] [PATCH] fix disabling interrupts in sun4u

2011-07-28 Thread tsnsaito
At Thu, 28 Jul 2011 16:44:23 +0200, Artyom Tarasenko wrote: > On Thu, Jul 28, 2011 at 3:40 PM, wrote: > > At Thu, 28 Jul 2011 14:50:57 +0200, > > Artyom Tarasenko wrote: > >> On Thu, Jul 28, 2011 at 2:03 PM,   wrote: > >> > At Thu, 28 Jul 2011 13:51:08 +0200, > >> > Artyom Tarasenko wrote: > >> >

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

2011-07-28 Thread Serge Hallyn
** Changed in: kvm Status: Confirmed => Invalid -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/595438 Title: KVM segmentation fault, using SCSI+writeback and linux 2.4 guest Status in Kernel

Re: [Qemu-devel] [PATCH 1/6] VMDK: enable twoGbMaxExtentFlat

2011-07-28 Thread Fam Zheng
Sorry, I missed one line in this patch. Will fix it in V2. On Wed, Jul 27, 2011 at 5:27 PM, Fam Zheng wrote: > Enable the createType 'twoGbMaxExtentFlat'. The supporting code is > already in. > > Signed-off-by: Fam Zheng > --- >  block/vmdk.c |    3 ++- >  1 files changed, 2 insertions(+), 1 del

Re: [Qemu-devel] [PATCH] v6 revamp acpitable parsing and allow to specify complete (headerful) table

2011-07-28 Thread Isaku Yamahata
On Fri, Jul 15, 2011 at 07:51:43PM +0300, Blue Swirl wrote: > On Fri, Jul 15, 2011 at 6:18 PM, John Baboval > wrote: > > Is there something I can do to help take this patch the rest of the way? > > > > I'd hate to see it die because of a style issue and a compiler warning. > > There's also suspic

Re: [Qemu-devel] [PATCH v2 1/1] The codes V2 for QEMU disk I/O limits.

2011-07-28 Thread Zhi Yong Wu
On Thu, Jul 28, 2011 at 10:42 PM, Marcelo Tosatti wrote: > On Thu, Jul 28, 2011 at 12:24:48PM +0800, Zhi Yong Wu wrote: >> On Wed, Jul 27, 2011 at 11:49 PM, Marcelo Tosatti >> wrote: >> > On Wed, Jul 27, 2011 at 06:17:15PM +0800, Zhi Yong Wu wrote: >> >> >> +        wait_time = 1; >> >> >> +    

[Qemu-devel] 0.15 testing, spice, wxp

2011-07-28 Thread Rick Vernam
I'd like to do some very high-level testing of qemu-stable-0.15 (qemu-system- x86_64, specifically) running Linux host, Windows XP SP3 guest. I'm afraid that I don't have a ready environment for building the windows guest bits, and the added time requirement simply puts it over the top for me. Are

[Qemu-devel] [RFC 00/24] inplace image conversion

2011-07-28 Thread Devin Nakamura
This series sets out the foundations of an api for in place image conversion, and implements it in the QED and QCOW2 drivers. The basic flow of conversion is as follows: The source image is openened as normal. The source file is the queried for conversion options via bdrv_get_conversion_option

[Qemu-devel] [RFC 01/24] block: add block conversion api

2011-07-28 Thread Devin Nakamura
add functions to block driver interface to support inplace image conversion Signed-off-by: Devin Nakamura --- block.h |2 + block_int.h | 88 +++ 2 files changed, 90 insertions(+), 0 deletions(-) diff --git a/block.h b/block.h in

[Qemu-devel] [RFC 03/24] block: add bdrv_open_conversion_target()

2011-07-28 Thread Devin Nakamura
Conflicts: block.h Signed-off-by: Devin Nakamura --- block.c | 32 block.h |4 2 files changed, 36 insertions(+), 0 deletions(-) diff --git a/block.c b/block.c index 4503b7b..9530577 100644 --- a/block.c +++ b/block.c @@ -3038,6 +3038,38 @@ o

[Qemu-devel] [RFC 02/24] block: add bdrv_get_conversion_options()

2011-07-28 Thread Devin Nakamura
Signed-off-by: Devin Nakamura --- block.c | 13 + block.h |2 ++ 2 files changed, 15 insertions(+), 0 deletions(-) diff --git a/block.c b/block.c index 9549b9e..4503b7b 100644 --- a/block.c +++ b/block.c @@ -3037,3 +3037,16 @@ out: return ret; } + +int bdrv_get_convers

[Qemu-devel] [RFC 11/24] qed: add open_conversion_target()

2011-07-28 Thread Devin Nakamura
Signed-off-by: Devin Nakamura --- block/qed.c | 86 +++--- 1 files changed, 69 insertions(+), 17 deletions(-) diff --git a/block/qed.c b/block/qed.c index daf82fd..b05224a 100644 --- a/block/qed.c +++ b/block/qed.c @@ -1451,6 +1451,57 @@ sta

[Qemu-devel] [RFC 16/24] qcow2: add qcow2_drop_leaked_clusters()

2011-07-28 Thread Devin Nakamura
Signed-off-by: Devin Nakamura --- block/qcow2-refcount.c | 34 ++ block/qcow2.h |2 ++ 2 files changed, 36 insertions(+), 0 deletions(-) diff --git a/block/qcow2-refcount.c b/block/qcow2-refcount.c index 75f1f88..2f78a71 100644 --- a/block/qcow2-re

[Qemu-devel] [RFC 18/24] qcow2: add qcow2_map

2011-07-28 Thread Devin Nakamura
Signed-off-by: Devin Nakamura --- block/qcow2-cluster.c | 49 + block/qcow2.c |1 + block/qcow2.h |3 +++ 3 files changed, 53 insertions(+), 0 deletions(-) diff --git a/block/qcow2-cluster.c b/block/qcow2-cluster.c index

[Qemu-devel] [RFC 19/24] qcow2: add qcow2_copy_header()

2011-07-28 Thread Devin Nakamura
Signed-off-by: Devin Nakamura --- block/qcow2.c | 54 ++ 1 files changed, 54 insertions(+), 0 deletions(-) diff --git a/block/qcow2.c b/block/qcow2.c index b75364d..3bb28d2 100644 --- a/block/qcow2.c +++ b/block/qcow2.c @@ -1374,6 +1374,59 @

[Qemu-devel] [RFC 23/24] qemu-io: add setmap command

2011-07-28 Thread Devin Nakamura
Signed-off-by: Devin Nakamura --- qemu-io.c | 24 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/qemu-io.c b/qemu-io.c index caf51fe..a49f62a 100644 --- a/qemu-io.c +++ b/qemu-io.c @@ -1601,6 +1601,29 @@ static const cmdinfo_t map_cmd = { }; +stat

[Qemu-devel] [RFC 24/24] qemu-img: add inplace conversion to qemu-img

2011-07-28 Thread Devin Nakamura
Signed-off-by: Devin Nakamura --- Makefile |2 + qemu-img-cmds.hx |6 + qemu-img.c | 64 ++ 3 files changed, 72 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index daa3aa0..243c818 100644 --- a/Make

[Qemu-devel] [RFC 08/24] qed: add qed_find_cluster_sync()

2011-07-28 Thread Devin Nakamura
Signed-off-by: Devin Nakamura --- block/qed-cluster.c | 35 +++ block/qed.h |4 2 files changed, 39 insertions(+), 0 deletions(-) diff --git a/block/qed-cluster.c b/block/qed-cluster.c index 3e19ad1..063b965 100644 --- a/block/qed-cluster.c +++

[Qemu-devel] [RFC 17/24] qcow2: add qcow2_get_mapping

2011-07-28 Thread Devin Nakamura
Signed-off-by: Devin Nakamura --- block/qcow2.c | 36 1 files changed, 36 insertions(+), 0 deletions(-) diff --git a/block/qcow2.c b/block/qcow2.c index 48e1b95..05ea40c 100644 --- a/block/qcow2.c +++ b/block/qcow2.c @@ -1340,6 +1340,40 @@ static int qcow2

Re: [Qemu-devel] [PATCH v2] pci: Common overflow prevention

2011-07-28 Thread Michael S. Tsirkin
On Fri, Jul 29, 2011 at 10:01:43AM +0900, Isaku Yamahata wrote: > On Thu, Jul 28, 2011 at 11:40:21AM +0300, Michael S. Tsirkin wrote: > > I don't see a problem with this, but could you please clarify when does > > this happen? I think this is only possible for a pci device > > behind an express roo

[Qemu-devel] [RFC 22/24] qemu-io: make map command use new block mapping function

2011-07-28 Thread Devin Nakamura
bdrv_get_mapping will be used when it is defined, otherwise default to old behaviour. Signed-off-by: Devin Nakamura --- qemu-io.c | 23 ++- 1 files changed, 22 insertions(+), 1 deletions(-) diff --git a/qemu-io.c b/qemu-io.c index a553d0c..caf51fe 100644 --- a/qemu-io.c ++

[Qemu-devel] [RFC 07/24] qed: make qed_alloc_clusters round up offset to nearest cluster

2011-07-28 Thread Devin Nakamura
Signed-off-by: Devin Nakamura --- block/qed.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/block/qed.c b/block/qed.c index 3970379..00cf895 100644 --- a/block/qed.c +++ b/block/qed.c @@ -263,6 +263,9 @@ static int qed_read_string(BlockDriverState *file, uint64_t of

[Qemu-devel] [RFC 06/24] block: add bdrv_copy_header()

2011-07-28 Thread Devin Nakamura
Signed-off-by: Devin Nakamura --- block.c | 12 block.h |2 ++ 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/block.c b/block.c index 98a9491..28b4418 100644 --- a/block.c +++ b/block.c @@ -3125,3 +3125,15 @@ int bdrv_map(BlockDriverState *bs, uint64_t *guest

[Qemu-devel] [RFC 05/24] block: add bdrv_map()

2011-07-28 Thread Devin Nakamura
Signed-off-by: Devin Nakamura --- block.c | 14 ++ block.h |2 ++ 2 files changed, 16 insertions(+), 0 deletions(-) diff --git a/block.c b/block.c index d0019c4..98a9491 100644 --- a/block.c +++ b/block.c @@ -3111,3 +3111,17 @@ int bdrv_get_mapping(BlockDriverState *bs, uint64

[Qemu-devel] [RFC 13/24] qed: add bdrv_qed_get_conversion_options()

2011-07-28 Thread Devin Nakamura
Signed-off-by: Devin Nakamura --- block/qed.c | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/block/qed.c b/block/qed.c index 556512b..26e43e2 100644 --- a/block/qed.c +++ b/block/qed.c @@ -1594,6 +1594,18 @@ static int bdrv_qed_copy_header(BlockDriverState

[Qemu-devel] [RFC 15/24] qcow2: split up the creation of new refcount table from the act of checking it

2011-07-28 Thread Devin Nakamura
Signed-off-by: Devin Nakamura --- block/qcow2-refcount.c | 39 +-- 1 files changed, 29 insertions(+), 10 deletions(-) diff --git a/block/qcow2-refcount.c b/block/qcow2-refcount.c index 14b2f67..75f1f88 100644 --- a/block/qcow2-refcount.c +++ b/block/qcow2-r

[Qemu-devel] [RFC 04/24] block: add bdrv_get_mapping()

2011-07-28 Thread Devin Nakamura
Conflicts: block.h Signed-off-by: Devin Nakamura --- block.c | 29 + block.h |2 ++ 2 files changed, 31 insertions(+), 0 deletions(-) diff --git a/block.c b/block.c index 9530577..d0019c4 100644 --- a/block.c +++ b/block.c @@ -3082,3 +3082,32 @@ int bd

Re: [Qemu-devel] [PATCH] v6 revamp acpitable parsing and allow to specify complete (headerful) table

2011-07-28 Thread Michael Tokarev
29.07.2011 05:49, Isaku Yamahata wrote: > On Fri, Jul 15, 2011 at 07:51:43PM +0300, Blue Swirl wrote: >> On Fri, Jul 15, 2011 at 6:18 PM, John Baboval >> wrote: >>> Is there something I can do to help take this patch the rest of the way? >>> >>> I'd hate to see it die because of a style issue and

[Qemu-devel] [RFC 14/24] qcow2: fix typo in documentation for qcow2_get_cluster_offset()

2011-07-28 Thread Devin Nakamura
Documentation states the num is measured in clusters, but its actually measured in sectors Signed-off-by: Devin Nakamura --- block/qcow2-cluster.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/block/qcow2-cluster.c b/block/qcow2-cluster.c index 882f50a..ca56918 1006

[Qemu-devel] [RFC 20/24] qcow2: add get_conversion_options()

2011-07-28 Thread Devin Nakamura
Signed-off-by: Devin Nakamura --- block/qcow2.c | 24 +--- 1 files changed, 21 insertions(+), 3 deletions(-) diff --git a/block/qcow2.c b/block/qcow2.c index 3bb28d2..86df65d 100644 --- a/block/qcow2.c +++ b/block/qcow2.c @@ -1427,6 +1427,23 @@ static int qcow2_copy_header

[Qemu-devel] [RFC 12/24] qed: add bdrv_qed_copy_header()

2011-07-28 Thread Devin Nakamura
Signed-off-by: Devin Nakamura --- block/qed.c | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/block/qed.c b/block/qed.c index b05224a..556512b 100644 --- a/block/qed.c +++ b/block/qed.c @@ -1579,6 +1579,21 @@ static int bdrv_qed_map(BlockDriverState *bs,

[Qemu-devel] [RFC 10/24] qed: add qed_bdrv_map()

2011-07-28 Thread Devin Nakamura
Conflicts: block_int.h Signed-off-by: Devin Nakamura --- block.c |4 ++-- block.h |4 ++-- block/qed.c | 47 +++ 3 files changed, 51 insertions(+), 4 deletions(-) diff --git a/block.c b/block.c index 28b4418..dca3687 100644

[Qemu-devel] [RFC 21/24] qcow2: add qcow2_open_conversion_target()

2011-07-28 Thread Devin Nakamura
Still in very raw form. Not likely to work yet Signed-off-by: Devin Nakamura --- block/qcow2.c | 124 + 1 files changed, 124 insertions(+), 0 deletions(-) diff --git a/block/qcow2.c b/block/qcow2.c index 86df65d..f1e1e12 100644 --- a/blo

Re: [Qemu-devel] Log in to the OS through qemu

2011-07-28 Thread bala suru
Hi, can tell me how to set-up th SDL window for the qemu ..? On Thu, Jul 28, 2011 at 11:17 PM, Mulyadi Santosa wrote: > On Thu, Jul 28, 2011 at 23:19, bala suru wrote: > > Hi, > > I have installed OS on VMs (KVM-Qemu) , one version is ttylinux 9.0 and > > other is ttylinux 12 . > > > > I have

[Qemu-devel] [RFC 09/24] qed: add qed_bdrv_get_mapping()

2011-07-28 Thread Devin Nakamura
Fuction to get drive mapping from qed images Signed-off-by: Devin Nakamura --- block/qed.c | 32 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/block/qed.c b/block/qed.c index 00cf895..dadb7f8 100644 --- a/block/qed.c +++ b/block/qed.c @@ -1451

<    1   2