On 14/07/12 10:48, Blue Swirl wrote:
+cpu_physical_memory_write(sccb, &work_sccb,
+ be16_to_cpu(work_sccb.h.length));
>>>
>>> Perhaps the DMA helpers should be used instead.
>>>
>>
>> Is there any rule what to use under which circumstances.
>
> No, it's a
Il 15/07/2012 22:25, miny...@acm.org ha scritto:
> +/* Clear the property from this device so we can put it elsewhere */
> +chr = isa->chr;
> +qdev_prop_set_chr(&dev->qdev, "chardev", NULL);
> +
> +if (chr) {
> + bdev = qdev_create(NULL, "ipmi-bmc-extern");
> + qdev_prop_set
Il 16/07/2012 08:47, Erik Rull ha scritto:
>
>
> how can I disable a switch to the "parallel0" console when accidentially
> pressing Ctrl + Alt + 2?
>
> I don't need such a feature and it confuses some users of the running guest
> system (some language layouts have the @ placed on the 2 where yo
> On Fri, Jul 13, 2012 at 10:12:47AM +0100, Stefan Hajnoczi wrote:
On Tue, Jul 10, 2012 at 09:18:01AM +0200, Paolo Bonzini wrote:
Il 10/07/2012 07:37, Wenchao Xia ha scritto:
For getting the other metadata about the disk image you mention, another
possibility to is just make 'qemu-img info' re
On Fri, 13 Jul 2012 12:06:26 +0200, Alexander Graf wrote:
> > struct kvm_sregs {
> > +__u32 target;
> > +__u32 num_features;
> > +__u32 features[14];
> > };
>
> Are you sure you want to use sregs? We did the mistake of reusing it
> on ppc, but that doesn't mean you need to repeat the
On Fri, 13 Jul 2012 09:06:16 +0100, Peter Maydell
wrote:
> On 13 July 2012 04:37, Rusty Russell wrote:
> > Recent kernels use this to set the cpu and features (currently, only
> > the A15 is supported).
> >
> > Note that this causes the registers in the CPU to be initialized, so
> > it's importa
于 2012-7-13 17:27, Christoph Hellwig 写道:
On Fri, Jul 13, 2012 at 10:13:15AM +0100, Stefan Hajnoczi wrote:
How is that different from all the qemu-io commands?
qemu-io has no modes to just dumb the output without additional
information / statistics or for the write case just take user input
ins
On 16.07.2012, at 09:19, Rusty Russell wrote:
> On Fri, 13 Jul 2012 12:06:26 +0200, Alexander Graf wrote:
>>> struct kvm_sregs {
>>> +__u32 target;
>>> +__u32 num_features;
>>> +__u32 features[14];
>>> };
>>
>> Are you sure you want to use sregs? We did the mistake of reusing it
>>
On 07/16/2012 10:19 AM, Rusty Russell wrote:
> On Fri, 13 Jul 2012 12:06:26 +0200, Alexander Graf wrote:
>> > struct kvm_sregs {
>> > +__u32 target;
>> > +__u32 num_features;
>> > +__u32 features[14];
>> > };
>>
>> Are you sure you want to use sregs? We did the mistake of reusing it
>
On 07/12/2012 07:53 PM, Eric Blake wrote:
On 07/12/2012 10:55 AM, Pavel Hrdina wrote:
Signed-off-by: Pavel Hrdina
---
+++ b/qapi-schema.json
@@ -1868,3 +1868,25 @@
# Since: 0.14.0
##
{ 'command': 'netdev_del', 'data': {'id': 'str'} }
+
+##
+# @savevm:
+#
+# Create a snapshot of the whole v
On 07/12/2012 07:59 PM, Eric Blake wrote:
On 07/12/2012 10:55 AM, Pavel Hrdina wrote:
Signed-off-by: Pavel Hrdina
---
hmp-commands.hx |2 +-
hmp.c| 10 ++
hmp.h|1 +
qapi-schema.json | 17 +
qmp-commands.hx | 24 ++
On Mon, Jul 16, 2012 at 03:10:25AM +0100, agraham wrote:
> On 07/16/2012 01:03 AM, malc wrote:
> >On Sun, 15 Jul 2012, agraham wrote:
> >
> >[..snip..]
> >
> >>
> >>I've found the root cause and hopefully you should be able to reproduce the
> >>issue.
> >>
> >>There was a configure option introduce
On Mon, Jul 16, 2012 at 11:23 AM, Dunrong Huang wrote:
> 2012/7/16 Jing Huang :
>> This patch makes do_setsockopt() support SOL_RAW ICMP_FILTER socket option.
>>
>> Signed-off-by: Jing Huang
>> ---
>> linux-user/syscall.c | 20
>> 1 files changed, 20 insertions(+), 0 delet
On 07/12/2012 08:03 PM, Eric Blake wrote:
On 07/12/2012 10:55 AM, Pavel Hrdina wrote:
Signed-off-by: Pavel Hrdina
---
+++ b/qapi-schema.json
@@ -934,6 +934,41 @@
{ 'command': 'query-block-jobs', 'returns': ['BlockJobInfo'] }
##
+# @SnapshotInfo:
+#
+# Snapshot list. This structure conta
于 2012-7-13 19:33, Paolo Bonzini 写道:
Il 13/07/2012 11:51, Paolo Bonzini ha scritto:
Il 13/07/2012 11:16, Stefan Hajnoczi ha scritto:
"Working around the QEMU block layer license" is not a goal per se,
especially because you haven't a) assessed _what_ is the GPL code that
the library would use;
Il 16/07/2012 10:16, Wenchao Xia ha scritto:
>>
> Really thanks for the investigation, I paid quite sometime to dig out
> which license is compatible to LGPL, this have sorted it out.
> The coroutine and structure inside is quite a challenge.
Coroutines are really just a small complication in
Signed-off-by: Pavel Hrdina
---
hw/fdc.c |6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/hw/fdc.c b/hw/fdc.c
index edf0706..decb1f7 100644
--- a/hw/fdc.c
+++ b/hw/fdc.c
@@ -1705,7 +1705,8 @@ static void fdctrl_handle_relative_seek_out(FDCtrl
*fdctrl, int direction)
On Sat, Jul 14, 2012 at 01:55:07AM +0300, Lluís Vilanova wrote:
> Paolo Bonzini writes:
>
> > Il 13/07/2012 11:51, Paolo Bonzini ha scritto:
> >> Il 13/07/2012 11:16, Stefan Hajnoczi ha scritto:
> "Working around the QEMU block layer license" is not a goal per se,
> especially because yo
This patch series is part 2 in my EventNotifier/AIO improvements
for QEMU 1.2. It extends use of EventNotifier to the main loop
and AIO subsystems. A new API using EventNotifier is added to aio.c
and a new portable thread pool is introduced (based on code from
posix-aio-compat.c, mostly) that use
This takes the eventfd emulation code from the main loop and adds it
to EventNotifier. When the EventNotifier is used for the main loop too,
we need this compatibility code.
Without CONFIG_EVENTFD, event_notifier_get_fd is only usable for the
"read" side of the notifier, for example to set a sele
The thread pool can be used under Win32 in the same way as in raw-posix.c.
Move the existing synchronous code into callbacks, and pass the return
code back.
Signed-off-by: Paolo Bonzini
---
block/raw-win32.c | 189 +++--
1 file changed, 140 insert
This is not meant for portability, but to remove code duplication.
Signed-off-by: Paolo Bonzini
---
block/raw-posix-aio.h |1 -
block/raw-posix.c |5 -
posix-aio-compat.c| 433 +
3 files changed, 42 insertions(+), 397 deletions(-)
On 07/16/2012 09:12 AM, Daniel P. Berrange wrote:
On Mon, Jul 16, 2012 at 03:10:25AM +0100, agraham wrote:
On 07/16/2012 01:03 AM, malc wrote:
On Sun, 15 Jul 2012, agraham wrote:
[..snip..]
I've found the root cause and hopefully you should be able to reproduce the
issue.
There was a confi
Add a generic thread-pool. The code is roughly based on posix-aio-compat.c,
with some changes, especially the following:
- use QemuSemaphore instead of QemuCond;
- separate the state of the thread from the return code of the worker
function. The return code is totally opaque for the thread pool
On Sun, Jul 15, 2012 at 03:49:13PM +0200, Stefan Weil wrote:
> One of the buildbot jobs should be configured with all sound options:
>
> --audio-card-list=ac97,es1370,sb16,cs4231a,adlib,gus,hda
> --audio-drv-list=alsa,sdl,oss,esd,pa
> --enable-mixemu
>
> That would have detected this bug (and mor
On Sun, Jul 15, 2012 at 09:38:25PM +0200, Laszlo Ersek wrote:
> ... after commit 417c9d72 ("configure: add -Werror to QEMU_CFLAGS early")
>
> Signed-off-by: Laszlo Ersek
> ---
> configure |2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
Thanks, applied to the trivial patches tree:
Making the qemu_paiocb specific to raw devices will let us access members
of the BDRVRawState arbitrarily.
Signed-off-by: Paolo Bonzini
---
Makefile.objs |1 -
block/raw-posix-aio.h |8 --
block/raw-posix.c | 294 +++
posix-aio-compat.
On Sun, Jul 15, 2012 at 7:55 AM, Deep Debroy wrote:
> On Thu, Jul 12, 2012 at 6:08 AM, Gerd Hoffmann wrote:
>> $subject says all. First cut.
>>
>> It's a pure UAS (usb attached scsi) emulation, without BOT (bulk-only
>> transport) compatibility. If your guest can't handle it use usb-storage
>>
Signed-off-by: Paolo Bonzini
---
block/{raw-posix-aio.h => raw-aio.h} | 10 ++
block/raw-posix.c|2 +-
linux-aio.c |2 +-
3 files changed, 8 insertions(+), 6 deletions(-)
rename block/{raw-posix-aio.h => raw-aio.h} (86%)
diff --git
On Sat, Jul 14, 2012 at 4:52 AM, Eknath Venkataramani
wrote:
> Has the GSoC 2012 project "In process NBD server" completed?
No patches have been posted. I CCed folks I have spoken to about this
feature, maybe they have some code.
> If it hasn't, what would be a good way to pull out (only) files
Signed-off-by: Paolo Bonzini
---
Makefile.objs |4 +--
main-loop.c | 106 -
oslib-posix.c | 31 -
qemu-common.h |1 -
4 files changed, 17 insertions(+), 125 deletions(-)
diff --git a/Makefile.objs b/Makefile.obj
This adds to aio.c a platform-independent API based on EventNotifiers, that
can be used by the portable thread pool.
Signed-off-by: Paolo Bonzini
---
aio.c |9 +
qemu-aio.h | 19 ++-
2 files changed, 27 insertions(+), 1 deletion(-)
diff --git a/aio.c b/aio.c
i
Since linux-aio already uses an eventfd, converting it to use the
EventNotifier-based API simplifies the code even though it is not
meant to be portable.
Signed-off-by: Paolo Bonzini
---
linux-aio.c | 49 +++--
1 file changed, 19 insertions(+), 30 de
The Win32 implementation only accepts EventNotifiers, thus a few
drivers are disabled under Windows. It is possible to use the
same techniques in main-loop.c and reenable them; alternatively,
the drivers can be changed to use threads instead of non-blocking
I/O.
Signed-off-by: Paolo Bonzini
---
On Thu, Jul 12, 2012 at 2:02 PM, Kevin Wolf wrote:
> Almost all callers of create_iovec() forgot to destroy the qiov when the
> request has completed.
>
> Signed-off-by: Kevin Wolf
> ---
> qemu-io.c |4
> 1 files changed, 4 insertions(+), 0 deletions(-)
Reviewed-by: Stefan Hajnoczi
The new thread pool will use semaphores instead of condition
variables, because QemuCond does not have qemu_cond_timedwait.
(I also like it more this way, since semaphores model well the
producer-consumer problem).
Signed-off-by: Paolo Bonzini
---
qemu-thread-posix.c | 74 +
The Win32 implementation of EventNotifier is a trivial wrapper
around manual-reset events.
Signed-off-by: Paolo Bonzini
---
Makefile.objs |4 +-
event_notifier.c => event_notifier-posix.c |0
event_notifier-win32.c | 59 +
On 2012-07-16 12:42, Paolo Bonzini wrote:
> The new thread pool will use semaphores instead of condition
> variables, because QemuCond does not have qemu_cond_timedwait.
I'll post an updated patch (according to last round's review comments)
that adds this service for POSIX. I bet you'll find a way
First user will be POSIX compat aio. Windows use cases aren't in sight,
so this remains a POSIX-only service for now.
This version uses CLOCK_MONOTONIC for the timeout to avoid jumps on wall
clock adjustments, provided the host support pthread_condattr_setclock.
Signed-off-by: Jan Kiszka
---
co
Signed-off-by: Pavel Hrdina
---
tests/fdc-test.c | 46 -
1 file changed, 41 insertions(+), 5 deletions(-)
diff --git a/tests/fdc-test.c b/tests/fdc-test.c
index 585fb0e..4bc3515 100644
--- a/tests/fdc-test.c
+++ b/tests/fdc-test.c
@@ -47,9 +
Signed-off-by: Pavel Hrdina
---
hw/fdc.c |6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/hw/fdc.c b/hw/fdc.c
index edf0706..decb1f7 100644
--- a/hw/fdc.c
+++ b/hw/fdc.c
@@ -1705,7 +1705,8 @@ static void fdctrl_handle_relative_seek_out(FDCtrl
*fdctrl, int direction)
On (Fri) 06 Jul 2012 [16:07:06], Amit Shah wrote:
> The current virtqueue_avail_bytes() is a weird API: it's oddly-named:
> doesn't tell us what the API is going to do, and also suits just one
> use-case (that in virtio-net.c).
>
> Introduce virtqueue_get_avail_bytes(), which returns the number of
From: Michal Novotny
The description for set_password and expire_password commands is
incomplete. This patch fixes the man page that is being generated
to match the real behaviour of these functions.
Signed-off-by: Michal Novotny
---
qemu-options.hx | 17 +++--
1 file changed, 15
Il 16/07/2012 14:00, Jan Kiszka ha scritto:
> On 2012-07-16 12:42, Paolo Bonzini wrote:
>> The new thread pool will use semaphores instead of condition
>> variables, because QemuCond does not have qemu_cond_timedwait.
>
> I'll post an updated patch (according to last round's review comments)
> tha
Am 16.07.2012 14:25, schrieb Pavel Hrdina:
> Signed-off-by: Pavel Hrdina
> ---
> hw/fdc.c |6 --
> 1 file changed, 4 insertions(+), 2 deletions(-)
I applied both to the block branch for now. This restores the behaviour
as it was before 6be01b1e. However, I believe it is still wrong: The
Add support for reading device tree properties (both generic
and single-cell ones) to QEMU's convenience wrapper layer.
Signed-off-by: Peter Maydell
---
device_tree.c | 30 ++
device_tree.h |4
2 files changed, 34 insertions(+), 0 deletions(-)
diff --git a
Support the case where the device tree blob specifies that
#address-cells and #size-cells are greater than 1. (This
is needed for device trees which can handle 64 bit physical
addresses and thus total RAM sizes over 4GB.)
Signed-off-by: Peter Maydell
Reviewed-by: Peter A. G. Crosthwaite
---
hw/
On 07/16/2012 03:24 PM, Kevin Wolf wrote:
Am 16.07.2012 14:25, schrieb Pavel Hrdina:
Signed-off-by: Pavel Hrdina
---
hw/fdc.c |6 --
1 file changed, 4 insertions(+), 2 deletions(-)
I applied both to the block branch for now. This restores the behaviour
as it was before 6be01b1e. How
On 07/16/2012 03:26 PM, Pavel Hrdina wrote:
On 07/16/2012 03:24 PM, Kevin Wolf wrote:
Am 16.07.2012 14:25, schrieb Pavel Hrdina:
Signed-off-by: Pavel Hrdina
---
hw/fdc.c |6 --
1 file changed, 4 insertions(+), 2 deletions(-)
I applied both to the block branch for now. This restores
From: Peter Maydell
This patchset adds support for booting with >4GB of RAM on the
Versatile Express Cortex-A15 model. There are some caveats:
* you need an LPAE A15 kernel
* you need to be booting with device tree
* your device tree blob needs to specify #address-cells and
#size-cells as 2
On 2012-07-16 15:20, Paolo Bonzini wrote:
> Il 16/07/2012 14:00, Jan Kiszka ha scritto:
>> On 2012-07-16 12:42, Paolo Bonzini wrote:
>>> The new thread pool will use semaphores instead of condition
>>> variables, because QemuCond does not have qemu_cond_timedwait.
>>
>> I'll post an updated patch (
Il 16/07/2012 15:34, Jan Kiszka ha scritto:
> On 2012-07-16 15:20, Paolo Bonzini wrote:
>> Il 16/07/2012 14:00, Jan Kiszka ha scritto:
>>> On 2012-07-16 12:42, Paolo Bonzini wrote:
The new thread pool will use semaphores instead of condition
variables, because QemuCond does not have qemu_
Clean up the mix of getting the RAM size from the global ram_size
and from the ram_size field in the arm_boot_info structure, so
that we always use the structure field.
Signed-off-by: Peter Maydell
Reviewed-by: Peter A. G. Crosthwaite
---
hw/arm_boot.c |5 +++--
1 files changed, 3 insertion
Make the RAM size in arm_boot_info a uint64_t so it can express
the larger RAM sizes that may be seen in LPAE systems.
Signed-off-by: Peter Maydell
---
hw/arm-misc.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/hw/arm-misc.h b/hw/arm-misc.h
index 1f96229..bdd8fec 100
The legacy ATAGS format for passing information to the kernel only
allows RAM sizes which fit in 32 bits; enforce this restriction
rather than silently doing something weird.
Signed-off-by: Peter Maydell
---
hw/arm_boot.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --gi
Signed-off-by: Pavel Hrdina
---
hw/fdc.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/hw/fdc.c b/hw/fdc.c
index edf0706..9f84931 100644
--- a/hw/fdc.c
+++ b/hw/fdc.c
@@ -1695,7 +1695,7 @@ static void
fdctrl_handle_drive_specification_command(FDCtrl *fdctrl, in
Signed-off-by: Pavel Hrdina
---
tests/fdc-test.c | 46 +-
1 file changed, 41 insertions(+), 5 deletions(-)
diff --git a/tests/fdc-test.c b/tests/fdc-test.c
index 585fb0e..10d11a4 100644
--- a/tests/fdc-test.c
+++ b/tests/fdc-test.c
@@ -47,9 +47,11 @@
On 2012-07-16 15:35, Paolo Bonzini wrote:
> Il 16/07/2012 15:34, Jan Kiszka ha scritto:
>> On 2012-07-16 15:20, Paolo Bonzini wrote:
>>> Il 16/07/2012 14:00, Jan Kiszka ha scritto:
On 2012-07-16 12:42, Paolo Bonzini wrote:
> The new thread pool will use semaphores instead of condition
From: Michal Novotny
This is the patch to improve description for -{read|write}config
functions.
Signed-off-by: Michal Novotny
---
qemu-options.hx |8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/qemu-options.hx b/qemu-options.hx
index e15252e..97245a3 100644
---
From: Michal Novotny
This patch improves the description of -nodefaults QEMU command line
option by adding more information what is being disabled using this
command.
Signed-off-by: Michal Novotny
---
qemu-options.hx |5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/qe
Am 16.07.2012 15:48, schrieb Pavel Hrdina:
> Signed-off-by: Pavel Hrdina
Thanks, applied both to the block branch.
Kevin
Now that we have LPAE support and can handle passing 64 bit
RAM sizes to Linux via the device tree, we can lift the
restriction in the Versatile Express A15 daughterboard model
on not having more than 2GB of RAM. Allow up to 30GB, which
is the maximum that can fit in the address map before running
Il 16/07/2012 15:53, Jan Kiszka ha scritto:
>> >
>> > qemu_cond_wait only uses WaitForSingleObject with INFINITE timeout, and
>> > the algorithm relies on that.
> I see. But this doesn't look complex awfully. Just move the waker
> signaling from within cond_wait under the mutex as well, maybe add
On 2012-07-16 16:03, Paolo Bonzini wrote:
> Il 16/07/2012 15:53, Jan Kiszka ha scritto:
qemu_cond_wait only uses WaitForSingleObject with INFINITE timeout, and
the algorithm relies on that.
>> I see. But this doesn't look complex awfully. Just move the waker
>> signaling from within
Il 16/07/2012 16:09, Jan Kiszka ha scritto:
> On 2012-07-16 16:03, Paolo Bonzini wrote:
>> Il 16/07/2012 15:53, Jan Kiszka ha scritto:
>
> qemu_cond_wait only uses WaitForSingleObject with INFINITE timeout, and
> the algorithm relies on that.
>>> I see. But this doesn't look complex awf
On Sat, 2012-07-14 at 12:34 +1000, Alexey Kardashevskiy wrote:
> On 14/07/12 01:07, Alex Williamson wrote:
> > On Fri, 2012-07-13 at 17:26 +1000, Alexey Kardashevskiy wrote:
> >> It literally does the following:
> >>
> >> 1. POWERPC IOMMU support (the kernel counterpart is required)
> >>
> >> 2. Th
This adds an event for changes to LUN parameters, for example capacity. These
are reported in virtio-blk via configuration changes, and we want a similar
functionality in virtio-scsi too.
There is no list of supported parameter changes, instead we just refer to
the list of sense codes in the SCSI
All currently defined event structs have the same fields. Simplify the
driver by enforcing this also for future structs.
Signed-off-by: Paolo Bonzini
---
virtio-spec.lyx | 69 +++
1 file changed, 65 insertions(+), 4 deletions(-)
diff --git
This makes some changes to the virtio-scsi event specification, so that
it is now possible to use virtio-scsi events in the implementation of
the QEMU "block_resize" command.
Thanks to Cong Meng for finally implementing virtio-scsi hotplug, which
made me look at block_resize again!
Paolo Bonzini
This series adds support for block_resize to virtio-scsi. Events
are reported via a new event type. Patches to the spec are on the
list.
Paolo Bonzini (5):
scsi-disk: removable hard disks support START/STOP
scsi-disk: report resized disk via sense codes
scsi: establish precedence levels fo
On 16 July 2012 11:13, Jing Huang wrote:
> This patch pass sockaddr from host to target.
>
> Signed-off-by: Jing Huang
> ---
> linux-user/syscall.c | 10 +-
> 1 files changed, 9 insertions(+), 1 deletions(-)
>
> diff --git a/linux-user/syscall.c b/linux-user/syscall.c
> index 539af3f..
Hi Pavel,
you said you have a real floppy drive around. Would you mind giving the cases
from patch 2 a try on it? The spec wasn't entirely clear to me, so the values
in the test case depend more on guessing than on knowledge.
I'm pretty sure that qemu is buggy there, though, so if you like to fix
Readability of the test code has suffered as the test case evolved. This
should improve it a bit again.
Signed-off-by: Kevin Wolf
---
tests/fdc-test.c | 36
1 files changed, 20 insertions(+), 16 deletions(-)
diff --git a/tests/fdc-test.c b/tests/fdc-test.c
TODO This needs to be checked against a real drive
Signed-off-by: Kevin Wolf
---
tests/fdc-test.c | 48 +---
1 files changed, 37 insertions(+), 11 deletions(-)
diff --git a/tests/fdc-test.c b/tests/fdc-test.c
index fa74411..56e745a 100644
--- a/test
On 16 July 2012 11:14, Jing Huang wrote:
> This patch makes do_setsockopt() support SOL_RAW ICMP_FILTER socket option.
>
> Signed-off-by: Jing Huang
> ---
> linux-user/syscall.c | 20
> 1 files changed, 20 insertions(+), 0 deletions(-)
>
> diff --git a/linux-user/syscall.c
Signed-off-by: Paolo Bonzini
---
hw/scsi-bus.c | 10 ++
hw/scsi-disk.c |2 +-
hw/scsi.h |2 ++
3 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/hw/scsi-bus.c b/hw/scsi-bus.c
index d5e1fb0..77aa946 100644
--- a/hw/scsi-bus.c
+++ b/hw/scsi-bus.c
@@ -1072,6 +107
When a device is resized, we will report a unit attention condition
for CAPACITY DATA HAS CHANGED. However, we should ensure that this
condition does not override a more important unit attention condition.
Signed-off-by: Paolo Bonzini
---
hw/scsi-bus.c | 52 ++
On 07/14/2012 06:34 AM, Blue Swirl wrote:
> Qualifier 'volatile' is not useful for applications, it's too strict
> for single threaded code but does not give the real atomicity guarantees
> needed for multithreaded code.
>
> Drop them and now useless casts.
>
> -static inline void set_bit(int nr
On 16 July 2012 11:15, Jing Huang wrote:
> This patch excludes SO_TIMESTAMP cmsg_type from unsuppoted ancillary data.
"unsupported".
>
> Signed-off-by: Jing Huang
> ---
> linux-user/syscall.c |4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/linux-user/syscall.c
Signed-off-by: Paolo Bonzini
---
hw/virtio-scsi.c | 16
1 file changed, 16 insertions(+)
diff --git a/hw/virtio-scsi.c b/hw/virtio-scsi.c
index 83dbabd..80a47d7 100644
--- a/hw/virtio-scsi.c
+++ b/hw/virtio-scsi.c
@@ -27,6 +27,7 @@
/* Feature Bits */
#define VIRTIO_SCSI_F_IN
Linux will not use these, but a very similar mechanism will be used to
report the condition via virtio-scsi events.
Signed-off-by: Paolo Bonzini
---
hw/scsi-bus.c |5 +
hw/scsi-disk.c | 15 +++
hw/scsi.h |2 ++
3 files changed, 18 insertions(+), 4 deletions(-)
di
Support for START/STOP UNIT right now is limited to CD-ROMs. This is wrong,
since removable hard disks (in the real world: SD card readers) also support
it in pretty much the same way.
Signed-off-by: Paolo Bonzini
---
hw/scsi-disk.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
(fixed mailing list)
On 07/16/2012 03:37 PM, X O wrote:
> Hello,
>
> I suspect upgrading my system to glibc-2.15 was a mistake. It seems to
> be qemu-1.0.1, and latter versions including qemu-1.1.1, can't be
> compiled anymore. Yes, I did search around and that led me to glibc,
> resp. http://sou
On 07/14/2012 03:34 PM, Blue Swirl wrote:
> bitops.h uses inconsistently 'unsigned long' and 'int' for bit numbers.
>
> Unify to 'unsigned long' because it generates better code on x86_64.
> Adjust asserts accordingly.
>
Actually, plain unsigned generates the best code. unsigned longs
require
Add a new QError QERR_PROPERTY_SET_AFTER_REALIZE for attempts
to set a QOM or qdev property after the object/device has been
realized. This allows a slightly more informative diagnostic
than the previous "permission denied" message.
Signed-off-by: Peter Maydell
---
Changes since the v1 (which was
On 07/14/2012 08:45 AM, siddharth srivastava wrote:
> Hi
>
> I have been exploring various live migration ways that qemu supports.
> In the Qemu Migration documentation at: [1], it is only mentioned how
> to invoke tcp and exec migration schemes.
> But there is no mention of unix and fd migration
On 14 July 2012 13:34, Blue Swirl wrote:
> bitops.h uses inconsistently 'unsigned long' and 'int' for bit numbers.
>
> Unify to 'unsigned long' because it generates better code on x86_64.
> Adjust asserts accordingly.
Still disagree with this patch, for the record.
-- PMM
On 07/15/2012 07:54 AM, Stefan Weil wrote:
> Since commit 417c9d72d48275d19c60861896efd4962d21aca2 all configure tests
> normally run with -Werror. Some of these tests now fail because they
> raised a compiler warning.
>
> This patch fixes support for capabilities.
>
> Signed-off-by: Stefan Weil
On 07/15/2012 01:54 PM, Stefan Weil wrote:
> Am 15.07.2012 22:26, schrieb Mike Frysinger:
>> We should not quote the PKG_CONFIG setting as this deviates from the
>> canonical upstream behavior that gets integrated with all other build
>> systems, and deviates from how we treat all other toolchain v
On 16 July 2012 16:35, Eric Blake wrote:
> On 07/15/2012 07:54 AM, Stefan Weil wrote:
>> Since commit 417c9d72d48275d19c60861896efd4962d21aca2 all configure tests
>> normally run with -Werror. Some of these tests now fail because they
>> raised a compiler warning.
> Nothing wrong with this patch,
On 07/15/2012 02:24 PM, miny...@acm.org wrote:
> From: Corey Minyard
>
> There was no way to directly add a table entry to the SMBIOS table,
> even though the BIOS supports this. So add a function to do this.
> This is in preparation for the IPMI handler adding it's SMBIOS table
> entry.
>
> Si
Am 16.07.2012 17:39, schrieb Eric Blake:
On 07/15/2012 01:54 PM, Stefan Weil wrote:
Am 15.07.2012 22:26, schrieb Mike Frysinger:
We should not quote the PKG_CONFIG setting as this deviates from the
canonical upstream behavior that gets integrated with all other build
systems, and deviates from
On 5 July 2012 05:04, Peter A. G. Crosthwaite
wrote:
> From: Igor Mitsyanko
>
> Custom Exynos4210 SD/MMC host controller, based on SD association standard
> host
> controller ver. 2.00.
>
> Signed-off-by: Igor Mitsyanko
> ---
> changed from v4 (Igor):
> set irq on SLOTINT status instead of inte
On 07/16/2012 05:40 PM, Peter Maydell wrote:
On 16 July 2012 16:35, Eric Blake wrote:
On 07/15/2012 07:54 AM, Stefan Weil wrote:
Since commit 417c9d72d48275d19c60861896efd4962d21aca2 all configure tests
normally run with -Werror. Some of these tests now fail because they
raised a compiler warn
On 5 July 2012 05:04, Peter A. G. Crosthwaite
wrote:
> Allows for repeating of -sd arguments in the same way as -pflash and
> -mtdblock.
>
> Signed-off-by: Peter A. G. Crosthwaite
> Acked-by: Igor Mitsyanko
Reviewed-by: Peter Maydell
-- PMM
On 5 July 2012 05:04, Peter A. G. Crosthwaite
wrote:
> The Xilinx Zynq device has two SDHCI controllers. Added to the machine model.
>
> Signed-off-by: Peter A. G. Crosthwaite
Reviewed-by: Peter Maydell
-- PMM
On Mon, Jul 16, 2012 at 5:14 PM, Avi Kivity wrote:
> (fixed mailing list)
>
> On 07/16/2012 03:37 PM, X O wrote:
>> Hello,
>>
>> I suspect upgrading my system to glibc-2.15 was a mistake. It seems to
>> be qemu-1.0.1, and latter versions including qemu-1.1.1, can't be
>> compiled anymore. Yes, I d
Peter, do you have a second to look at this? I've got a new test in
tests/tcg that checks fprem correctness (or at least compares with
h/w...) that depends on this.
On Fri, Jul 13, 2012 at 4:44 AM, 陳韋任 (Wei-Ren Chen)
wrote:
> Tested-by: Wei-Ren Chen
>
> On Fri, Jul 13, 2012 at 02:55:13AM -0400,
On 16 July 2012 18:24, Alexander Graf wrote:
> On 07/16/2012 05:40 PM, Peter Maydell wrote:
>> Hmm, good point -- unlike the actual program compile, failures
>> due to -Werror inside configure are silent and near-invisible.
>> Maybe we should back out 417c9d72 ?
>
> So how do we deal with the orig
On 16.07.2012, at 20:28, Peter Maydell wrote:
> On 16 July 2012 18:24, Alexander Graf wrote:
>> On 07/16/2012 05:40 PM, Peter Maydell wrote:
>>> Hmm, good point -- unlike the actual program compile, failures
>>> due to -Werror inside configure are silent and near-invisible.
>>> Maybe we should b
1 - 100 of 131 matches
Mail list logo