Anthony Liguori anth...@codemonkey.ws writes:
On 01/20/2010 06:07 AM, Markus Armbruster wrote:
Signed-off-by: Markus Armbrusterarm...@redhat.com
---
monitor.c |4 ++--
qemu-monitor.hx |3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/monitor.c
Am 26.01.2010 22:37, schrieb Anthony Liguori:
On 01/20/2010 08:02 AM, Kevin Wolf wrote:
Return the appropriate error value instead of always using EIO. Don't free
the
L1 table on errors, we still need it.
Signed-off-by: Kevin Wolfkw...@redhat.com
Applied all. Thanks.
Do you
On Tue, Jan 26, 2010 at 10:44:44PM +0100, Stefan Weil wrote:
Michael S. Tsirkin schrieb:
Verify that stdio.h supports %lld %zd.
Some migw variants don't unless requested explicitly (see
migw - mingw
I don't know any ming32 variant which supports %lld, %zd.
There is a new mingw-w64 were
This patch makes it possible for gPXE under QEMU/KVM to fetch files from the
host using the fw_cfg file interface. This means gPXE in the guest can fetch an
exposed file from the host without using networking.
I believe this feature will be useful to management software so that
network boot
On 01/27/10 01:07, Anthony Liguori wrote:
On 01/25/2010 06:54 AM, Stefano Stabellini wrote:
Hi all,
this patch fixes another bug in vnc_refresh: calling vnc_update_client
might cause vs to be free()ed, in this case we cannot access vs-next
right after to examine the next item on the list.
On 01/27/10 03:10, Anthony Liguori wrote:
On 01/26/2010 05:14 PM, Paolo Bonzini wrote:
Signed-off-by: Paolo Bonzinipbonz...@redhat.com
---
vnc.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/vnc.c b/vnc.c
index cc2a26e..9ebee09 100644
--- a/vnc.c
+++ b/vnc.c
@@ -2563,6
gPXE imgfetch fw_cfg:genroms/static.gpxe
Neat idea. On the qemu side we better shouldn't abuse the -option-rom
switch though as seabios will try to load these files as option roms.
Note that this patch only adds the fw_cfg file interface mechanism, it does not
automatically probe for a
On 01/06/10 15:23, Gerd Hoffmann wrote:
Fix the floppy controller init wrappers to set the drive properties
only in case the DriveInfo pointers passed in are non NULL. This allows
to set the properties using -global.
Signed-off-by: Gerd Hoffmannkra...@redhat.com
Ping. This patch seems to
On 01/27/2010 03:10 AM, Anthony Liguori wrote:
What did clang complain about? It's not obvious to me.
It doesn't see that audio_bug returns cond, and gives quite a few false
positive in its callers.
Paolo
Check whether sdl-config is available before calling it, otherwise
./configure triggers a warning:
./configure: 957: sdl-config: not found
If neither the .pc file not sdl-config are present, disable SDL support.
Signed-off-by: Loïc Minier l...@dooz.org
---
configure |7 ++-
1 files
Add has() and path_of() funcs and use them across configure; has()
will test whether a command or builtin is available; path_of() will
search the PATH for executables and return the full pathname if found.
---
configure | 52 +++-
1 files changed,
---
configure |8 +++-
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/configure b/configure
index 6bdd2b7..1d0915a 100755
--- a/configure
+++ b/configure
@@ -803,21 +803,19 @@ fi
# Solaris specific configure tool chain decisions
#
if test $solaris = yes ; then
-
If an I/O request fails right away instead of getting an error only in the
callback, we still need to consider rerror/werror.
Signed-off-by: Kevin Wolf kw...@redhat.com
---
hw/virtio-blk.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/virtio-blk.c
Current code assumes that only write requests are ever going to be restarted.
This is wrong since rerror=stop exists. Instead of directly starting writes,
use the same request processing as used for new requests.
Signed-off-by: Kevin Wolf kw...@redhat.com
---
hw/virtio-blk.c | 11 +--
This fixes two bugs in the handling of rerror/werror in virtio-blk. First is a
fix for read requests morphing into write requests after the VM was stopped by
a read error. Second is to consider rerror/werror in places where virtio-blk
used to directly report errors back.
This series should be
We need a function that handles a single request. Create one by splitting out
code from virtio_blk_handle_output.
Signed-off-by: Kevin Wolf kw...@redhat.com
---
hw/virtio-blk.c | 78 --
1 files changed, 46 insertions(+), 32 deletions(-)
diff
On Wed, 27 Jan 2010, Gerd Hoffmann wrote:
On 01/27/10 01:07, Anthony Liguori wrote:
On 01/25/2010 06:54 AM, Stefano Stabellini wrote:
Hi all,
this patch fixes another bug in vnc_refresh: calling vnc_update_client
might cause vs to be free()ed, in this case we cannot access vs-next
right
On Tue, Jan 26, 2010, Blue Swirl wrote:
The patches didn't apply. Also please send only one patch per message,
git am can't handle multiple patches.
They applied fine here, perhaps you didn't apply the sdl-config patch
first? I rebased them and resent them.
--
Loïc Minier
On Wed, Jan 27, 2010 at 7:10 AM, Loïc Minier l...@dooz.org wrote:
Check whether sdl-config is available before calling it, otherwise
./configure triggers a warning:
./configure: 957: sdl-config: not found
If neither the .pc file not sdl-config are present, disable SDL support.
From: Riku Voipio riku.voi...@nokia.com
Access the cp15.c13 TLS registers directly with TCG ops instead of with
a slow helper. If the the cp15 read/write was not TLS register access,
fall back to the cp15 helper.
This makes accessing __thread variables in linux-user when apps are compiled
with
From: Riku Voipio riku.voi...@nokia.com
Some fixes to avoid hanging, make arm uname match selected
cpu, and fix cp15.c13 register for linux-user tls register
access.
Loïc Minier (1):
linux-user: adapt uname machine to emulated CPU
Riku Voipio (3):
fix locking error with current_tb
From: Loïc Minier l...@dooz.org
This patch for linux-user adapts the output of the emulated uname()
syscall to match the configured CPU. Tested with x86, x86-64 and arm
emulation.
Signed-off-by: Riku Voipio riku.voi...@iki.fi
Signed-off-by: Loïc Minier l...@dooz.org
---
Makefile.target
From: Riku Voipio riku.voi...@nokia.com
Qemu may hang in host_signal_handler after qemu has done a
seppuku with cpu_abort(). But at this stage we are not really
interested in target process coredump anymore, so unregister
host_signal_handler to die grafefully.
Signed-off-by: Riku Voipio
From: Riku Voipio riku.voi...@nokia.com
Signed-off-by: Riku Voipio riku.voi...@nokia.com
---
exec.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/exec.c b/exec.c
index 76831a1..431e104 100644
--- a/exec.c
+++ b/exec.c
@@ -1537,15 +1537,15 @@ static void
Glad to see someone working on Solaris. Wondering why you're using
the which command, when you just created a has function in the other
patch segments, and just replaced all the other instances of which.
This is patch 1/3, patch 2/3 creates has and uses it here too.
Paolo
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
target-i386/translate.c |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/target-i386/translate.c b/target-i386/translate.c
index 8078112..a597e80 100644
--- a/target-i386/translate.c
+++ b/target-i386/translate.c
@@
All of these should be quite uncontroversial.
I'll propose the second patch for 0.12 after a short while.
v1 - v2:
redid vnc patch (4/6)
Paolo Bonzini (6):
remove two dead assignments in target-i386/translate.c
fix undefined shifts by 32
exec.c: dead assignments
vnc.c: remove dead
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
vl.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/vl.c b/vl.c
index 5e8c775..d9f1ccb 100644
--- a/vl.c
+++ b/vl.c
@@ -2373,9 +2373,9 @@ static void numa_add(const char *optarg)
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
exec.c |4
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/exec.c b/exec.c
index 1190591..64109a7 100644
--- a/exec.c
+++ b/exec.c
@@ -2489,17 +2489,13 @@ void *qemu_get_ram_ptr(ram_addr_t addr)
ram_addr_t
to= has always been handled by qemu-sockets.c's inet_listen, not by vnc.c.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
vnc.c |3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/vnc.c b/vnc.c
index cc2a26e..69d6624 100644
--- a/vnc.c
+++ b/vnc.c
@@ -2535,7 +2535,6
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
usb-linux.c |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/usb-linux.c b/usb-linux.c
index 1aaa595..ba8facf 100644
--- a/usb-linux.c
+++ b/usb-linux.c
@@ -1007,11 +1007,9 @@ USBDevice *usb_host_device_open(const char
By making the abort condition visible in the caller, this fixes
several false positives in the audio code.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
audio/audio.c | 44
audio/audio_int.h |3 ++-
2 files changed, 22 insertions(+),
On Wed, Jan 27, 2010 at 1:49 PM, Riku Voipio riku.voi...@iki.fi wrote:
From: Riku Voipio riku.voi...@nokia.com
Access the cp15.c13 TLS registers directly with TCG ops instead of with
a slow helper. If the the cp15 read/write was not TLS register access,
fall back to the cp15 helper.
This
On 01/27/2010 06:29 AM, Stefano Stabellini wrote:
On Wed, 27 Jan 2010, Gerd Hoffmann wrote:
On 01/27/10 01:07, Anthony Liguori wrote:
On 01/25/2010 06:54 AM, Stefano Stabellini wrote:
Hi all,
this patch fixes another bug in vnc_refresh: calling vnc_update_client
might cause
On 01/27/2010 12:52 AM, Arnd Bergmann wrote:
On Wednesday 27 January 2010, Anthony Liguori wrote:
The raw backend can be attached to a physical device
This is equivalent to bridging with tun/tap except that it has the
unexpected behaviour of unreliable host/guest networking (which
This patch originates in the mp_state writeback issue: During runtime
and even on reset, we must not write the previously saved VCPU state
back into the kernel in an uncontrolled fashion. E.g mp_state should
only written on reset or on VCPU setup. Certain clocks (e.g. the TSC)
may only be written
Helper function just like qdict_get_int(), just for QFloat/double.
Signed-off-by: Markus Armbruster arm...@redhat.com
---
Makefile |2 +-
qdict.c | 24
qdict.h |1 +
3 files changed, 26 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index
This commit enables one to use multiple virtio-serial devices and to
assign ports to arbitrary devices like this:
-device virtio-serial,id=foo -device virtio-serial,id=bar \
-device virtserialport,bus=foo.0,name=foo \
-device virtserialport,bus=bar.0,name=bar
Signed-off-by: Amit Shah
Commit ec229bbe7 broke invocation without a specific -hda. IOW, qemu foo.img.
The lack of an optind update caused an infinite loop.
Reported-by: Amit Shah amit.s...@redhat.com
Signed-off-by: Anthony Liguori aligu...@us.ibm.com
---
vl.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
Thanks, applied.
On Tue, Jan 26, 2010 at 11:11 PM, Igor V. Kovalenko
igor.v.kovale...@gmail.com wrote:
From: Igor V. Kovalenko igor.v.kovale...@gmail.com
- correctly fit to cwp if provided window number is out of range
Signed-off-by: Igor V. Kovalenko igor.v.kovale...@gmail.com
---
On Wed, Jan 27, 2010 at 12:41 PM, Loïc Minier l...@dooz.org wrote:
On Tue, Jan 26, 2010, Blue Swirl wrote:
The patches didn't apply. Also please send only one patch per message,
git am can't handle multiple patches.
They applied fine here, perhaps you didn't apply the sdl-config patch
On Tue, Jan 26, 2010 at 10:42 PM, Artyom Tarasenko
atar4q...@googlemail.com wrote:
2010/1/26 Blue Swirl blauwir...@gmail.com:
On Tue, Jan 26, 2010 at 7:03 PM, Artyom Tarasenko
atar4q...@googlemail.com wrote:
2010/1/24 Blue Swirl blauwir...@gmail.com:
On Sun, Jan 24, 2010 at 2:02 AM, Artyom
On Tue, Jan 26, 2010 at 11:09 PM, Igor Kovalenko
igor.v.kovale...@gmail.com wrote:
On Fri, Jan 22, 2010 at 11:32 PM, Blue Swirl blauwir...@gmail.com wrote:
On Tue, Jan 19, 2010 at 10:25 PM, Igor V. Kovalenko
igor.v.kovale...@gmail.com wrote:
From: Igor V. Kovalenko igor.v.kovale...@gmail.com
On Wed, Jan 27, 2010 at 01:12:34PM +0100, Kevin Wolf wrote:
We need a function that handles a single request. Create one by splitting out
code from virtio_blk_handle_output.
Looks good,
Reviewed-by: Christoph Hellwig h...@lst.de
On Wed, Jan 27, 2010 at 01:12:35PM +0100, Kevin Wolf wrote:
Current code assumes that only write requests are ever going to be restarted.
This is wrong since rerror=stop exists. Instead of directly starting writes,
use the same request processing as used for new requests.
Looks good,
On Wed, Jan 27, 2010 at 01:12:36PM +0100, Kevin Wolf wrote:
If an I/O request fails right away instead of getting an error only in the
callback, we still need to consider rerror/werror.
Looks good,
Reviewed-by: Christoph Hellwig h...@lst.de
Michael S. Tsirkin schrieb:
On Tue, Jan 26, 2010 at 10:44:44PM +0100, Stefan Weil wrote:
Michael S. Tsirkin schrieb:
Verify that stdio.h supports %lld %zd.
Some migw variants don't unless requested explicitly (see
migw - mingw
I don't know any ming32 variant which supports %lld, %zd.
There
On Wed, Jan 27, 2010 at 08:02:26PM +0100, Stefan Weil wrote:
Michael S. Tsirkin schrieb:
On Tue, Jan 26, 2010 at 10:44:44PM +0100, Stefan Weil wrote:
Michael S. Tsirkin schrieb:
Verify that stdio.h supports %lld %zd.
Some migw variants don't unless requested explicitly (see
migw - mingw
On Tue, Jan 26, 2010 at 05:07:43PM -0600, Anthony Liguori wrote:
On 01/25/2010 08:29 AM, Michael S. Tsirkin wrote:
This adds notifiers for phys memory changes: a set of callbacks that
vhost can register and update kernel accordingly. Down the road, kvm
code can be switched to use these as
On 01/27/2010 01:47 PM, Michael S. Tsirkin wrote:
Ugh, this will fix it. Want me to repost the series?
Please do.
Regards,
Anthony Liguori
diff --git a/exec.c b/exec.c
index 63caca0..2e7434e 100644
--- a/exec.c
+++ b/exec.c
@@ -1623,6 +1623,7 @@ const CPULogItem cpu_log_items[] = {
{
Function is_async_return() added by commit 940cc30d0d4 assumes
that 'data', which is returned by handlers, is always a QDict.
This is not true, as QLists can also be returned, in this case
we'll get a segfault.
Fix that by checking if 'data' is a QDict.
Signed-off-by: Luiz Capitulino
This patch against qemu upstream adds notifiers hook which lets backends
get notified on memory changes, and converts kvm to use it. It survived
light testing.
Michael S. Tsirkin (3):
qemu: memory notifiers
kvm: move kvm_set_phys_mem around
kvm: move kvm to use memory notifiers
This adds notifiers for phys memory changes: a set of callbacks that
vhost can register and update kernel accordingly. Down the road, kvm
code can be switched to use these as well, instead of calling kvm code
directly from exec.c as is done now.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
move kvm_set_phys_mem so that it will
be later available earlier in the file.
needed for next patch using memory notifiers.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
Acked-by: Avi Kivity a...@redhat.com
---
kvm-all.c | 276 ++--
1
remove direct kvm calls from exec.c, make
kvm use memory notifiers framework instead.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
Acked-by: Avi Kivity a...@redhat.com
---
exec.c| 17 +
kvm-all.c | 40 ++--
kvm.h |8
On Mon, 25 Jan 2010 10:25:30 +0100
Alexander Graf ag...@suse.de wrote:
_omissis__
Ugh. Please use --disable-kvm on such old kernel versions. KVM
doesn't work on G4s (yet) anyway. I guess I'll need to add a minimum
version check for KVM on ppc.
_cut__
thanks, it now compiles fine on both
On Wed, Jan 27, 2010 at 03:54:08PM +0100, Jan Kiszka wrote:
This patch originates in the mp_state writeback issue: During runtime
and even on reset, we must not write the previously saved VCPU state
back into the kernel in an uncontrolled fashion. E.g mp_state should
only written on reset or
From: Igor V. Kovalenko igor.v.kovale...@gmail.com
sparc64 timer has tick counter which can be set and read,
and tick compare value used as deadline to fire timer interrupt.
The timer is not used as periodic timer, instead deadline
is set each time new timer interrupt is needed.
v3 - v4:
-
On 01/26/2010 09:25 PM, Zheng, Jiajia wrote:
Add command p2v to translate Guest physical address to Host virtual address.
For what purpose?
Signed-off-by: Max Asbockmasb...@linux.vnet.ibm.com
Jiajia Zhengjiajia.zh...@intel.com
---
diff --git a/monitor.c b/monitor.c
index
Thanks, applied.
On Wed, Jan 27, 2010 at 9:00 PM, Igor V. Kovalenko
igor.v.kovale...@gmail.com wrote:
From: Igor V. Kovalenko igor.v.kovale...@gmail.com
sparc64 timer has tick counter which can be set and read,
and tick compare value used as deadline to fire timer interrupt.
The timer is
On 01/27/2010 05:56 AM, Paolo Bonzini wrote:
On 01/27/2010 03:10 AM, Anthony Liguori wrote:
What did clang complain about? It's not obvious to me.
It doesn't see that audio_bug returns cond, and gives quite a few
false positive in its callers.
Ah, this is a clang issue. I'll have to
Michael S. Tsirkin m...@redhat.com writes:
Heh, configure script runs the program it's built
in a couple of places. This probably does not
work for cross-builds:
if compile_prog ; then
$TMPE bigendian=yes
else
echo big/little test failed
fi
likely works
On Wed, Jan 27, 2010 at 9:00 PM, Igor V. Kovalenko
igor.v.kovale...@gmail.com wrote:
From: Igor V. Kovalenko igor.v.kovale...@gmail.com
sparc64 timer has tick counter which can be set and read,
and tick compare value used as deadline to fire timer interrupt.
The timer is not used as periodic
Am 27.01.2010 um 20:17 schrieb acrux acrux...@libero.it:
On Mon, 25 Jan 2010 10:25:30 +0100
Alexander Graf ag...@suse.de wrote:
_omissis__
Ugh. Please use --disable-kvm on such old kernel versions. KVM
doesn't work on G4s (yet) anyway. I guess I'll need to add a minimum
version check for
On Thu, 28 Jan 2010 00:30:23 +0100
Alexander Graf ag...@suse.de wrote:
_omissis__
I've encuntered two issues under my quick test with CRUX PPC 2.6
(32bit) as host. This was my start command:
$ qemu-system-ppc -m 256 -localtime -hda 25a_qcow.img -cdrom
crux-ppc-2.5a.iso -boot d
The
On Wed, 2010-01-27 at 15:39 -0600, Anthony Liguori wrote:
On 01/26/2010 09:25 PM, Zheng, Jiajia wrote:
Add command p2v to translate Guest physical address to Host virtual address.
For what purpose?
Signed-off-by: Max Asbockmasb...@linux.vnet.ibm.com
Jiajia
On Tue, Jan 26, 2010 at 10:52:12PM +0100, Jes Sorensen wrote:
Read optional table of e820 entries from qemu_cfg
[...]
--- seabios.orig/src/paravirt.c
+++ seabios/src/paravirt.c
@@ -132,6 +132,23 @@ u16 qemu_cfg_smbios_entries(void)
return cnt;
}
+u32 qemu_cfg_e820_entries(void)
+{
Commit 03cbdac7 Disable fall-back to read-only when cannot open drive's
file for read-write result in read-only image can't be used as backed
image in qemu-img.
CC: Naphtali Sprei nsp...@redhat.com
Signed-off-by: Sheng Yang sh...@linux.intel.com
---
This issue blocked our QA's KVM nightly test.
68 matches
Mail list logo