At 01/12/2012 09:49 PM, Luiz Capitulino Wrote:
> On Wed, 11 Jan 2012 08:59:24 +0800
> Wen Congyang wrote:
>
>> At 01/10/2012 09:30 PM, Luiz Capitulino Wrote:
>>> On Wed, 04 Jan 2012 14:11:01 +0800
>>> Wen Congyang wrote:
>>>
Signed-off-by: Wen Congyang
---
Makefile.target |8
On 13 January 2012 07:55, 陳韋任 wrote:
> On Thu, Jan 12, 2012 at 02:00:38PM +, Peter Maydell wrote:
>> When doing TCG code translation, the target-foo translate.c
>> code is allowed to bake assumptions into the generated code from
>> the current values of various fields in the CPUState. This the
From: "Aneesh Kumar K.V"
Some Fsdriver backend don't have fs_root. So check for that in
migrate message.
Signed-off-by: Aneesh Kumar K.V
---
hw/9pfs/virtio-9p.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c
index e6ba6ba..df
On Thu, Jan 12, 2012 at 03:45:59PM +0100, Paolo Bonzini wrote:
> On 01/12/2012 11:43 AM, Hannes Reinecke wrote:
> >+# hw/megasas.c
> >+disable megasas_init_firmware(int xfer_len, uint64_t pa) "xfer len %d pa %"
> >PRIx64 " "
> >+disable megasas_init_queue(uint64_t queue_pa, int queue_len, uint64_t
On 2012-01-13 04:09, Andreas Färber wrote:
> Speaker I/O, ISA bus, i8259 PIC, RTC and DMA are no longer set up
> individually by the machine. Effectively, no-op speaker I/O is replaced
> by pcspk; PIT and i82374 DMA are introduced.
>
> Signed-off-by: Hervé Poussineau
>
> Remove related dead, alt
On Thu, Jan 12, 2012 at 02:00:38PM +, Peter Maydell wrote:
> When doing TCG code translation, the target-foo translate.c
> code is allowed to bake assumptions into the generated code from
> the current values of various fields in the CPUState. This then
> imposes the requirement that if the fie
Add query-block-jobs, which shows the progress of ongoing block device
operations.
Signed-off-by: Stefan Hajnoczi
---
blockdev.c | 33 +
hmp.c| 36
hmp.h|1 +
monitor.c|7 ++
When qemu-nbd becomes a daemon it calls daemon(3) with
nochdir=0, so daemon(3) changes current directory to /.
But at this time, qemu-nbd did not open any user-specified
files yet, so by changing current directory, all non-absolute
paths becomes wrong. The solution is to pass nochdir=1 to
daemon(3
Yes we plan to release patch as soon as we cleaned up the code and we
get the green light from our company ( and sadly it can take month on
that point..)
On 13 January 2012 01:31, Takuya Yoshikawa
wrote:
> (2012/01/13 10:09), Benoit Hudzia wrote:
>>
>> Hi,
>>
>> Sorry to jump to hijack the thread
python test-stream.py
Signed-off-by: Stefan Hajnoczi
---
test-stream.py | 208
1 files changed, 208 insertions(+), 0 deletions(-)
create mode 100644 test-stream.py
diff --git a/test-stream.py b/test-stream.py
new file mode 100644
index
On 01/12/2012 07:04 PM, Stefan Hajnoczi wrote:
> On Thu, Jan 12, 2012 at 03:45:59PM +0100, Paolo Bonzini wrote:
>> On 01/12/2012 11:43 AM, Hannes Reinecke wrote:
>>> +# hw/megasas.c
>>> +disable megasas_init_firmware(int xfer_len, uint64_t pa) "xfer len %d pa
>>> %" PRIx64 " "
>>> +disable megasas
On 13 January 2012 02:03, Isaku Yamahata wrote:
> Very interesting. We can cooperate for better (postcopy) live migration.
> The code doesn't seem available yet, I'm eager for it.
>
>
> On Fri, Jan 13, 2012 at 01:09:30AM +, Benoit Hudzia wrote:
>> Hi,
>>
>> Sorry to jump to hijack the thread
On 13 January 2012 02:15, Isaku Yamahata wrote:
> One more question.
> Does your architecture/implementation (in theory) allow KVM memory
> features like swap, KSM, THP?
* Swap: Yes we support swap to disk ( the page is pulled from swap
before being send over), swap process do its job on the othe
Dong Xu Wang writes:
> After applied this patch, while I was compiling on my lap, there will
> be an error:
>
> ./configure --enable-kvm --target-list=x86_64-softmmu && make
> CCx86_64-softmmu/translate.o
> /qemu/target-i386/translate.c: In function ‘disas_insn’:
> /qemu/target-i386/translat
When a device is removed, remove the association with a chardev, if any,
so that the chardev can be re-used later for other devices.
Reported-by: Qunfang Zhang
Fix-suggested-by: Markus Armbruster
Signed-off-by: Amit Shah
---
hw/qdev-properties.c | 11 +++
1 files changed, 11 insertio
When the device is going away (e.g., hot-unplug), an associated
chardev should be freed and made available for use for other devices.
An earlier hack did this for virtio serial ports, do it in a generic
way and remove the virtio-serial specific hack.
Amit Shah (2):
qdev: Add a 'free' method to
qdev is now equipped (thanks to the last commit) to disassociate
chardevs from the qdev devices on the devices going away. So doing it
in the virtio-console driver is not necessary.
Since that was the only thing being done in the qdev exit method, drop
it entirely.
Signed-off-by: Amit Shah
---
On (Fri) 13 Jan 2012 [15:24:59], Amit Shah wrote:
> qdev is now equipped (thanks to the last commit) to disassociate
> chardevs from the qdev devices on the devices going away. So doing it
> in the virtio-console driver is not necessary.
>
> Since that was the only thing being done in the qdev ex
When the device is going away (e.g., hot-unplug), an associated
chardev should be freed and made available for use for other devices.
An earlier hack did this for virtio serial ports, do it in a generic
way and remove the virtio-serial specific hack.
v2:
- actually remove virtconsole_exitfn()
A
device_del is broken for me in master:
$ qemu-system-x86_64 -nodefaults -S -m 384 -vnc :0 -monitor stdio -usb
QEMU 1.0.50 monitor - type 'help' for more information
(qemu) device_add usb-mouse,id=foo
(qemu) device_del foo
Device 'foo' is in use
Same for any hot-pluggable device I tried, with and
When a device is removed, remove the association with a chardev, if any,
so that the chardev can be re-used later for other devices.
Reported-by: Qunfang Zhang
Fix-suggested-by: Markus Armbruster
Signed-off-by: Amit Shah
---
hw/qdev-properties.c | 11 +++
1 files changed, 11 insertio
qdev is now equipped (thanks to the last commit) to disassociate
chardevs from the qdev devices on the devices going away. So doing it
in the virtio-console driver is not necessary.
Since that was the only thing being done in the qdev exit method, drop
it entirely.
Signed-off-by: Amit Shah
---
On 01/13/2012 10:46 AM, Hannes Reinecke wrote:
So, I should be removing the 'disable' keyword, then, correct?
Yes.
The strings are just there to avoid trace statement duplication. But
if that's not a problem then I can easily convert the strings to
individual trace statements.
No, don't bot
The following changes since commit bee5a5fb11de34aa422cfc830adbd51cfc8f5b55:
cris: Update paths to match the move of tests/cris (2012-01-13 11:09:56 +0100)
are available in the git repository at:
git://github.com/stefanha/qemu.git trivial-patches
Aurelien Jarno (1):
tcg-arm: fix a typo
The no-lock-key-sync option is being parsed incorrectly because of an
outdated strcmp() length value. Use the correct length so that invalid
option names do not match.
Reported-by: Dr David Alan Gilbert
Signed-off-by: Stefan Hajnoczi
---
ui/vnc.c |2 +-
1 files changed, 1 insertions(+), 1
From: Stefan Weil
Codespell detected these new spelling issues.
Signed-off-by: Stefan Weil
Signed-off-by: Stefan Hajnoczi
---
docs/writing-qmp-commands.txt |2 +-
memory.h |4 ++--
qemu-ga.c |2 +-
3 files changed, 4 insertions(+), 4 deleti
From: Aurelien Jarno
ARM still doesn't support 16GB buffers in 32-bit modes, replace the
16GB by 16MB in the comment.
Reviewed-by: Peter Maydell
Signed-off-by: Aurelien Jarno
Signed-off-by: Stefan Hajnoczi
---
exec.c |2 +-
tcg/arm/tcg-target.c |2 +-
2 files changed, 2
From: Stefan Weil
Reversing the order of the warning options and -Werror is important
when clang is used instead of gcc. It changes nothing for gcc.
Signed-off-by: Stefan Weil
Signed-off-by: Stefan Hajnoczi
---
configure |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git
Reported-by: Dr David Alan Gilbert
Signed-off-by: Stefan Hajnoczi
---
block/vvfat.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/block/vvfat.c b/block/vvfat.c
index eeffc4a..9ef21dd 100644
--- a/block/vvfat.c
+++ b/block/vvfat.c
@@ -2218,6 +2218,7 @@ static int comm
From: Stefan Weil
The common standard include files are already included via qemu-common.h,
and for the socket related include files there is qemu_socket.h, so the
code can be reduced by some lines.
Signed-off-by: Stefan Weil
Signed-off-by: Stefan Hajnoczi
---
fsdev/virtfs-proxy-helper.c |
The RFBI_READ/RFBI_STATUS code incorrectly uses chip[0] when it should
be using chip[1]. Andrzej Zaborowski confirmed this
bug since I don't know this code well.
Reported-by: Dr David Alan Gilbert
Reviewed-by: Andrzej Zaborowski
Signed-off-by: Stefan Hajnoczi
---
hw/omap_dss.c |4 ++--
1
From: Stefan Weil
Every function with printf like arguments must have it
(see file HACKING), so add it.
Signed-off-by: Stefan Weil
Signed-off-by: Stefan Hajnoczi
---
fsdev/virtfs-proxy-helper.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fsdev/virtfs-proxy-helper
From: Stefan Weil
Include file attr/xattr.h is not available on "newer" systems
(for example Fedora 12 or Debian Squeeze).
See comments in qemu-xattr.h for more information.
This file handles the system dependencies automatically.
Signed-off-by: Stefan Weil
Signed-off-by: Stefan Hajnoczi
---
From: Stefan Weil
These comments are used by static code analysis tools and in code reviews
to avoid false warnings because of missing break statements.
The case statements handled here were reported by coverity.
Reviewed-by: Peter Maydell
Signed-off-by: Stefan Weil
Signed-off-by: Stefan Hajn
Deserves more prominent notice, so here goes:
Anthony Liguori writes:
[...]
> @@ -733,10 +732,6 @@ for opt do
>;;
>--enable-fdt) fdt="yes"
>;;
> - --disable-check-utests) check_utests="no"
> - ;;
> - --enable-check-utests) check_utests="yes"
> - ;;
>--disable-nptl) nptl="no"
On Mon, 2012-01-02 at 18:51 -0600, Anthony Liguori wrote:
> This board never worked with TCG. It hasn't been updated since 0.13.0. I'm
> fairly sure hardware doesn't exist anymore that you can run the KVM support
> with.
It does exist, I have one :-)
> So let's remove it. It can always be rest
Am 13.01.2012 11:59, schrieb Benjamin Herrenschmidt:
> On Mon, 2012-01-02 at 18:51 -0600, Anthony Liguori wrote:
>> This board never worked with TCG. It hasn't been updated since 0.13.0. I'm
>> fairly sure hardware doesn't exist anymore that you can run the KVM support
>> with.
>
> It does exist
The switch statement in bt_host_read() is missing a break in one case.
Andrzej Zaborowski confirmed that this is
not an intentional fall-through.
Reviewed-by: Stefan Weil
Signed-off-by: Stefan Hajnoczi
---
bt-host.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/bt-ho
From: Stefan Berger
Remember the original PciInfoList in info_list and use
the info variable to traverse the list.
Signed-off-by: Stefan Berger
Signed-off-by: Stefan Hajnoczi
---
hmp.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/hmp.c b/hmp.c
index e7659d5.
Hi,
Here comes the usb patch queue. It features the patches posted a week
ago for review with some minor tweaks according to the review comments:
The comment in usb-audio was fixed and xhci got a codestyle cleanup. No
actual code changes. I've also included the usb-redir patches posted by
Han
On 13.01.2012, at 04:09, Andreas Färber wrote:
> Hello,
>
> Here's an updated initial qdev'ification series for PReP, as prerequisite
> for Anthony's second QOM series.
>
> As stated before, this is NOT a complete conversion of all PReP devices
> and of all those shared with x86. Please comment
From: H. Peter Anvin
This brings a usb audio device to qemu. Output only, fixed at
16bit stereo @ 48 Hz. Based on a patch from
H. Peter Anvin
Usage: add '-device usb-audio' to your qemu command line.
Works sorta ok on a idle machine. Known issues:
* Is *very* sensitive to latencies.
On 01/13/2012 12:04 PM, Andreas Färber wrote:
>> This board never worked with TCG. It hasn't been updated since 0.13.0. I'm
>> fairly sure hardware doesn't exist anymore that you can run the KVM support
>> with.
>
> It does exist, I have one:-)
Alex has already posted series to not only q
On Fri, Jan 13, 2012 at 9:04 AM, Michael Tokarev wrote:
> When qemu-nbd becomes a daemon it calls daemon(3) with
> nochdir=0, so daemon(3) changes current directory to /.
> But at this time, qemu-nbd did not open any user-specified
> files yet, so by changing current directory, all non-absolute
>
On 2012-01-13 12:11, Vasilis Liaskovitis wrote:
> This patch series adds support for CPU _EJ0 callback in Seabios and qemu-kvm.
> The first patch defines the CPU eject bitmap in Seabios and writes to it
> during the callback. The second patch adds empty stub functions to qemu-kvm to
> handle the bi
On 2012-01-13 12:11, Vasilis Liaskovitis wrote:
> Signed-off-by: Vasilis Liaskovitis
> ---
> hw/acpi_piix4.c | 21 +
> 1 files changed, 21 insertions(+), 0 deletions(-)
>
> diff --git a/hw/acpi_piix4.c b/hw/acpi_piix4.c
> index 8bf30dd..12eef55 100644
> --- a/hw/acpi_piix4.
From: Hans de Goede
This is something which should have been done from the first version of
usb-redir, but wasn't.
Signed-off-by: Hans de Goede
Signed-off-by: Gerd Hoffmann
---
usb-redir.c | 16
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/usb-redir.c b/u
From: Hans de Goede
And ignore status messages from the client which arrive after stream
stop (the stream stop send to the client and an error status reported by
the client my cross each other due to network latency).
Signed-off-by: Hans de Goede
Signed-off-by: Gerd Hoffmann
---
usb-redir.c |
This patch removes support for parsing /proc/bus/usb/devices for device
discovery. The code lacks a few features compared to the sysfs code and
is also bitrotting as everybody has sysfs these days.
This implies having sysfs mounted is mandatory now to use the usb-host
driver. udev isn't required
Add support for audio endpoints which have two more fields in the
descriptor. Also add support for extra class specific endpoint
descriptors.
Signed-off-by: Gerd Hoffmann
---
hw/usb-desc.c | 14 +++---
hw/usb-desc.h |5 +
2 files changed, 16 insertions(+), 3 deletions(-)
diff
Add function to dump endpoint data, for debugging purposes.
Signed-off-by: Gerd Hoffmann
---
hw/usb.c| 40
hw/usb.h|1 +
usb-linux.c |3 +++
3 files changed, 44 insertions(+), 0 deletions(-)
diff --git a/hw/usb.c b/hw/usb.c
index 6ba063
Signed-off-by: Gerd Hoffmann
---
hw/usb.c| 14 ++
hw/usb.h|3 +++
usb-linux.c |1 +
3 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/hw/usb.c b/hw/usb.c
index 5d6baaf..6ba063a 100644
--- a/hw/usb.c
+++ b/hw/usb.c
@@ -422,6 +422,8 @@ void usb_ep_init(US
Also handle {GET,SET}_INTERFACE in common code (usb-desc.c).
Signed-off-by: Gerd Hoffmann
---
hw/usb-bt.c | 22 -
hw/usb-ccid.c |8 --
hw/usb-desc.c | 71 +++
hw/usb-hid.c|7 -
hw/usb-hub.c|
Initialize USBEndpoint structs from USBDesc* data.
Signed-off-by: Gerd Hoffmann
---
hw/usb-desc.c | 22 ++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/hw/usb-desc.c b/hw/usb-desc.c
index 9c38661..0768334 100644
--- a/hw/usb-desc.c
+++ b/hw/usb-desc.c
@@
On 11 January 2012 22:41, Peter Maydell wrote:
> On 11 January 2012 16:31, Mark Langsdorf wrote:
>> This patch series adds support for the Calxeda Highbank SoC.
>> It depends on my previous patch series "various ARM fixes for
>> Calxeda Highbank" and "ahci: convert ahci_reset to use AHCIState".
>
On Thu, 12 Jan 2012 17:32:32 -0600
Michael Roth wrote:
> On 01/12/2012 12:57 PM, Luiz Capitulino wrote:
> > On Wed, 11 Jan 2012 17:56:05 -0600
> > Michael Roth wrote:
> >
> >> Recently commands where introduced on the mailing that involved adding
> >> commands to the guest agent that could poten
On 13.01.2012, at 12:45, Paolo Bonzini wrote:
> On 01/13/2012 12:04 PM, Andreas Färber wrote:
>> This board never worked with TCG. It hasn't been updated since
>> 0.13.0. I'm
>> fairly sure hardware doesn't exist anymore that you can run the KVM
>> support
>> with.
Signed-off-by: Gerd Hoffmann
---
hw/usb-desc.c |2 ++
hw/usb.c | 37 +
hw/usb.h |4
usb-linux.c | 31 +--
4 files changed, 44 insertions(+), 30 deletions(-)
diff --git a/hw/usb-desc.c b/hw/usb-desc.c
ind
Add USBEndpoint for the control endpoint to USBDevices. Link async
packets to the USBEndpoint instead of the USBDevice.
Signed-off-by: Gerd Hoffmann
---
hw/usb-ehci.c |3 ++-
hw/usb-musb.c |3 ++-
hw/usb-ohci.c |4 +++-
hw/usb-uhci.c |3 ++-
hw/usb.c | 12 ++--
hw
From: Hans de Goede
Note the bufpq_target_size id stored in the endpoint info struct,
even though it only used once. This is done because it will be
referenced from other code in a follow up patch.
Signed-off-by: Hans de Goede
Signed-off-by: Gerd Hoffmann
---
usb-redir.c | 53 ++
From: Hans de Goede
Signed-off-by: Hans de Goede
Signed-off-by: Gerd Hoffmann
---
usb-redir.c | 13 -
1 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/usb-redir.c b/usb-redir.c
index 147e237..79d29ec 100644
--- a/usb-redir.c
+++ b/usb-redir.c
@@ -395,7 +395,8 @@ sta
Start maintaining endpoint state at USBDevice level. Add USBEndpoint
struct and some helper functions to deal with it. For now it contains
the endpoint type only. Moved over some bits from usb-linux.c
Signed-off-by: Gerd Hoffmann
---
hw/usb-bus.c |1 +
hw/usb.c | 30
From: Hans de Goede
Before this patch we would allow the (iso) buffer to grow unlimited
(and it would under certain circumstances) leading to way too high
latencies for iso data streams.
Signed-off-by: Hans de Goede
Signed-off-by: Gerd Hoffmann
---
usb-redir.c | 30 +
Move fields from USBHostDevice to USBDevice.
Add bits to usb-desc.c to fill them for emulated devices too.
Also allow to set configuration 0 (== None) for emulated devices.
Signed-off-by: Gerd Hoffmann
---
hw/usb-desc.c | 34 ++
hw/usb.h |3 +++
usb-lin
On 13.01.2012 15:57, Stefan Hajnoczi wrote:
> On Fri, Jan 13, 2012 at 9:04 AM, Michael Tokarev wrote:
>> When qemu-nbd becomes a daemon it calls daemon(3) with
>> nochdir=0, so daemon(3) changes current directory to /.
>> But at this time, qemu-nbd did not open any user-specified
>> files yet, so
On Fri, Jan 13, 2012 at 04:47:35PM +0400, Michael Tokarev wrote:
> On 13.01.2012 15:57, Stefan Hajnoczi wrote:
> > On Fri, Jan 13, 2012 at 9:04 AM, Michael Tokarev wrote:
> >> When qemu-nbd becomes a daemon it calls daemon(3) with
> >> nochdir=0, so daemon(3) changes current directory to /.
> >> B
Note: This is a resend of v5 because the emails I sent earlier today
disappeared.
This series adds the 'block_stream' command which copies the contents of a
backing file into the image file while the VM is running. The series builds on
the zero detection features which I sent out before Christmas
Signed-off-by: Stefan Hajnoczi
---
Makefile.objs |1 +
qemu-coroutine-sleep.c | 38 ++
qemu-coroutine.h |9 +
3 files changed, 48 insertions(+), 0 deletions(-)
create mode 100644 qemu-coroutine-sleep.c
diff --git a/Makefile.ob
python test-stream.py
Signed-off-by: Stefan Hajnoczi
---
test-stream.py | 208
1 files changed, 208 insertions(+), 0 deletions(-)
create mode 100644 test-stream.py
diff --git a/test-stream.py b/test-stream.py
new file mode 100644
index
Long-running block operations like block migration and image streaming
must have continual access to their block device. It is not safe to
perform operations like hotplug, eject, change, resize, commit, or
external snapshot while a long-running operation is in progress.
This patch adds the missin
According to the EHCI spec port ownerhsip should revert to the EHCI controller
on device disconnect. This fixes the problem of a port getting stuck on USB 1
when using redirection and plugging in a USB 2 device after a USB 1 device
has been redirected.
Signed-off-by: Hans de Goede
---
hw/usb-ehc
Add block_job_set_speed, which sets the maximum speed for a background
block operation.
Signed-off-by: Stefan Hajnoczi
---
blockdev.c | 25 +
hmp-commands.hx | 14 ++
hmp.c| 11 +++
hmp.h|1 +
qapi-schema.json |
On 01/04/2012 05:52 PM, Erik Rull wrote:
erik.r...@rdsoftware.de wrote:
On 12/31/11 13:11, Erik Rull wrote:
Hi all,
how can I use a USB 1.1 device on the USB 2.0 bus? Currently the EHCI
implementation complains that the device is mismatches the USB version.
-readconfig docs/ich9-ehci-uhci.
On 01/13/2012 01:47 PM, Michael Tokarev wrote:
But instead of adding a chdir later, I'll try to rearrange code a bit
to do all init in the parent instead.
That's not possible, because when you fork you lose all threads except
the main thread. That's why the daemon() was moved very early. You
Signed-off-by: Vasilis Liaskovitis
---
src/acpi-dsdt.dsl |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/acpi-dsdt.dsl b/src/acpi-dsdt.dsl
index 7082b65..71d8ac4 100644
--- a/src/acpi-dsdt.dsl
+++ b/src/acpi-dsdt.dsl
@@ -650,8 +650,15 @@ DefinitionBlock (
From: Marcelo Tosatti
Add bdrv_find_backing_image: given a BlockDriverState pointer, and an id,
traverse the backing image chain to locate the id.
Signed-off-by: Marcelo Tosatti
Signed-off-by: Stefan Hajnoczi
---
block.c | 18 ++
block.h |2 ++
2 files changed, 20 insert
Signed-off-by: Vasilis Liaskovitis
---
hw/acpi_piix4.c | 15 +++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/hw/acpi_piix4.c b/hw/acpi_piix4.c
index d5743b6..8bf30dd 100644
--- a/hw/acpi_piix4.c
+++ b/hw/acpi_piix4.c
@@ -37,6 +37,7 @@
#define GPE_BASE 0xafe0
Commit 8eb0283 broken device_del by having too overzealous reference counting
checks. Move the reference count checks to qdev_free(), make sure to remove
the parent link on free, and decrement the reference count on property removal.
Reported-by: Markus Armbruster
Signed-off-by: Anthony Liguori
From: Marcelo Tosatti
Add support for streaming data from an intermediate section of the
image chain (see patch and documentation for details).
Signed-off-by: Marcelo Tosatti
Signed-off-by: Stefan Hajnoczi
---
block/stream.c | 91 +--
bloc
Signed-off-by: Anthony Liguori
---
tests/device-del.sh | 91 +++
1 files changed, 91 insertions(+), 0 deletions(-)
create mode 100755 tests/device-del.sh
diff --git a/tests/device-del.sh b/tests/device-del.sh
new file mode 100755
index 000..
From: Marcelo Tosatti
This qerror will be raised when a given streaming base (backing file)
cannot be found.
Signed-off-by: Marcelo Tosatti
Signed-off-by: Stefan Hajnoczi
---
qapi-schema.json |1 +
qerror.c |4
qerror.h |3 +++
3 files changed, 8 insertions(+)
Signed-off-by: Vasilis Liaskovitis
---
hw/acpi_piix4.c | 21 +
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/hw/acpi_piix4.c b/hw/acpi_piix4.c
index 8bf30dd..12eef55 100644
--- a/hw/acpi_piix4.c
+++ b/hw/acpi_piix4.c
@@ -502,6 +502,27 @@ static uint32_t cp
Unplugging a storage interface like virtio-blk causes the host block
device to be deleted too. Long-running operations like block migration
must take a DriveInfo reference to prevent the BlockDriverState from
being freed. For image streaming we can do the same thing.
Note that it is not possible
Add the block_stream command, which starts copy backing file contents
into the image file. Also add the BLOCK_JOB_COMPLETED QMP event which
is emitted when image streaming completes. Later patches add control
over the background copy speed, cancelation, and querying running
streaming operations.
On Fri, Jan 13, 2012 at 12:58:10PM +0100, Jan Kiszka wrote:
> Please work against upstream (uq/master for kvm-related patches), not
> qemu-kvm. It possibly makes no technical difference here, but we do not
> want to let the code bases needlessly diverge again. If if does make a
> difference and ups
Add query-block-jobs, which shows the progress of ongoing block device
operations.
Signed-off-by: Stefan Hajnoczi
---
blockdev.c | 33 +
hmp.c| 36
hmp.h|1 +
monitor.c|7 ++
Add block_job_cancel, which stops an active block streaming operation.
When the operation has been cancelled the new BLOCK_JOB_CANCELLED event
is emitted.
Signed-off-by: Stefan Hajnoczi
---
QMP/qmp-events.txt | 24
blockdev.c | 19 ++-
hmp-com
On 12.01.2012, at 06:46, David Gibson wrote:
> This series has two parts. THe first has a few bugfixes for generic
> qemu code. The second has a number of pseries machine specific
> enhancements and bugfixes. They are included in the one series
> because some of the pseries specific patches re
Am 13.01.2012 13:14, schrieb Peter Maydell:
> On 11 January 2012 22:41, Peter Maydell wrote:
>> Does anybody object to my taking the AHCI patches along with this
>> series via arm-devs.next ? (other than patch v4 which goes via
>> target-arm.next)
>
> [I got an Acked-by: from Kevin over irc regar
On 13.01.2012, at 15:15, Andreas Färber wrote:
> Am 13.01.2012 13:14, schrieb Peter Maydell:
>> On 11 January 2012 22:41, Peter Maydell wrote:
>>> Does anybody object to my taking the AHCI patches along with this
>>> series via arm-devs.next ? (other than patch v4 which goes via
>>> target-arm.n
This patch series adds support for CPU _EJ0 callback in Seabios and qemu-kvm.
The first patch defines the CPU eject bitmap in Seabios and writes to it
during the callback. The second patch adds empty stub functions to qemu-kvm to
handle the bitmap writes.
The third patch defines the eject method t
Signed-off-by: Stefan Hajnoczi
---
block.c | 48
block_int.h | 40
2 files changed, 88 insertions(+), 0 deletions(-)
diff --git a/block.c b/block.c
index daf92c2..d588ee8 100644
--- a/block.c
+++ b/
On Fri, Jan 13, 2012 at 12:58:53PM +0100, Jan Kiszka wrote:
> On 2012-01-13 12:11, Vasilis Liaskovitis wrote:
> > Signed-off-by: Vasilis Liaskovitis
> > ---
> > hw/acpi_piix4.c | 21 +
> > 1 files changed, 21 insertions(+), 0 deletions(-)
> >
> > diff --git a/hw/acpi_piix4.
Am 13.01.2012 13:30, schrieb Alexander Graf:
>
> On 13.01.2012, at 12:45, Paolo Bonzini wrote:
>
>> On 01/13/2012 12:04 PM, Andreas Färber wrote:
>>> This board never worked with TCG. It hasn't been updated since
>>> 0.13.0. I'm
>>> fairly sure hardware doesn't exist anymore that
The regression does not exist in the way that I suspected - it's just
that the default for 9p mount option "msize=4096" causes the bad
performance when reading large files on the guest.
I was mislead because...
a) mount -o remount,msize=...,...
seems to work (with mount reporting the changed
On 13.01.2012, at 15:24, Andreas Färber wrote:
> Am 13.01.2012 13:30, schrieb Alexander Graf:
>>
>> On 13.01.2012, at 12:45, Paolo Bonzini wrote:
>>
>>> On 01/13/2012 12:04 PM, Andreas Färber wrote:
This board never worked with TCG. It hasn't been updated since
0.13.0. I'm
Am 13.01.2012 15:18, schrieb Alexander Graf:
>
> On 13.01.2012, at 15:15, Andreas Färber wrote:
>
>> Am 13.01.2012 13:14, schrieb Peter Maydell:
>>> On 11 January 2012 22:41, Peter Maydell wrote:
Does anybody object to my taking the AHCI patches along with this
series via arm-devs.next
On 13.01.2012, at 15:31, Andreas Färber wrote:
> Am 13.01.2012 15:18, schrieb Alexander Graf:
>>
>> On 13.01.2012, at 15:15, Andreas Färber wrote:
>>
>>> Am 13.01.2012 13:14, schrieb Peter Maydell:
On 11 January 2012 22:41, Peter Maydell wrote:
> Does anybody object to my taking the A
This patch implements rate-limiting for image streaming. If we've
exceeded the bandwidth quota for a 100 ms time slice we sleep the
coroutine until the next slice begins.
Signed-off-by: Stefan Hajnoczi
---
block/stream.c | 65 ++-
1 files ch
Signed-off-by: Stefan Hajnoczi
---
Makefile.objs |1 +
block/stream.c | 124
block_int.h|3 +
trace-events |4 ++
4 files changed, 132 insertions(+), 0 deletions(-)
create mode 100644 block/stream.c
diff --git a/Makefi
1 - 100 of 234 matches
Mail list logo