On 11/12/2011 11:08 AM, Andreas Färber wrote:
diff --git a/main-loop.c b/main-loop.c
index 60e9748..2ab5023 100644
--- a/main-loop.c
+++ b/main-loop.c
@@ -460,7 +460,7 @@ int main_loop_wait(int nonblocking)
}
glib_select_poll(&rfds,&wfds,&xfds, (ret< 0));
-qemu_iohandler_poll(&
On Thu, Nov 3, 2011 at 15:17, Fabien Chouteau wrote:
> This patch replace the previous implementation with this simplified and
> more complete version (no shutdown when psret == 1).
In order to get in 1.0, the change should be limited to adding only a
psret check to current helper_shutdown(). Thi
On Mon, Nov 7, 2011 at 17:38, Juan Quintela wrote:
> Hi
>
> This patch adds copyrights to all the machine description files for
> all architectures supported. (this is done on top of my vmstate-cpus
> series patches) The problem?
>
> - What should we put as "copyirght" owners.
>
> Althought I modi
Fix a segfault due to incorrect usage of QTAILQ_FOREACH_SAFE().
Avi Kivity (1):
memory: fix 'info mtree' segfaults
memory.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
--
1.7.7.1
'info mtree' accesses invalid memory in two cases, both due to incorrect
(and unsafe) usage of QTAILQ_FOREACH_SAFE().
Reported-by: Andreas Färber
Signed-off-by: Avi Kivity
---
memory.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/memory.c b/memory.c
index c0c1d12.
On 11/13/2011 12:06 PM, Avi Kivity wrote:
> Fix a segfault due to incorrect usage of QTAILQ_FOREACH_SAFE().
>
> Avi Kivity (1):
> memory: fix 'info mtree' segfaults
>
> memory.c |4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
Gaaah. If it isn't generated by git request-pull,
On Fri, Nov 11, 2011 at 17:49, Alexander Graf wrote:
> Hi Blue,
>
> This is my current patch queue for s390. Please pull.
>
> It contains a few features, but only because I forgot to send out
> a pull request for -rc1. These have been lying in my queue for a
> while.
These don't look much like 1.
2011/11/12 陳韋任 :
>> Which character fonts did you use for 'Q' and for 'emu'
>> in QEMU_Mascot_embody_text.svg?
>
> Andalus for 'Q' and Berlin Sans FB for 'emu'.
>
>> It might be interesting to try 'emu' rotated by about -60 degree
>> (in the direction of the egg shaped body).
>
> This direction?
On Sat, Nov 12, 2011 at 14:06, Stefan Weil wrote:
> Am 12.11.2011 12:37, schrieb 陳韋任:
>>>
>>> Which character fonts did you use for 'Q' and for 'emu'
>>> in QEMU_Mascot_embody_text.svg?
>>
>> Andalus for 'Q' and Berlin Sans FB for 'emu'.
>>
>>> It might be interesting to try 'emu' rotated by about
Fix obvious typos (decrement and off-by-one error) in pcmpestrm and pcmpistrm
which resulted in infinite loop. Reported by Frank Mehnert,
spotted also by Coverity (bug 84752853).
Reported-by: Frank Mehnert
Signed-off-by: Blue Swirl
---
target-i386/ops_sse.h | 12
1 files changed,
I am investigating how INVLPG is emulated in kvm. It turns out that it calls
kvm_mmu_invlpg
kvm_mmu_flush_tlb
kvm_make_request(KVM_REQ_TLB_FLUSH, vcpu);
and the kvm_make_request set the vcpu->requests bit to high, when the
guest os resumes, it handles the bit. I have 2 questions
1. How
On 11/13/2011 02:27 PM, Xin Tong wrote:
> I am investigating how INVLPG is emulated in kvm.
You're on the wrong list.
> It turns out that it calls
>
> kvm_mmu_invlpg
>kvm_mmu_flush_tlb
> kvm_make_request(KVM_REQ_TLB_FLUSH, vcpu);
>
> and the kvm_make_request set the vcpu->requests bit t
On 11/13/2011 02:41 PM, Alon Levy wrote:
> On Sun, Nov 13, 2011 at 12:29:01PM +0200, Avi Kivity wrote:
> > On 11/12/2011 07:19 PM, Alon Levy wrote:
> > > On Sat, Nov 12, 2011 at 09:22:27AM -0500, Tom Horsley wrote:
> > > > I just submitted this bug:
> > > >
> > > > https://bugzilla.redhat.com/show
Am 13.11.2011 11:33, schrieb Blue Swirl:
On Sat, Nov 12, 2011 at 14:06, Stefan Weil wrote:
Am 12.11.2011 12:37, schrieb 陳韋任:
Which character fonts did you use for 'Q' and for 'emu'
in QEMU_Mascot_embody_text.svg?
Andalus for 'Q' and Berlin Sans FB for 'emu'.
It might be interesting to try 'e
The default is still 3, and I didn't change older machine types.
Signed-off-by: Alon Levy
---
Is there a better way then copy pasting this to the older pc types to get
the revision == 2 for them as well?
hw/pc_piix.c | 12
1 files changed, 12 insertions(+), 0 deletions(-)
diff -
Public bug reported:
Hello.
I'm new here but I believe this is a bug in Qemu since I did nothing
special and it stoped to work. Please excuse me if this is not a bug but
my error.
Suddenly loadvm command stoped to work. It restores state (I see this in
SDL window) and after that Qemu hangs, you
On 11/13/2011 04:09 AM, Blue Swirl wrote:
On Fri, Nov 11, 2011 at 17:49, Alexander Graf wrote:
Hi Blue,
This is my current patch queue for s390. Please pull.
It contains a few features, but only because I forgot to send out
a pull request for -rc1. These have been lying in my queue for a
whil
On Sun, Nov 13, 2011 at 02:48:32PM +0200, Avi Kivity wrote:
> On 11/13/2011 02:41 PM, Alon Levy wrote:
> > On Sun, Nov 13, 2011 at 12:29:01PM +0200, Avi Kivity wrote:
> > > On 11/12/2011 07:19 PM, Alon Levy wrote:
> > > > On Sat, Nov 12, 2011 at 09:22:27AM -0500, Tom Horsley wrote:
> > > > > I just
On 11/13/2011 04:00 PM, Alon Levy wrote:
> On Sun, Nov 13, 2011 at 02:48:32PM +0200, Avi Kivity wrote:
> > On 11/13/2011 02:41 PM, Alon Levy wrote:
> > > On Sun, Nov 13, 2011 at 12:29:01PM +0200, Avi Kivity wrote:
> > > > On 11/12/2011 07:19 PM, Alon Levy wrote:
> > > > > On Sat, Nov 12, 2011 at 09
On Sun, Nov 13, 2011 at 04:03:56PM +0200, Avi Kivity wrote:
> On 11/13/2011 04:00 PM, Alon Levy wrote:
> > On Sun, Nov 13, 2011 at 02:48:32PM +0200, Avi Kivity wrote:
> > > On 11/13/2011 02:41 PM, Alon Levy wrote:
> > > > On Sun, Nov 13, 2011 at 12:29:01PM +0200, Avi Kivity wrote:
> > > > > On 11/1
Fix an error in commit afd4a6522 which meant that writing a zero
to the RW bits in the PMCR wouldn't actually clear them. (Error
spotted by Andrzej Zaborowski.)
Signed-off-by: Peter Maydell
---
This fixes the bug Andrzej pointed out in comments on the earlier
patch; sorry about this error. I opte
On 11/13/2011 04:17 PM, Alon Levy wrote:
> > > Going after each distribution that packages qemu? No way to do this, I
> > > can just hope any packager who encounters this problem comes to
> > > spice-devel/qemu-devel.
> > >
> > >
> >
> > I'm talking about guests. Images created with 0.15 know tha
Now that we have code in place to do refcounting of online CPUs, we
can drag the TCG code along and implement shutdown for that one too,
so it doesn't feel left out by its KVM counterpart.
Signed-off-by: Alexander Graf
---
target-s390x/cpu.h|9 +
target-s390x/helper.c | 15
The rrbe instruction resets the reference bit in the given storage key.
So far, we merely made it a nop and also returned an invalid CC value,
so that the kernel never knew if a page actually got accessed.
This patch implements it properly, flushing the R bit and returning the
correct CC value.
S
Hi Blue,
This is my current patch queue for s390 on 1.0. Please pull.
I removed the hotplug "feature" (thanks a lot to everyone nacking
patches without suggesting real fixes). The rest is s390 material only
so my concern and the 2 tcg patches I mentioned earlier.
Alex
The following changes sin
While running perl, we encountered the ldeb instruction to be used,
so we implement it :).
Signed-off-by: Alexander Graf
---
target-s390x/helpers.h |1 +
target-s390x/op_helper.c |9 +
target-s390x/translate.c |4
3 files changed, 14 insertions(+), 0 deletions(-)
diff
Public bug reported:
qemu -version: QEMU PC emulator version 0.12.5, Copyright (c) 2003-2008
Fabrice Bellard
uname -a: Linux zenwalk 2.6.37.4 #1 SMP PREEMPT Fri Mar 18 18:17:50 CET
2011 i686 Intel(R) Pentium(R) Dual CPU T2330 @ 1.60GHz GenuineIntel
GNU/Linux
command-line: qemu-system-arm -M i
From: Richard Henderson
Most targets did not name the enum; tci used TCGRegister.
Signed-off-by: Richard Henderson
Reviewed-by: Andreas Färber
Reviewed-by: Stefan Weil
Signed-off-by: Alexander Graf
---
tcg/arm/tcg-target.h |4 ++--
tcg/hppa/tcg-target.h |4 ++--
tcg/i386/tcg-targ
From: Christian Borntraeger
The default kernel command line for s390 is
"root=/dev/ram0 ro"
When overriding this line, we have to ensure to also copy the \0 to
avoid false lines, for example, -append "root=/dev/vda" will result in
"root=/dev/vda0 ro" with the current code.
Signed-off-by: Christ
From: Richard Henderson
Including tcg_out_ld, tcg_out_st, tcg_out_mov, tcg_out_movi.
Signed-off-by: Richard Henderson
Reviewed-by: Andreas Färber
Reviewed-by: Stefan Weil
Signed-off-by: Alexander Graf
---
tcg/arm/tcg-target.c | 13 +++--
tcg/hppa/tcg-target.c | 12 ++-
When running the s390x virtio machine we can potentially use uninitialized
memory for the virtio device backing ram. That can lead to weird breakge.
So let's better initialize it to 0 properly.
Reported-by: Andreas Färber
Signed-off-by: Alexander Graf
---
v1 -> v2:
- use target_phys_addr_t
When the s390x maps a page or writes happen to a page, the R and C
bits get updated. The easiest way to implement this in qemu is to
simply update them whenever we map a TLB translation and act according
to the permissions.
Signed-off-by: Alexander Graf
---
target-s390x/cpu.h |4
I just submitted a few patches that enable the s390 virtio bus to receive
a hotplug add event. This patch implements the qemu side of it, so that new
hotplug events can be submitted to the guest.
Signed-off-by: Alexander Graf
---
v1 -> v2:
- make s390 virtio hoplug code emulate-capable
---
When running 31-bit code we can potentially map the same virtual
address twice - once as 0x0yyy and once as 0x8yyy, because
the upper bit gets ignored.
This also should be reflected in the tlb invalidation path, so we
really invalidate also the transparently created tlb entries.
Signed-of
From: Christian Borntraeger
On s390 a shutdown is the state of all CPUs being either stopped
or disabled (for interrupts) waiting. We have to track the overall
number of running CPUs to call the shutdown sequence accordingly.
This patch implements the counting and shutdown handling for the
kvm pa
From: Christian Borntraeger
This patch fixes the reset hypercall which is supposed to also
reset the device status in device memory.
This fixes the following bug:
[root@localhost driver]# echo virtio0 > unbind
[ 35.056966] [ cut here ]
[ 35.057054] kernel BUG at drive
An s390x OS does reboot and shutdown triggers through hypercalls that
we didn't implement on the TCG backend yet. That means that so far we
couldn't shut down virtual machines for example, having them hang on
shutdown when not using KVM.
With this patch, this restriction is gone. We can now shut d
On 11/13/2011 09:33 AM, Alexander Graf wrote:
I just submitted a few patches that enable the s390 virtio bus to receive
a hotplug add event. This patch implements the qemu side of it, so that new
hotplug events can be submitted to the guest.
Signed-off-by: Alexander Graf
How is this not a feat
This patch makes iPXE work with the rtl8139 emulation. The rtl8139
driver in iPXE issues a 16bit access on the ChipCmd register
(offset 0x37) to check the status of the rx buffer. The offset of the
ioport access was getting fixed up to 0x36 in qemu, causing the value
read in iPXE to be invalid.
Th
On 13.11.2011, at 18:14, Anthony Liguori wrote:
> On 11/13/2011 09:33 AM, Alexander Graf wrote:
>> I just submitted a few patches that enable the s390 virtio bus to receive
>> a hotplug add event. This patch implements the qemu side of it, so that new
>> hotplug events can be submitted to the
On 11/11/2011 11:39 AM, Kevin Wolf wrote:
The following changes since commit 0e3b800e71cb7759d099eabbd8ad4c4fe848e381:
hw/lan9118.c: Add missing 'break' to fix buffer overrun (2011-11-10 12:29:50
+)
are available in the git repository at:
git://repo.or.cz/qemu/kevin.git block-stable
On 11/13/2011 04:08 AM, Avi Kivity wrote:
On 11/13/2011 12:06 PM, Avi Kivity wrote:
Fix a segfault due to incorrect usage of QTAILQ_FOREACH_SAFE().
Avi Kivity (1):
memory: fix 'info mtree' segfaults
memory.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Gaaah. If it i
On 13 November 2011 15:51, Steven G. Messervey
<889...@bugs.launchpad.net> wrote:
> qemu -version: QEMU PC emulator version 0.12.5, Copyright (c) 2003-2008
> Fabrice Bellard
This is an ancient version of QEMU which there is very little point
reporting bugs against. That said, I think this bug is
I bissected with -icount+hpet looping behavior without kvm to:
commit 16b29ae1807b024bd5052301550f5d47dae958a2
Author: aliguori
Date: Wed Dec 17 23:28:44 2008 +
Add HPET emulation to qemu (Beth Kon)
On Thu, Nov 10, 2011 at 12:25 PM, Paolo Bonzini wrote:
> On 11/10/2011 11:25 AM, Max
Blue Swirl wrote:
> On Mon, Nov 7, 2011 at 17:38, Juan Quintela wrote:
>> Hi
>>
>> This patch adds copyrights to all the machine description files for
>> all architectures supported. (this is done on top of my vmstate-cpus
>> series patches) The problem?
>>
>> - What should we put as "copyirght"
On Thu, Nov 10, 2011 at 06:11:41PM +0100, Alexander Graf wrote:
> On 11/01/2011 08:57 PM, Nishanth Aravamudan wrote:
> >On 31.10.2011 [15:14:12 +1100], David Gibson wrote:
> >>Good points below. I forgot to CC Nish, the original patch author on
> >>my post, so I've added him to the list now.
> >>
On Fri, Nov 11, 2011 at 11:51:12AM +0100, Alexander Graf wrote:
> On 11/08/2011 11:12 AM, Thomas Huth wrote:
> >Am Tue, 8 Nov 2011 16:52:16 +1100
> >schrieb David Gibson:
> >
> >>The SLOF firmware used on the pseries machine needs a reasonable amount of
> >>(guest) RAM in order to run, so we have
On 13 November 2011 15:18, Peter Maydell wrote:
> Fix an error in commit afd4a6522 which meant that writing a zero
> to the RW bits in the PMCR wouldn't actually clear them. (Error
> spotted by Andrzej Zaborowski.)
>
> Signed-off-by: Peter Maydell
Thanks, pushed.
Cheers
On 9 November 2011 22:09, Peter Maydell wrote:
> "!X == 2" is always false (spotted by Coverity), so the checks
> for whether rndis is in the correct state would never fire.
I pushed this patch because it's a bugfix and the check is guarded by
is_rndis() so there should be no risk of affecting no
On 6 November 2011 20:14, Jean-Christophe DUBOIS wrote:
> Depending on the considered baseboard the bit used to
> reset the platform is different.
>
> Here is the list of considered Realview/Versatile platforms:
>
> Realview/Versatile AB for ARM926EJ-S: BOARD_ID = 0x100 = BOARD_ID_PB926
> http://i
On 20 October 2011 14:53, wrote:
> From: Juha Riihimäki
>
> Make NAND and OneNAND device models reject read-only drives.
> Test for example by running
>
> $ qemu-system-arm -drive if=none,file=/dev/zero,readonly,id=foo -device
> nand,drive=foo,chip_id=0x59 -kernel /dev/null
>
> or
>
> $ qemu-sy
On Sat, Nov 12, 2011 at 12:47 AM, Stefan Hajnoczi
wrote:
> This patch adds the .bdrv_co_is_allocated() interface which is identical
> to .bdrv_is_allocated() but runs in coroutine context. Running in
> coroutine context implies that other coroutines might be performing I/O
> at the same time. T
The spapr_vio_find_by_reg() function in hw/spapr_vio.c is supposed to find
the device structure for a PAPR virtual IO device with the given reg value,
and return NULL if none exists.
It does the first ok, but if no device with that reg exists, it just
returns the last device traversed in the list.
From: Michael Ellerman
In commit b4a78527359a4540d84d4cdf629d01cbb262f698 ("Place pseries vty
devices at addresses more similar to existing machines"), we changed the
default reg for the vty to 0x3000, however we didn't update the default
value for a user specified vty device. Fix that.
Sign
The SLOF firmware used on the pseries machine needs a reasonable amount of
(guest) RAM in order to run, so we have a check in the machine init
function to check that this is available. However, SLOF runs in real mode
(MMU off) which means it can only actually access the RMA (Real Mode Area),
not a
The PAPR specification defines a virtual TTY/console interface for guest
OSes to use via the H_PUT_TERM_CHAR and H_GET_TERM_CHAR hypercalls. There
can be multiple virtual ttys, so these take a "termno" parameter. This
encodes which vty to use as the 'reg' property on the device tree node
associat
From: Michael Ellerman
If qemu is run like:
qemu-system-ppc64 -nodefaults -device spapr-vty
We end up in spapr_vty_init() with dev->chardev == NULL. Currently
that leads to a segfault because we unconditionally call
qemu_chr_add_handlers().
Although we could make that call conditional, I thin
We go to great lengths to restrict ourselves to just cap_net_admin as an OS
enforced security mechanism. However, we further restrict what we allow users
to do to simply adding a tap device to a bridge interface by virtue of the fact
that this is the only functionality we expose.
This is not good
With qemu it is possible to run a guest from an unprivileged user but if
we wanted to communicate with the outside world we had to switch
to root.
We address this problem by introducing a new network backend and a new
network option for -net tap. This is less flexible when compared to
existing -n
The ideal way to use qemu-bridge-helper is to give it an fscap of using:
setcap cap_net_admin=ep qemu-bridge-helper
Unfortunately, most distros still do not have a mechanism to package files
with fscaps applied. This means they'll have to SUID the qemu-bridge-helper
binary.
To improve security
This patch adds a helper that can be used to create a tap device attached to
a bridge device. Since this helper is minimal in what it does, it can be
given CAP_NET_ADMIN which allows qemu to avoid running as root while still
satisfying the majority of what users tend to want to do with tap devices
The most common use of -net tap is to connect a tap device to a bridge. This
requires the use of a script and running qemu as root in order to allocate a
tap device to pass to the script.
This model is great for portability and flexibility but it's incredibly
difficult to eliminate the need to ru
This series contains a number of small bugfixes for the pseries
machine.
I am trying to run linux 3.0.8 on qemu for omap3_beagle on qemu-linaro
version 0.15.91. I have attached the config file I am using.
It is giving bad register error after u-boot jumps to linux. If it is a
known issue, please let me know which upstream linux kernel version will
run on qemu. Also if
From: Hongyong Zang
Ivshmem(nahanni) is a mechanism for sharing host memory with VMs running on the
same host. Currently, guest notifies qemu by reading or writing ivshmem
device's PCI MMIO BAR0(Doorbell).
This patch, changes this PCI MMIO BAR0(Doorbell) to PIO. And we find guest
accesses PIO
questions:
1) In qcow2.c, in function: qcow2_co_readv
In qcow2.h, in struct BDRVQcowState
I want to know the relations between sector_num in function
qcow2_co_readv and cluster_sectors in struct BDRVQcowState ?
2) In qcow2.c, in function; qcow2_co_writev
at line 547:
index_in_cluster =
On 11/11/2011 03:09 PM, Cao,Bing Bu wrote:
With -icount, the vm_clock is updated with help from TCG (it counts
instructions at 2^ICOUNT ns/instructions). With KVM, the instruction count is
not available so KVM cannot provide this help.
Signed-off-by: Cao,Bing Bu
---
vl.c |8 ++--
1
On 14.11.2011, at 01:40, David Gibson wrote:
> On Thu, Nov 10, 2011 at 06:11:41PM +0100, Alexander Graf wrote:
>> On 11/01/2011 08:57 PM, Nishanth Aravamudan wrote:
>>> On 31.10.2011 [15:14:12 +1100], David Gibson wrote:
Good points below. I forgot to CC Nish, the original patch author on
On 11/14/2011 04:04 AM, Zhi Yong Wu wrote:
> +co = qemu_coroutine_create(bdrv_is_allocated_co_entry);
> +qemu_coroutine_enter(co,&data);
Since this main process will stop within qemu_coroutine_enter() until
bdrv_is_allocated_co_entry() is completed, three lines of condition
cod
69 matches
Mail list logo