On Fri, Oct 19, 2012 at 8:24 PM, Peter Maydell wrote:
> On 19 October 2012 07:40, Peter Crosthwaite
> wrote:
>> QOMified the pflash_cfi0x so machine models can connect them up in custom
>> ways.
>>
>> Kept the pflash_cfi0x_register functions as is. They can still be used to
>> create a flash str
On Sun, Oct 21, 2012 at 10:58:37PM +0400, Michael Tokarev wrote:
> On 19.10.2012 23:33, Aurelien Jarno wrote:
> > On Wed, Oct 17, 2012 at 07:09:25PM +0200, Jan Kiszka wrote:
> >> We need to evaluate $libexecdir in configure, otherwise we literally end
> >> up with "${prefix}/libexec" instead of the
On Mon, Oct 22, 2012 at 12:11:07PM +1000, Richard Henderson wrote:
> When we allocate a reserved_va for the guest, the kernel will likely
> choose an address well above 4G. At which point we must use a pair
> of movabsq+addq to form the host address. If we have OS support,
> set up a segment regi
Hi,
> Would it make sense to temporarily rename the machine type e.g.
> pc-q35-experimental to stress it's not fully supported?
I don't think this is needed as piix will continue to be the default.
It will also cause trouble with libvirt when pc-q35-experimental goes
away some day.
cheers,
G
Hi,
> +pci_create_simple_multifunction(
> +host_bus, PCI_DEVFN(ICH9_USB_DEV, ICH9_USB_EHCI1_FUNC),
> +true, "ich9-usb-ehci1");
> /* XXX: EHCI */
You can remove that comment now ;)
cheers,
Gerd
On 10/19/12 20:04, Stefano Stabellini wrote:
> On Wed, 17 Oct 2012, Gerd Hoffmann wrote:
>> The vnc code uses *three* DisplaySurfaces:
>>
>> First is the surface of the actual QemuConsole, usually the guest
>> screen, but could also be a text console (monitor/serial reachable via
>> Ctrl-Alt- keys)
On 10/19/12 19:02, Stefano Stabellini wrote:
> On Wed, 17 Oct 2012, Gerd Hoffmann wrote:
>> Currently it is inconstent, PixelFormat->amask is left unset whereas
>> abits and amax and ashift are filled. As an alpha channel doesn't make
>> sense for the vga framebuffer leave all alpha fields clear.
On 10/22/2012 07:40 AM, Evgeny Voevodin wrote:
On 10/19/2012 09:55 PM, Blue Swirl wrote:
On Fri, Oct 19, 2012 at 12:42 PM, Evgeny wrote:
This set of patches moves global variables to tcg_ctx:
gen_opc_ptr
gen_opparam_ptr
gen_opc_buf
gen_opparam_buf
Where it was possible I used s->...
Where we
On 10/19/2012 09:53 PM, Blue Swirl wrote:
On Fri, Oct 19, 2012 at 12:42 PM, Evgeny wrote:
Signed-off-by: Evgeny
---
tcg/tcg.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/tcg/tcg.c b/tcg/tcg.c
index 3da1d83..77b15a0 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
On 10/19/2012 09:55 PM, Blue Swirl wrote:
On Fri, Oct 19, 2012 at 12:42 PM, Evgeny wrote:
This set of patches moves global variables to tcg_ctx:
gen_opc_ptr
gen_opparam_ptr
gen_opc_buf
gen_opparam_buf
Where it was possible I used s->...
Where we don't have an interface to pass a pointer to tcg
On Thu, Oct 18, 2012 at 04:50:25PM +1100, David Gibson wrote:
> At present, using 'system_powerdown' from the monitor or otherwise
> instructing qemu to (cleanly) shut down a pseries guest will not work,
> because we did not have a method of signalling the shutdown request to the
> guest.
>
> PAPR
When we allocate a reserved_va for the guest, the kernel will likely
choose an address well above 4G. At which point we must use a pair
of movabsq+addq to form the host address. If we have OS support,
set up a segment register to point to guest_base instead.
Signed-off-by: Richard Henderson
---
OpenBIOS on sparc64 only support Standard VGA and not Cirrus VGA. Don't
build Cirrus VGA support so that it can't be selected.
This fixes the breakage introduced by commit f2898771.
Reported-by: Richard Henderson
Cc: Blue Swirl
Signed-off-by: Aurelien Jarno
---
default-configs/sparc64-softmmu
On Fri, Oct 12, 2012 at 09:26:55AM -0700, Richard Henderson wrote:
> Older glibc (RHEL 5.x, Debian 5.x) does not have the _sigev_un._tid
> member in its structure definition, while the accompanying kernel
> headers do define SIGEV_THREAD_ID. We need configure to check for
> both before using it.
>
On Mon, Oct 22, 2012 at 07:29:19AM +1000, Richard Henderson wrote:
> On 2012-10-21 09:17, Aurelien Jarno wrote:
> > On Sun, Oct 21, 2012 at 08:48:52AM +1000, Richard Henderson wrote:
> >> On 2012-10-21 00:48, Aurelien Jarno wrote:
> >>> I am not sure it is the real problem, but at least the optimiz
On 2012-10-21 09:17, Aurelien Jarno wrote:
> On Sun, Oct 21, 2012 at 08:48:52AM +1000, Richard Henderson wrote:
>> On 2012-10-21 00:48, Aurelien Jarno wrote:
>>> I am not sure it is the real problem, but at least the optimization of
>>> using the destination register as a temporary is wrong when th
Ping? It's been Reviewed-by...
r~
On 2012-10-13 02:26, Richard Henderson wrote:
> Older glibc (RHEL 5.x, Debian 5.x) does not have the _sigev_un._tid
> member in its structure definition, while the accompanying kernel
> headers do define SIGEV_THREAD_ID. We need configure to check for
> both be
On 2012-10-20 07:25, Aurelien Jarno wrote:
> MIPS32 and later instruction sets have a multiplication instruction
> directly operating on GPRs. It only produces a 32-bit result but
> it is exactly what is needed by QEMU.
>
> Signed-off-by: Aurelien Jarno
> ---
Reviewed-by: Richard Henderson
r~
On 2012-10-21 14:26, Aurelien Jarno wrote:
>> > +static inline void setup_guest_base_seg(void)
>> > +{
>> > +if (syscall(__NR_arch_prctl, ARCH_SET_GS, GUEST_BASE) == 0) {
>> > +guest_base_flags = P_GS;
>> > +}
> Why calling the syscall directly instead of using arch_prctl(2)?
>
Er
On 2012-10-20 07:38, Aurelien Jarno wrote:
> This patch series rework the liveness analysis and register allocator
> in order to generate more optimized code, by avoiding a lot of move
> instructions. I have measured a 9% performance improvement in user mode
> and 4% in system mode.
>
> The idea b
On 19.10.2012 23:33, Aurelien Jarno wrote:
> On Wed, Oct 17, 2012 at 07:09:25PM +0200, Jan Kiszka wrote:
>> We need to evaluate $libexecdir in configure, otherwise we literally end
>> up with "${prefix}/libexec" instead of the absolute path as
>> CONFIG_QEMU_HELPERDIR.
>>
>> Signed-off-by: Jan Kisz
On 18 October 2012 08:29, Juan Quintela wrote:
> -RAMList ram_list = { .blocks = QLIST_HEAD_INITIALIZER(ram_list.blocks) };
> +RAMList ram_list = {
> +.blocks = QLIST_HEAD_INITIALIZER(ram_list.blocks),
> +.blocks_mru = QLIST_HEAD_INITIALIZER(ram_list.blocks_mru)
> +};
Maybe worth adding a
Signed-off-by: Lei Li
---
hmp-commands.hx | 23 +++
hmp.c | 53 +
hmp.h |1 +
monitor.c | 15 +++
monitor.h |3 +++
5 files changed, 95 insertions(+), 0 deletions(-)
Signed-off-by: Lei Li
---
hmp-commands.hx | 22 +
hmp.c| 19 +++
hmp.h|1 +
qapi-schema.json | 69 ++
qemu-char.c | 46
qmp-commands.hx |
Signed-off-by: Lei Li
---
hmp-commands.hx | 25 +
hmp.c| 17 +
hmp.h|1 +
qapi-schema.json | 27 +++
qemu-char.c | 52
qmp-commands.hx |
This RFC series attempts to convert the MemCharDriver to use a circular
buffer for input and output, expose it to users by introducing QMP commands
memchar_write and memchar_read and via the command line like the other
CharDriverStates.
Serial ports in qemu always use CharDriverStates as there bac
Signed-off-by: Lei Li
---
qemu-char.c | 36
qemu-config.c |3 +++
qemu-options.hx | 10 ++
3 files changed, 49 insertions(+), 0 deletions(-)
diff --git a/qemu-char.c b/qemu-char.c
index b174da1..381bf60 100644
--- a/qemu-char.c
+++ b/qem
Signed-off-by: Lei Li
---
qemu-char.c | 72 +++
1 files changed, 72 insertions(+), 0 deletions(-)
diff --git a/qemu-char.c b/qemu-char.c
index b082bae..b174da1 100644
--- a/qemu-char.c
+++ b/qemu-char.c
@@ -2588,6 +2588,78 @@ size_t qemu_
On 10/18/2012 09:30 AM, Juan Quintela wrote:
> Instead of testing each page individually, we search what is the next
> dirty page with a bitmap operation. We have to reorganize the code to
> move from a "for" loop, to a while(dirty) loop.
>
> Signed-off-by: Juan Quintela
> ---
> arch_init.c | 4
On 10/18/2012 09:29 AM, Juan Quintela wrote:
> From: Umesh Deshpande
>
> This will be used to detect if last_block might have become invalid
> across different calls to ram_save_live.
>
> Signed-off-by: Paolo Bonzini
> Signed-off-by: Umesh Deshpande
> Signed-off-by: Juan Quintela
> ---
> arc
On 10/18/2012 09:30 AM, Juan Quintela wrote:
> We want the file assignment to happen before the thread is created to
> avoid locking, so we just do it before creating the thread.
>
> Signed-off-by: Juan Quintela
> ---
> buffered_file.c | 13 ++---
> buffered_file.h | 2 +-
> migration.c
On 10/18/2012 09:30 AM, Juan Quintela wrote:
> We still protect everything except the wait with the iothread lock.
> But we moved from a timer to a thread. Steps one by one.
>
> We also need to detect when we have finished with a variable "complete".
>
> Signed-off-by: Juan Quintela
> ---
> bu
On 10/18/2012 09:29 AM, Juan Quintela wrote:
> From: Umesh Deshpande
>
> Add the new mutex that protects shared state between ram_save_live
> and the iothread. If the iothread mutex has to be taken together
> with the ramlist mutex, the iothread shall always be _outside_.
>
> Signed-off-by: Pao
On 10/18/2012 09:29 AM, Juan Quintela wrote:
> From: Paolo Bonzini
>
> Outside the execution threads the normal, non-MRU-ized order of
> the RAM blocks should always be enough. So manage two separate
> lists, which will have separate locking rules.
>
> Signed-off-by: Paolo Bonzini
> Signed-off
On Fri, Oct 19, 2012 at 04:43:25PM -0400, Jason Baron wrote:
> Hi,
>
> Qemu bits for q35 support, I'm posting the seabios changes separately. The
> patches require '-M pc_q35' and -L 'seabios dir with q35 changes' on the
> qemu command line. Hopefully, we can make it the default for x86 at some
>
On Fri, Oct 19, 2012 at 04:43:25PM -0400, Jason Baron wrote:
> Hi,
>
> Qemu bits for q35 support, I'm posting the seabios changes separately. The
> patches require '-M pc_q35' and -L 'seabios dir with q35 changes' on the
> qemu command line. Hopefully, we can make it the default for x86 at some
>
On Fri, Oct 19, 2012 at 04:43:38PM -0400, Jason Baron wrote:
> From: Jan Kiszka
>
> Both bits are added to the write-1-to-clear mask by default. As the
> smbus device does not allow writes at all, we have to remove it from
> that mask, also to avoid triggering a runtime assertion.
>
> Reviewed-b
On 21 October 2012 08:26, Michael Tokarev wrote:
> On 20.10.2012 00:43, Jason Baron wrote:
>> +char *qemu_find_file(int type, const char *name)
>> +{
>> +char *filename;
>> +
>> +/* Try the name as a straight path first */
>> +if (access(name, R_OK) == 0) {
>> +return g_strdup(
On 20.10.2012 00:43, Jason Baron wrote:
> From: Jason Baron
>
> If -L is specified, and qemu does not find the bios file in , then
> the search fails. Add infrastructure such that the search will continue in
> the default paths, if not found in the -L path.
>
> Reviewed-by: Paolo Bonzini
> Sig
39 matches
Mail list logo