On 01/26/2012 05:32 PM, Jan Kiszka wrote:
> On 2012-01-26 16:25, Jan Kiszka wrote:
> > On 2012-01-26 16:15, Avi Kivity wrote:
> >> The changes to kvm-apic are so drastic, that merging them into qemu-kvm
> >> in the normal way won't work. I can consider just dropping the existing
> >> implementatio
On 2012-01-26 16:39, Avi Kivity wrote:
> On 01/26/2012 05:32 PM, Jan Kiszka wrote:
>> On 2012-01-26 16:25, Jan Kiszka wrote:
>>> On 2012-01-26 16:15, Avi Kivity wrote:
The changes to kvm-apic are so drastic, that merging them into qemu-kvm
in the normal way won't work. I can consider jus
On 01/26/2012 05:45 PM, Jan Kiszka wrote:
> >
> >> I merged the upstream patches one by one, resolving the mechanical and
> >> logical conflicts in each step. Was done for that backend/frontend
> >> concept, but the adjustments should basically be the same now. Want me
> >> to prepare a branch or
From: Andreas Färber
VMState supports the type bool but qdev instead supports bit, backed by
uint32_t. Therefore let's add PROP_TYPE_BOOL and qdev_prop_set_bool().
With non-programmers in mind, instead of universal true/false provide
two different property types:
* on/off for DEFINE_PROP_SWITCH(
26.01.2012 18:55, Michael Tokarev wrote:
26.01.2012 13:54, ronnie sahlberg wrote:
Ok so what about this
You use a filename starting with "/proc/self/fd/" and you dont have a
proc filesystem mounted? you are on your own!
BTW, usual idiom (which was implemented in gawk for example)
is to use /d
On 2012-01-26 14:10, Erik Rull wrote:
> Hi Jan,
>
>
>
> here the results of the sdl printfs.
>
>
>
> First of all the modified code:
>
>
>
> #include
>
> #define NO_DEBUG_PATHS 3
> int paths[NO_DEBUG_PATHS] = {0,0,0};
> int last_sec = 0;
> struct timeval tv;
>
> static void handle_mouse
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
Signed-off-by: Kevin Wolf
---
block.c | 18 ++
block.h |2 ++
From: Stefan Hajnoczi
Signed-off-by: Stefan Hajnoczi
Signed-off-by: Kevin Wolf
---
block.c | 48
block_int.h | 40
2 files changed, 88 insertions(+), 0 deletions(-)
diff --git a/block.c b/block.c
From: Stefan Hajnoczi
There already exists a virtio_blk_handle_write trace event as well as
completion events. Add the virtio_blk_handle_read event so it's easy to
trace virtio-blk requests for both read and write operations.
Signed-off-by: Stefan Hajnoczi
Signed-off-by: Kevin Wolf
---
hw/vi
From: Stefan Hajnoczi
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
Signed-off-by: Kevin Wolf
---
block/stream.c | 65
From: Stefan Hajnoczi
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.
Th
From: Li Zhi Hui
Signed-off-by: Li Zhi Hui
Signed-off-by: Kevin Wolf
---
block/qcow.c | 56 +---
1 files changed, 37 insertions(+), 19 deletions(-)
diff --git a/block/qcow.c b/block/qcow.c
index b16955d..e0d0b88 100644
--- a/block/qcow.c
+
From: Stefan Hajnoczi
Signed-off-by: Stefan Hajnoczi
Signed-off-by: Kevin Wolf
---
Makefile.objs |1 +
qemu-coroutine-sleep.c | 38 ++
qemu-coroutine.h |9 +
3 files changed, 48 insertions(+), 0 deletions(-)
create mode 1006
As in v1, the series is logically split in two parts.
The first six patches ensure that BDRV_O_NO_CACHE is set for all non-file
protocols. This makes sure that large sectors are handled correctly
for the libiscsi backend.
The next patches add support for arbitrary combinations of host/guest
logi
The BDRV_O_SNAPSHOT flag is stored in open_flags but not passed to
bdrv_open. This makes the usage of bs->open_flags wrong in
bdrv_snapshot_goto.
(Instead, bdrv_commit uses the backing file's open_flags and those
flags never include any of BDRV_O_SNAPSHOT, BDRV_O_NO_BACKING
or BDRV_O_RDWR).
We w
This duplicates a bit in open_flags, we do not need it.
Signed-off-by: Paolo Bonzini
---
block.c |3 +--
block_int.h |3 ---
2 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/block.c b/block.c
index 5055975..afc327e 100644
--- a/block.c
+++ b/block.c
@@ -607,7 +607,6 @@
The passed flags are changed slightly before passing them to
bdrv_open. Store the same flags in bs->open_flags, so that
they are used correctly in bdrv. In addition, this way we
will be able to query them and get back consistent values.
Signed-off-by: Paolo Bonzini
---
block.c | 38 +
Use ioctls if possible, else see what alignment it takes for O_DIRECT
to succeed.
Signed-off-by: Paolo Bonzini
---
block/raw-posix.c | 72
block/raw-win32.c | 42 +++
2 files changed, 97 insertions(+), 17 deleti
When the guest sees a higher alignment than the host, writes may be
done in multiple steps. So, reads have to be serialized against
overlapping writes, so that the writes look atomic to the guest.
This is true even when O_DIRECT is not in use.
Signed-off-by: Paolo Bonzini
---
block.c | 22 +++
The following changes since commit 331636431af32ece373f4b1fb7c3ae9d0615e2a6:
vga: compile cirrus_vga in hwlib (2012-01-25 18:32:59 +)
are available in the git repository at:
git://repo.or.cz/qemu/kevin.git for-anthony
Gregory Farnum (1):
rbd: wire up snapshot removal and rollback f
Same as the previous patch. However, since the min_io_size is a byte
value rather than an exponent, we want to make sure that we pass a 0
when running on 512b-sector disks.
Signed-off-by: Paolo Bonzini
---
block.c | 17 +
block.h |1 +
hw/scsi-disk.c |
From: Stefan Hajnoczi
Most of the codebase as been converted to use glib memory allocation
functions. There are still a few instances of malloc/calloc in the
block layer and qemu-io. Replace them, especially since they do not
check the strdup/malloc/calloc return value.
Reported-by: Dr David A
From: Li Zhi Hui
Since common file operation functions lack of error detection and use
much more I/O syscalls, so change them to bdrv series functions and
reduce I/O request.
Signed-off-by: Li Zhi Hui
Signed-off-by: Kevin Wolf
---
block/qcow.c | 48 +++---
From: Thomas Higdon
Limit the return value (corresponding to the length of the buffer to be
DMAed back to the intiator) to the value in req->cmd.xfer, which is the
amount of data that the initiator expects. Eliminate now-duplicate code
that does this guarding in the functions for individual comma
From: Gregory Farnum
Signed-off-by: Greg Farnum
Reviewed-by: Stefan Hajnoczi
Signed-off-by: Kevin Wolf
---
block/rbd.c | 22 ++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/block/rbd.c b/block/rbd.c
index db5abf2..46a8579 100644
--- a/block/rbd.c
+++ b
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
Acked-by: Luiz Capitulino
Signed-off-by: Kevin Wolf
---
qapi-schema.json |1 +
qerror.c |4
qerror.
The iSCSI backend already gets the block size from the READ CAPACITY
command it sends. Save it so that the generic block layer gets it
too.
Signed-off-by: Paolo Bonzini
---
block/iscsi.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/block/iscsi.c b/block/iscsi.c
index
From: Stefan Hajnoczi
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 runnin
Am Montag 17 Oktober 2011, 19:46:11 schrieb Stefan Weil:
> So let's start. For any of my contributions, I agree to GPL v2 or later.
> Later generations should have the possibility to replace GPL v2 by
> something which matches future requirements.
I agree to GPL v2 or later.
--
Michael
On Wed, 25 Jan 2012 10:42:04 -0200
Luiz Capitulino wrote:
> On Wed, 25 Jan 2012 09:41:20 +0100
> Kevin Wolf wrote:
>
> > Am 24.01.2012 21:03, schrieb Eric Blake:
> > > On 01/24/2012 11:16 AM, Luiz Capitulino wrote:
> > >> Libvirt wants to be notified when the guest ejects a medium, so that
> >
Signed-off-by: Anthony Liguori
[AF: Use DEFINE_PROP_END_OF_LIST() as well]
Signed-off-by: Andreas Färber
---
If we're touching it, let's do it right. Causes a trivial merge conflict
in [PATCH 27/28] sysbus: apic: ioapic: convert to QEMU Object Model.
hw/marvell_88w8618_audio.c | 10 +++-
When i attach gdb to qemu running in system mode, i often get things like
[Thread 0x7ffed2013700 (LWP 29499) exited]
[New Thread 0x7ffed2013700 (LWP 29500)]
what spawns these threads and what do these threads do ?
Hopefully, this will help operating systems in making less misaligned
I/O operations. Not really true for Linux, but why not try.
Signed-off-by: Paolo Bonzini
---
block.c | 17 +
block.h | 15 ++-
2 files changed, 19 insertions(+), 13 deletions(-)
diff --git a/b
On 01/26/2012 07:31 PM, Xin Tong wrote:
When i attach gdb to qemu running in system mode, i often get things like
[Thread 0x7ffed2013700 (LWP 29499) exited]
[New Thread 0x7ffed2013700 (LWP 29500)]
what spawns these threads and what do these threads do ?
The block layer's thread pool.
Paolo
From: Stefan Hajnoczi
Add query-block-jobs, which shows the progress of ongoing block device
operations.
Signed-off-by: Stefan Hajnoczi
Acked-by: Luiz Capitulino
Signed-off-by: Kevin Wolf
---
blockdev.c | 33 +
hmp.c| 36 +
Make it possible to test the alignment code using qemu-io.
Signed-off-by: Paolo Bonzini
---
qemu-io.c | 33 -
1 files changed, 28 insertions(+), 5 deletions(-)
diff --git a/qemu-io.c b/qemu-io.c
index 7c446b6..268db89 100644
--- a/qemu-io.c
+++ b/qemu-io.c
@@ -
Signed-off-by: Paolo Bonzini
---
block.c |4 +++-
block_int.h |3 +++
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/block.c b/block.c
index 2e1ebeb..af41fb3 100644
--- a/block.c
+++ b/block.c
@@ -591,6 +591,7 @@ static int bdrv_open_common(BlockDriverState *bs, const
---
hw/pc.c | 44 ++--
hw/pc.h |6 --
hw/piix_pci.c | 46 --
3 files changed, 34 insertions(+), 62 deletions(-)
diff --git a/hw/pc.c b/hw/pc.c
index 4964a64..90bd638 100644
--- a/hw/pc.c
++
From: Stefan Weil
The new block was filled with zero when it was allocated by g_malloc0,
but when it was reused later and only partially used, data from the
previously allocated block were still present and written to the new
block.
This caused the problems reported by bug #919242
(https://bugs.
When the guest sees a lower alignment than the host, and O_DIRECT
is in place, I/O might not span an integer number of host sectors.
If this is the case, add a few sectors at the beginning and the end.
When reading, copy interesting data from there to the guest buffer.
When writing, merge data fro
Since I plan to commit a good chunk of QOM tomorrow, I wanted to share some more
forward looking work that really starts to take advantage of the new features of
QOM.
This series aggressively refactors the PC machine initialization to be more
modelled and less ad-hoc. The highlights of this serie
On 26 January 2012 19:00, Anthony Liguori wrote:
> We need to modeled MemoryRegions and qemu_irq in QOM too.
+1 : this ought to let us get rid of SysBus...
> MemoryRegions
> shouldn't be that difficult. Our habit of passing qemu_irq's as arrays
> without
> an explicit size will probably requi
---
hw/pci_host.c | 11
hw/pci_host.h |3 ++
hw/piix_pci.c | 72 +++-
3 files changed, 54 insertions(+), 32 deletions(-)
diff --git a/hw/pci_host.c b/hw/pci_host.c
index 44c6c20..4c9fc49 100644
--- a/hw/pci_host.c
+++ b/hw/pci_h
what is that, can you please briefly explain ?
Thanks
Xin
On Thu, Jan 26, 2012 at 1:35 PM, Paolo Bonzini wrote:
> On 01/26/2012 07:31 PM, Xin Tong wrote:
>>
>> When i attach gdb to qemu running in system mode, i often get things like
>>
>> [Thread 0x7ffed2013700 (LWP 29499) exited]
>> [New Thr
On Wed, 25 Jan 2012 20:55:14 -0700
Eric Blake wrote:
> On 12/02/2011 01:32 PM, Anthony Liguori wrote:
> >> But we already have to call 'qemu -h' for other reasons; so we might as
> >> well be efficient and learn as much as possible from that result than by
> >> calling both 'qemu -h' and 'qemu -q
---
hw/piix_pci.c | 128 +
1 files changed, 74 insertions(+), 54 deletions(-)
diff --git a/hw/piix_pci.c b/hw/piix_pci.c
index 52bfc7a..dddc95f 100644
--- a/hw/piix_pci.c
+++ b/hw/piix_pci.c
@@ -104,6 +104,11 @@ struct I440FXPMCState {
From: Anthony Liguori
These are various small stylistic changes which help make things more
consistent such that the automated conversion script can be simpler.
It's not necessary to agree or disagree with these style changes because all
of this code is going to be rewritten by the patch monkey
On 01/24/2012 12:23 PM, Stefan Weil wrote:
> I'd prefer a different solution. As far as I have understood,
> the dtb is only useful with a kernel, so it could be handled
> as an optional attribute to the -kernel parameter:
>
> -kernel IMAGE[,dtb=DTB]
>
> Of course the same applies to -append,
On 01/26/2012 01:12 PM, Peter Maydell wrote:
On 26 January 2012 19:00, Anthony Liguori wrote:
We need to modeled MemoryRegions and qemu_irq in QOM too.
+1 : this ought to let us get rid of SysBus...
MemoryRegions
shouldn't be that difficult. Our habit of passing qemu_irq's as arrays with
To implement mismatching block size, we will reuse the request tracking
mechanism that is used for copy-on-read. However, waiting for overlapping
reads is not needed to protect against "torn reads", so add a flag to
wait_for_overlapping_requests.
Signed-off-by: Paolo Bonzini
---
block.c | 13
On 23 January 2012 07:20, Peter A. G. Crosthwaite
wrote:
> --- a/vl.c
> +++ b/vl.c
> @@ -233,6 +233,7 @@ int boot_menu;
> uint8_t *boot_splash_filedata;
> int boot_splash_filedata_size;
> uint8_t qemu_extra_params_fw[2];
> +const char *qemu_kerndtb = NULL;
>
> typedef struct FWBootEntry FWBoot
On 01/26/2012 01:00 PM, Anthony Liguori wrote:
A long time ago, there was a grand plan to merge q35 chipset support. The start
of that series was a refactoring of pc.c which split a bunch of the "common"
functionality into a separate file that could be shared by the two.
But q35 never got merge
From: Stefan Hajnoczi
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
Acked-by: Luiz Capitulino
Signed-off-by: Kevin Wolf
---
QMP/qmp-events.txt | 24 ++
It seems to me that when QEMU emits a TB to TB transition, it does not look
for whether the code has already been generated or not ( at least x86 on
x86 emulation) . it just lay down a 4 byte address, waiting to be patched
later. Am I right ?
case INDEX_op_goto_tb:
if (s->tb_jmp_offset)
Non-raw protocols never cache their data. Make this visible by setting
BDRV_O_NOCACHE in the open_flags. It will be used to prohibit block sizes
smaller than the backend's block size.
Signed-off-by: Paolo Bonzini
---
block/curl.c |1 +
block/iscsi.c|2 ++
block/nbd.c |
---
hw/piix_pci.c | 122 -
1 files changed, 69 insertions(+), 53 deletions(-)
diff --git a/hw/piix_pci.c b/hw/piix_pci.c
index aca4476..fdb372f 100644
--- a/hw/piix_pci.c
+++ b/hw/piix_pci.c
@@ -47,34 +47,6 @@
* function 1.0, there is the
From: Marcelo Tosatti
Signed-off-by: Marcelo Tosatti
Signed-off-by: Stefan Hajnoczi
Signed-off-by: Kevin Wolf
---
docs/live-block-ops.txt | 58 +++
1 files changed, 58 insertions(+), 0 deletions(-)
create mode 100644 docs/live-block-ops.txt
diff
Peter Maydell writes:
> On 26 January 2012 19:00, Anthony Liguori wrote:
>> We need to modeled MemoryRegions and qemu_irq in QOM too.
>
> +1 : this ought to let us get rid of SysBus...
>
>> MemoryRegions
>> shouldn't be that difficult. Our habit of passing qemu_irq's as arrays
>> without
>> a
On 01/26/2012 01:57 PM, Markus Armbruster wrote:
Peter Maydell writes:
On 26 January 2012 19:00, Anthony Liguori wrote:
We need to modeled MemoryRegions and qemu_irq in QOM too.
+1 : this ought to let us get rid of SysBus...
MemoryRegions
shouldn't be that difficult. Our habit of pass
---
hw/piix_pci.c | 48
1 files changed, 12 insertions(+), 36 deletions(-)
diff --git a/hw/piix_pci.c b/hw/piix_pci.c
index 4735d9c..589708e 100644
--- a/hw/piix_pci.c
+++ b/hw/piix_pci.c
@@ -263,19 +263,17 @@ static int i440fx_initfn(PCIDevice *
On Thu, 26 Jan 2012 20:41:13 +0100
Michal Privoznik wrote:
> On 26.01.2012 20:35, Luiz Capitulino wrote:
> > On Thu, 26 Jan 2012 08:18:03 -0700
> > Eric Blake wrote:
> >
> >> [adding qemu-devel]
> >>
> >> On 01/26/2012 07:46 AM, Daniel P. Berrange wrote:
> One thing, that you'll probably n
On Thu, 26 Jan 2012 08:18:03 -0700
Eric Blake wrote:
> [adding qemu-devel]
>
> On 01/26/2012 07:46 AM, Daniel P. Berrange wrote:
> >> One thing, that you'll probably notice is this
> >> 'set-support-level' command. Basically, it tells GA what qemu version
> >> is it running on. Ideally, this sho
On 26.01.2012 20:35, Luiz Capitulino wrote:
> On Thu, 26 Jan 2012 08:18:03 -0700
> Eric Blake wrote:
>
>> [adding qemu-devel]
>>
>> On 01/26/2012 07:46 AM, Daniel P. Berrange wrote:
One thing, that you'll probably notice is this
'set-support-level' command. Basically, it tells GA what q
i440fx-pcihost => i440fx
i440fx => i440fx-pmc
It might seem like a small change, but it better reflects the fact that the PMC
is contained within the i440fx which we will now reflect in composition in the
next few changesets.
Signed-off-by: Anthony Liguori
---
hw/pc.c |2 +-
hw/pc.h
From: Stefan Hajnoczi
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
Signed-off-by: Anthony Liguori
---
hw/piix_pci.c | 11 +--
1 files changed, 1 insertions(+), 10 deletions(-)
diff --git a/hw/piix_pci.c b/hw/piix_pci.c
index 1906427..9065632 100644
--- a/hw/piix_pci.c
+++ b/hw/piix_pci.c
@@ -527,23 +527,14 @@ static TypeInfo piix3_info = {
static v
Signed-off-by: Anthony Liguori
---
hw/i8254.c| 35 +++
hw/i8254.h| 38 ++
hw/pc.c |5 +
hw/piix_pci.c | 15 ++-
4 files changed, 56 insertions(+), 37 deletions(-)
create mode 100644 hw/i82
Signed-off-by: Anthony Liguori
---
hw/pc.c | 24
hw/pc.h | 26 --
2 files changed, 12 insertions(+), 38 deletions(-)
diff --git a/hw/pc.c b/hw/pc.c
index 3d40aca..4b11e44 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -101,7 +101,7 @@ static const int
Signed-off-by: Anthony Liguori
Signed-off-by: Andreas Färber
---
Anthony, as requested before, please pull these out of the stylistic changes.
hw/es1370.c |5 -
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/hw/es1370.c b/hw/es1370.c
index 6a3ba55..3527eb6 100644
--- a/
From: Stefan Hajnoczi
Add block_job_set_speed, which sets the maximum speed for a background
block operation.
Signed-off-by: Stefan Hajnoczi
Acked-by: Luiz Capitulino
Signed-off-by: Kevin Wolf
---
blockdev.c | 25 +
hmp-commands.hx | 14 ++
hmp.
On 26 January 2012 19:52, Xin Tong wrote:
> It seems to me that when QEMU emits a TB to TB transition, it does not look
> for whether the code has already been generated or not ( at least x86 on x86
> emulation) . it just lay down a 4 byte address, waiting to be patched later.
> Am I right ?
Yes,
Signed-off-by: Anthony Liguori
---
hw/piix_pci.c | 26 +-
1 files changed, 17 insertions(+), 9 deletions(-)
diff --git a/hw/piix_pci.c b/hw/piix_pci.c
index 9065632..ec75725 100644
--- a/hw/piix_pci.c
+++ b/hw/piix_pci.c
@@ -43,6 +43,9 @@ typedef PCIHostState I440FXStat
Signed-off-by: Paolo Bonzini
---
block_int.h | 17 -
1 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/block_int.h b/block_int.h
index 0bbebe4..6f23d4a 100644
--- a/block_int.h
+++ b/block_int.h
@@ -222,15 +222,18 @@ struct BlockDriver {
struct BlockDriverState {
---
hw/piix_pci.c | 47 +--
1 files changed, 29 insertions(+), 18 deletions(-)
diff --git a/hw/piix_pci.c b/hw/piix_pci.c
index dddc95f..b38904d 100644
--- a/hw/piix_pci.c
+++ b/hw/piix_pci.c
@@ -52,6 +52,9 @@
#define XEN_PIIX_NUM_PIRQS 128ULL
From: Stefan Hajnoczi
Previously copy-on-read could only be enabled for all requests to a
block device. This means requests coming from the guest as well as
QEMU's internal requests would perform copy-on-read when enabled.
For image streaming we want to support finer-grained behavior than just
Signed-off-by: Paolo Bonzini
---
block/raw-posix.c | 25 +++--
1 files changed, 3 insertions(+), 22 deletions(-)
diff --git a/block/raw-posix.c b/block/raw-posix.c
index 2ee5d69..007d1d3 100644
--- a/block/raw-posix.c
+++ b/block/raw-posix.c
@@ -129,8 +129,6 @@ typedef stru
A long time ago, there was a grand plan to merge q35 chipset support. The start
of that series was a refactoring of pc.c which split a bunch of the "common"
functionality into a separate file that could be shared by the two.
But q35 never got merged and the refactoring, in retrospect, just made t
Signed-off-by: Anthony Liguori
---
hw/hpet.c| 38 +-
hw/hpet_emul.h | 40
hw/mc146818rtc.c | 30 ++---
hw/mc146818rtc.h | 27 +++
hw/pc.c | 38 +--
hw/piix_pci
From: Stefan Hajnoczi
Signed-off-by: Stefan Hajnoczi
Signed-off-by: Kevin Wolf
---
Makefile.objs |1 +
block/stream.c | 133
block_int.h|3 +
trace-events |4 ++
4 files changed, 141 insertions(+), 0 deletions(-)
cre
---
hw/pc.c | 70 --
hw/pc.h |3 +-
hw/piix_pci.c | 74 +++-
sysemu.h |2 -
4 files changed, 79 insertions(+), 70 deletions(-)
diff --git a/hw/pc.c b/hw/pc.c
index
---
hw/piix_pci.c | 13 ++---
1 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/hw/piix_pci.c b/hw/piix_pci.c
index b38904d..855f402 100644
--- a/hw/piix_pci.c
+++ b/hw/piix_pci.c
@@ -118,7 +118,7 @@ typedef struct I440FXState
PCIHostState parent;
MemoryRegion *a
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
Signed-off-by: Kevin Wolf
---
block/stream.c | 91 ++
The alignment field is now set to the value that is promised to the guest,
rather than required by the host. The next patches will make QEMU aware
of the host-provided values, so make this clear.
Signed-off-by: Paolo Bonzini
---
block.c | 10 +-
block.h |2 +-
When emulating small logical block sizes, the only overlaps
that matter are at host block size granularity, not cluster.
Make wait_for_overlapping_requests more flexible in this
respect, too.
Signed-off-by: Paolo Bonzini
---
block.c | 43 ---
1 files cha
In the next patches, the protocols will modify bs->open_flags to signify
that they cannot support the exact requested feature set. Pass the
modified flags to the format.
Signed-off-by: Paolo Bonzini
---
block.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/block.c b/b
On 01/26/2012 12:34 PM, Scott Wood wrote:
> On 01/24/2012 12:23 PM, Stefan Weil wrote:
>> I'd prefer a different solution. As far as I have understood,
>> the dtb is only useful with a kernel, so it could be handled
>> as an optional attribute to the -kernel parameter:
>>
>> -kernel IMAGE[,dtb=
The lockf() call in qemu_create_pidfile() aims at ensuring mutual
exclusion. We shouldn't close the pidfile on success, because that drops
the lock as well [1]:
"File locks shall be released on first close by the locking process
of any file descriptor for the file."
Coverity may complain
On 01/26/2012 02:13 PM, Luiz Capitulino wrote:
On Thu, 26 Jan 2012 20:41:13 +0100
Michal Privoznik wrote:
On 26.01.2012 20:35, Luiz Capitulino wrote:
On Thu, 26 Jan 2012 08:18:03 -0700
Eric Blake wrote:
[adding qemu-devel]
On 01/26/2012 07:46 AM, Daniel P. Berrange wrote:
One thing, that
On 01/26/2012 09:18 AM, Eric Blake wrote:
[adding qemu-devel]
On 01/26/2012 07:46 AM, Daniel P. Berrange wrote:
One thing, that you'll probably notice is this
'set-support-level' command. Basically, it tells GA what qemu version
is it running on. Ideally, this should be done as soon as
GA start
On 01/26/2012 01:35 PM, Luiz Capitulino wrote:
On Thu, 26 Jan 2012 08:18:03 -0700
Eric Blake wrote:
[adding qemu-devel]
On 01/26/2012 07:46 AM, Daniel P. Berrange wrote:
One thing, that you'll probably notice is this
'set-support-level' command. Basically, it tells GA what qemu version
is it
Public bug reported:
root@omap:~# uname -a
Linux omap 3.1.6-x6 #1 SMP Thu Dec 22 11:17:51 UTC 2011 armv7l armv7l
armv7l GNU/Linux
root@omap:~# qemu
Could not initialize KVM, will disable KVM support
/build/buildd/qemu-kvm-0.14.1+noroms/tcg/arm/tcg-target.c:848: tcg fatal error
** Affects: qemu
From: Anthony Liguori
Signed-off-by: Anthony Liguori
Split macio into two PCIDevices with declarative device ID,
macio-oldworld and macio-newworld. Drop is_oldworld state in favor
of two separate init functions and deferred creation.
Signed-off-by: Andreas Färber
Cc: Alexander Graf
---
Anth
Am 24.01.2012 20:32, schrieb Anthony Liguori:
> bus is always NULL so the code in this if clause is dead (and therefore
> untested).
>
> Signed-off-by: Anthony Liguori
> ---
> hw/openpic.c | 30 +++---
> hw/openpic.h |2 +-
> hw/ppc_newworld.c |2 +-
>
On 01/26/2012 09:18 AM, Eric Blake wrote:
[adding qemu-devel]
On 01/26/2012 07:46 AM, Daniel P. Berrange wrote:
One thing, that you'll probably notice is this
'set-support-level' command. Basically, it tells GA what qemu version
is it running on. Ideally, this should be done as soon as
GA start
I can reproduce this with upstream qemu - though i must point out that
to do so i had to change the definition of VGA_RAM_SIZE in hw/vga_int.h
to 16*1024*1024 (as it is in qemu-kvm) in order to be able to use the
default high resolution.
Command line was:
./x86_64-softmmu/qemu-system-x86_64 -vga
On Wed, 25 Jan 2012 15:09:41 +, Peter Maydell
wrote:
> On 24 January 2012 08:42, Rusty Russell wrote:
> > Reading through this, I see a lot of "- 32". Trivial patch follows,
> > which applies to your rebasing branch:
>
> (If you send patches as fresh new emails then they just apply
> with
This patch implements the RX channel of GRLIB UART with a FIFO to
improve data rate.
Signed-off-by: Fabien Chouteau
---
hw/grlib_apbuart.c | 99 ++-
trace-events |1 +
2 files changed, 90 insertions(+), 10 deletions(-)
diff --git a/hw/
On 26/01/2012 10:33, Avi Kivity wrote:
> The memory API returns -1 on unassigned reads, different from the original
> in exec.c, which returned zero.
Isn't this return value platform specific?
> This breaks grlib_uart; apparently some users depend on it.
>
> Fix by returning zero; however if rea
On 26/01/2012 14:55, Avi Kivity wrote:
> On 01/26/2012 03:45 PM, Fabien Chouteau wrote:
>> @@ -141,18 +219,19 @@ grlib_apbuart_write(void *opaque, target_phys_addr_t
>> addr,
>> static bool grlib_apbuart_accepts(void *opaque, target_phys_addr_t addr,
>>unsigned
This patch implements the RX channel of GRLIB UART with a FIFO to
improve data rate.
Signed-off-by: Fabien Chouteau
---
hw/grlib_apbuart.c | 106 +++
trace-events |1 +
2 files changed, 90 insertions(+), 17 deletions(-)
diff --git a/hw/
1 - 100 of 215 matches
Mail list logo