This is a small series of fixes for the VNC server, the most significant
of which is the last one affecting websockets + TLS integration. These
prepare the way for work I'm doing to refactor TLS handling into a module
that is reusable across QEMU.
Daniel P. Berrange (3):
ui: remove unused 'wirem
The way the websockets TLS code was integrated into the VNC server
made it insecure and essentially useless. The only time that the
websockets TLS support could be used is if the primary VNC server
had its existing TLS support disabled. ie QEMU had to be launched
with:
# qemu -vnc localhost:1,we
Handling of VNC audio messages results in printfs to the console.
This is of no use to anyone in production, so should be using the
normal VNC_DEBUG macro instead.
Signed-off-by: Daniel P. Berrange
---
ui/vnc.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/ui/v
Signed-off-by: Daniel P. Berrange
---
ui/vnc-auth-vencrypt.c | 1 -
ui/vnc-tls.c | 2 --
ui/vnc-tls.h | 7 ---
ui/vnc-ws.c| 1 -
4 files changed, 11 deletions(-)
diff --git a/ui/vnc-auth-vencrypt.c b/ui/vnc-auth-vencrypt.c
index bc7032e..a420ccb 100644
--- a/u
For the ARM M-profile cores, exception return pops various registers
including the PC from the stack. The architecture defines that if the
lowest bit in the new PC value is set (ie the PC is not halfword
aligned) then behaviour is UNPREDICTABLE. In practice hardware
implementations seem to simply i
The A32 encoding of LDM distinguishes LDM (user) from LDM (exception
return) based on whether r15 is in the register list. However for
STM (user) there is no equivalent distinction. We were incorrectly
treating "r15 in list" as indicating exception return for both LDM
and STM, with the result that
Last batch of bugfixes before hardfreeze...
-- PMM
The following changes since commit f421f05754ac5aabe15f12051390204116408b00:
Merge remote-tracking branch
'remotes/kraxel/tags/pull-seabios-1.8.1-20150316-1' into staging (2015-03-16
10:58:11 +)
are available in the git rep
From: Eric Auger
This patch forces vgic initialization in the vgic realize function.
It uses a new group/attribute that allows such operation:
KVM_DEV_ARM_VGIC_GRP_CTRL/KVM_DEV_ARM_VGIC_CTRL_INIT
This earlier initialization allows, for example, to setup VFIO
signaling and irqfd after vgic initia
From: Andrew Jones
Instead of mixing access permission checking with access permissions
to page protection flags translation, just do the translation, and
leave it to the caller to check the protection flags against the access
type. Also rename to ap_to_rw_prot to better describe the new behavior
From: Mikhail Ilyin
When support was added for TrustZone to ARM CPU emulation, we failed
to correctly update the support for the linux-user implementation of
the get/set_tls syscalls. This meant that accesses to the TPIDRURO
register via the syscalls were always using the non-secure copy of
the r
From: Andrew Jones
Introduce simple_ap_to_rw_prot(), which has the same behavior as
ap_to_rw_prot(), but takes the 2-bit simple AP[2:1] instead of
the 3-bit AP[2:0]. Use this in get_phys_addr_v6 when SCTLR_AFE
is set, as that bit indicates we should be using the simple AP
format.
It's unlikely t
From: Andrew Jones
This patch makes the following changes to the determination of
whether an address is executable, when translating addresses
using LPAE.
1. No longer assumes that PL0 can't execute when it can't read.
It can in AArch64, a difference from AArch32.
2. Use va_size == 64 to dete
On Mon, Mar 16, 2015 at 11:01:55AM +, Alex Bennée wrote:
> From: Christoffer Dall
>
> The current code was negatively indexing the cpu state array and not
> synchronizing banked spsr register state with the current mode's spsr
> state, causing occasional failures with migration.
>
> Some mun
git://github.com/cohuck/qemu tags/s390x-20150316
>
> for you to fetch changes up to be0b608a5463a834df0e19911356ae93660d3677:
>
> s390x/config: Do not include full pci.mak (2015-03-16 10:20:17 +0100)
>
>
> Fi
Daniel P. Berrange writes:
> Signed-off-by: Daniel P. Berrange
Reviewed-by: Alex Bennée
> ---
> ui/vnc-auth-vencrypt.c | 1 -
> ui/vnc-tls.c | 2 --
> ui/vnc-tls.h | 7 ---
> ui/vnc-ws.c| 1 -
> 4 files changed, 11 deletions(-)
>
> diff --git a/ui/vnc-auth
Daniel P. Berrange writes:
> Handling of VNC audio messages results in printfs to the console.
> This is of no use to anyone in production, so should be using the
> normal VNC_DEBUG macro instead.
>
> Signed-off-by: Daniel P. Berrange
Reviewed-by: Alex Bennée
> ---
> ui/vnc.c | 12 ++
Daniel P. Berrange writes:
> The way the websockets TLS code was integrated into the VNC server
> made it insecure and essentially useless. The only time that the
> websockets TLS support could be used is if the primary VNC server
>
> With this patch applied a number of things change
>
> - TLS
On Mon, Mar 16, 2015 at 01:17:16PM +, Alex Bennée wrote:
>
> Daniel P. Berrange writes:
>
> > The way the websockets TLS code was integrated into the VNC server
> > made it insecure and essentially useless. The only time that the
> > websockets TLS support could be used is if the primary VNC
On 16/03/2015 14:35, Programmingkid wrote:
> On Mar 16, 2015, at 8:19 AM, Paolo Bonzini wrote:
>> On 13/03/2015 21:43, Programmingkid wrote:
How do you do that in a terminal?
>>>
>>> I'm not sure what exactly you're asking. I will say past Apple laptop
>>> did have the ability to page up or
On 2015-03-05 at 05:11, Kevin Wolf wrote:
Am 04.03.2015 um 23:06 hat Max Reitz geschrieben:
On 2015-03-04 at 09:00, Kevin Wolf wrote:
Am 09.02.2015 um 18:11 hat Max Reitz geschrieben:
The tray of an FDD is open iff there is no medium inserted (there are
only two states for an FDD: "medium inse
On Mar 16, 2015, at 9:36 AM, Paolo Bonzini wrote:
>
>
> On 16/03/2015 14:35, Programmingkid wrote:
>> On Mar 16, 2015, at 8:19 AM, Paolo Bonzini wrote:
>>> On 13/03/2015 21:43, Programmingkid wrote:
> How do you do that in a terminal?
I'm not sure what exactly you're asking. I wi
From: "Dr. David Alan Gilbert"
-incoming defer causes qemu to wait for an incoming migration
to be specified later. The monitor can be used to set migration
capabilities that may affect the incoming connection process.
Signed-off-by: Dr. David Alan Gilbert
Reviewed-by: Juan Quintela
Signed-of
From: "Dr. David Alan Gilbert"
Add migrate_incoming/migrate-incoming to start an incoming
migration.
Once a qemu has been started with
-incoming defer
the migration can be started by issuing:
migrate_incoming uri
Signed-off-by: Dr. David Alan Gilbert
Reviewed-by: Eric Blake
Signed-of
Add a parameter to pass the number of bytes written, and make it return
the number of pages written instead.
Signed-off-by: Juan Quintela
---
arch_init.c | 57 ++---
1 file changed, 38 insertions(+), 19 deletions(-)
diff --git a/arch_init.c b/
On Mar 16, 2015, at 8:19 AM, Paolo Bonzini wrote:
>
>
> On 13/03/2015 21:43, Programmingkid wrote:
>>> How do you do that in a terminal?
>>
>> I'm not sure what exactly you're asking. I will say past Apple laptop
>> did have the ability to page up or down by using the function key +
>> the up
Add a parameter to pass the number of bytes written, and make it return
the number of pages written instead.
Signed-off-by: Juan Quintela
---
arch_init.c | 44 +---
1 file changed, 25 insertions(+), 19 deletions(-)
diff --git a/arch_init.c b/arch_init.c
i
From: Alexander Graf
One of the really nice things about the VM description format is that it goes
over the wire when live migration is happening. Unfortunately QEMU today closes
any socket once it sees VM_EOF coming, so we never give the VMDESC the chance to
actually land on the wire.
This patc
From: Alexander Graf
We now always send a JSON blob describing the migration file format as part
of the migration stream. However, some tools built around QEMU have proven
to stumble over this.
This patch gives the user the chance to disable said self-describing part of
the migration stream. To
It has always been a page header, not a block header. Once there, the
flag argument was only passed to make a bit or with it, just do the or
on the caller.
Signed-off-by: Juan Quintela
---
arch_init.c | 27 +++
1 file changed, 19 insertions(+), 8 deletions(-)
diff --git
From: Alexander Graf
Older PC machine types might by accident be backwards live migration compatible,
but with the new vmdesc self-describing blob in our live migration stream we
would break that compatibility.
Also users wouldn't expect massive behaviorial differences when updating to a
new ver
Add a parameter to pass the number of bytes written, and make it return
the number of pages written instead.
Signed-off-by: Juan Quintela
---
arch_init.c | 45 +++--
1 file changed, 23 insertions(+), 22 deletions(-)
diff --git a/arch_init.c b/arch_init.c
The following changes since commit 2dfe7d07e2f40adb18a0b0cd286f3d327692d0fc:
Merge remote-tracking branch 'remotes/cohuck/tags/s390x-20150316' into
staging (2015-03-16 11:44:55 +)
are available in the git repository at:
git://github.com/juanquintela/qemu.git tags/migratio
On Fri, Mar 13, 2015 at 04:43:54PM -0400, Programmingkid wrote:
>
> On Mar 13, 2015, at 1:31 PM, Paolo Bonzini wrote:
>
> >
> >
> > On 13/03/2015 15:48, Programmingkid wrote:
> >>
> >> On Mar 13, 2015, at 5:51 AM, Peter Maydell wrote:
> >>
> >>> On 13 March 2015 at 04:35, Programmingkid
> >
It used to be an int, but then we can't pass directly the
bytes_transferred parameter, that would happen later in the series.
Signed-off-by: Juan Quintela
Reviewed-by: Amit Shah
---
arch_init.c | 11 ---
include/migration/migration.h | 2 +-
include/migration/qemu-fil
No need to pass it through all the callers. Once there, update
last_sent_block here.
Signed-off-by: Juan Quintela
---
arch_init.c | 47 ---
1 file changed, 24 insertions(+), 23 deletions(-)
diff --git a/arch_init.c b/arch_init.c
index d30fd13..7377a0
On 2015-03-11 at 07:22, Paolo Bonzini wrote:
On 25/02/2015 19:08, Max Reitz wrote:
Just returning -EINVAL for everything is bad. -EIO is often better, and
sometimes there is an even more fitting value.
Propagating the return value from write_sync is uglier, but it is even
better in terms of re
On Mon, 16 Mar 2015 16:58:14 +0800
Zhu Guihua wrote:
> From: Tang Chen
>
> Memory hot unplug are both asynchronous procedures.
> When the unplug operation happens, unplug request cb is called first.
> And when guest OS finished handling unplug, unplug cb will be called
> to do the real removal
On 16 March 2015 at 10:09, Aneesh Kumar K.V
wrote:
>
> Hi,
>
> Please pull the below update for VirtFS
>
> The following changes since commit ee74801035b0b5f1fdfd4e31d3a53f511f91c804:
>
> Merge remote-tracking branch 'remotes/lalrae/tags/mips-20150311' into
> staging (2015-03-11 18:22:15 +)
On Mon, 16 Mar 2015 16:58:15 +0800
Zhu Guihua wrote:
> From: Tang Chen
>
> Implement memory unplug request cb for pc-dimm, and call it in
> pc_machine_device_unplug_request_cb().
Please, merge this patch with 2/6.
>
> Signed-off-by: Tang Chen
> Signed-off-by: Zhu Guihua
> ---
> hw/i386/pc.
On 2015-03-11 at 07:24, Paolo Bonzini wrote:
On 25/02/2015 19:08, Max Reitz wrote:
In case the connection is closed before the export length can be read,
and an export name had been specified, this generally indicates that for
some reason the export could not be opened (e.g. there is no export
On 2015-03-11 at 07:30, Paolo Bonzini wrote:
On 25/02/2015 19:08, Max Reitz wrote:
This patch makes sure the result of strtol() does not overflow (by
storing it in long integers instead of plain integers, and by checking
errno), allows the user to specify "--discard on" and
"--detect-zeroes unm
On 2015-03-11 at 07:31, Paolo Bonzini wrote:
On 25/02/2015 19:08, Max Reitz wrote:
If some operation cannot be performed by a block driver, it is normally
supposed to return an error. In these cases, however, it is fine to
pretend the operations were carried out successfully because if the NBD
On Mon, Mar 16, 2015 at 04:58:13PM +0800, Zhu Guihua wrote:
> From: Tang Chen
>
> Add a new API named acpi_memory_slot_status() to obtain a single memory
> slot status. Doing this is because this procedure will be used by other
> functions in the next coming patches.
>
> Signed-off-by: Tang Chen
On 16 March 2015 at 13:48, Daniel P. Berrange wrote:
> The docs[1] still refer to fn+up/down as the way to achieve page up/down,
> so perhaps your install has simply lost the shortcut mappings ?
Works for me on a 2011 MacBook Air running Mavericks, anyway.
(Terminal is not necessarily the best ap
On Mon, 2015-03-16 at 15:35 +0800, Chen Fan wrote:
> On 03/16/2015 11:52 AM, Alex Williamson wrote:
> > On Mon, 2015-03-16 at 11:05 +0800, Chen Fan wrote:
> >> On 03/14/2015 06:34 AM, Alex Williamson wrote:
> >>> On Thu, 2015-03-12 at 18:23 +0800, Chen Fan wrote:
> when the vfio device encount
On Mon, 16 Mar 2015 16:58:16 +0800
Zhu Guihua wrote:
> From: Tang Chen
>
> This patch adds unplug cb for memory device. It resets some memory status
> in acpi_memory_unplug_cb().
'some' is quite vague. Pls, explain what it does in commit message.
[...]
> diff --git a/hw/acpi/piix4.c b/hw/acpi/
Document and clean up fw_cfg; additionally, allow user-provided blobs to
be inserted into fw_cfg via the qemu command line.
Please consider applying 1-5; Patch 6/6 should be considered as just an RFC
at this time, please let me know what you all think about it.
Summary of patches in the series:
Currently, when fw_cfg_add_file_callback() is invoked with a
duplicate file name, it gets to insert the data blob at the
next available selector, but exit (signalling the error via
a call to the trace_fw_cfg_add_file_dupe() function) before
incrementing the next available selector as soon as it fin
Add -g (--get-fwcfg) client-mode option to qemu-ga, causing
the named fw_cfg file to be retrieved and written to stdout.
Signed-off-by: Gabriel Somlo
---
First off, I have NOT forgotten the suggestion to make this a
standalone binary, and will do so when I submit it "for real".
It's just more co
This document covers the generic portions of fw_cfg as well as
the x86/x86-64 architecture specific components.
Signed-off-by: Jordan Justen
Signed-off-by: Gabriel Somlo
---
This is a resubmission of Jordan's patch from back when:
http://lists.gnu.org/archive/html/qemu-devel/2011-04/msg00238.
Allow user supplied files to be inserted into the fw_cfg
device before starting the guest. Since fw_cfg_add_file()
already disallows duplicate fw_cfg file names, qemu will
exit with an error message if the user supplies multiple
blobs with the same fw_cfg file name, or if a blob name
collides with
Currently, fw_cfg_add_bytes_read_callback() does not deal with
the possibility that the data pointer at the requested key position
has previously been set, and assumes it will be called exactly once
for each key value.
This patch introduces an assertion to codify this assumption, and
insure the da
The fw_cfg device allowed guest-side data writes to overwrite the
selected entry in place, without allowing modification to the size
of the entry, and with the ability to invoke a callback each time
the entry was overwritten completely.
To date, we are not aware of any use case which relies on the
On Mon, 16 Mar 2015 16:58:17 +0800
Zhu Guihua wrote:
> From: Tang Chen
>
> Implement unplug cb for pc-dimm. It calls memory unplug cb to reset
> some memory status, removes the corresponding memory region, and
> unregisters vmstate.
>
> Signed-off-by: Tang Chen
> Signed-off-by: Zhu Guihua
Pl
This series passed Patchew automatic testing, but there are some warnings.
Find the log fragments below, or open the following URL to see the full log:
http://qemu.patchew.org/testing/log/<1426515305-17766-1-git-send-email-so...@cmu.edu>
--8<-
docker run --net=none -v
/var/tmp
On Mon, Mar 16, 2015 at 10:13:50AM +, Stefano Stabellini wrote:
> On Fri, 13 Mar 2015, Konrad Rzeszutek Wilk wrote:
> > As the libxc library follows (mostly) the return negative
> > for failure and stashes the error value in errno.
> >
> > Signed-off-by: Konrad Rzeszutek Wilk
>
> Acked-by: S
On 03/16/2015 07:41 AM, Juan Quintela wrote:
> From: "Dr. David Alan Gilbert"
>
> Add migrate_incoming/migrate-incoming to start an incoming
> migration.
>
> Once a qemu has been started with
> -incoming defer
>
> the migration can be started by issuing:
> migrate_incoming uri
>
> Sign
On Mon, Mar 16, 2015 at 03:05:32PM +1100, Benjamin Herrenschmidt wrote:
>On Mon, 2015-03-16 at 12:04 +1100, Gavin Shan wrote:
>>
>>
>> (2) QEMU sends IOCTL commands to host to disable MSIx and enable INTx. At
>> this stage the INTx is still masked. At later point, the guest is requesting
>> unmas
On Mon, Mar 16, 2015 at 05:39:44PM +0800, Zhu Guihua wrote:
> Add a new API named acpi_send_gpe_event() to send hotplug SCI.
> This API can be used by pci, cpu and memory hotplug.
>
> Signed-off-by: Zhu Guihua
Good cleanup, but needs to fix up the coding style.
> ---
> hw/acpi/core.c
On Mar 16, 2015, at 10:00 AM, Peter Maydell wrote:
> On 16 March 2015 at 13:48, Daniel P. Berrange wrote:
>> The docs[1] still refer to fn+up/down as the way to achieve page up/down,
>> so perhaps your install has simply lost the shortcut mappings ?
>
> Works for me on a 2011 MacBook Air runnin
On Mar 16, 2015, at 9:48 AM, Daniel P. Berrange wrote:
> On Fri, Mar 13, 2015 at 04:43:54PM -0400, Programmingkid wrote:
>>
>> On Mar 13, 2015, at 1:31 PM, Paolo Bonzini wrote:
>>
>>>
>>>
>>> On 13/03/2015 15:48, Programmingkid wrote:
On Mar 13, 2015, at 5:51 AM, Peter Maydell wrot
On 16/03/2015 14:51, Max Reitz wrote:
>>>
>> Propagating the return value from write_sync is uglier, but it is even
>> better in terms of returned value.
>
> We can only return -errno values, but write_sync() may do partial writes
> so it may return non-negative values which still indicate an er
On 16 March 2015 at 12:40, Peter Maydell wrote:
> Last batch of bugfixes before hardfreeze...
>
> -- PMM
>
> The following changes since commit f421f05754ac5aabe15f12051390204116408b00:
>
> Merge remote-tracking branch
> 'remotes/kraxel/tags/pull-seabios-1.8.1-2015
On 16/03/2015 14:58, Max Reitz wrote:
>>>
>>> diff --git a/block/nbd-client.c b/block/nbd-client.c
>>> index be6803d..ab13607 100644
>>> --- a/block/nbd-client.c
>>> +++ b/block/nbd-client.c
>>> @@ -315,6 +315,7 @@ int nbd_client_co_flush(BlockDriverState *bs)
>>> ssize_t ret;
>>> i
On 16 March 2015 at 14:38, Programmingkid wrote:
>
> On Mar 16, 2015, at 10:00 AM, Peter Maydell wrote:
>
>> On 16 March 2015 at 13:48, Daniel P. Berrange wrote:
>>> The docs[1] still refer to fn+up/down as the way to achieve page up/down,
>>> so perhaps your install has simply lost the shortcut
On 03/16/2015 04:31 AM, hw.clau...@gmail.com wrote:
> From: Claudio Fontana
>
> usage is similar to the commands x, xp.
>
> Example with string: looking for "ELF" header in memory:
>
> (qemu) s/100cb 0x40001000 "ELF"
> searching memory area [40001000-400f5240]
> 4009
On Mar 16, 2015, at 10:43 AM, Peter Maydell wrote:
> On 16 March 2015 at 14:38, Programmingkid wrote:
>>
>> On Mar 16, 2015, at 10:00 AM, Peter Maydell wrote:
>>
>>> On 16 March 2015 at 13:48, Daniel P. Berrange wrote:
The docs[1] still refer to fn+up/down as the way to achieve page up/d
On 2015-03-16 at 10:42, Paolo Bonzini wrote:
On 16/03/2015 14:51, Max Reitz wrote:
Propagating the return value from write_sync is uglier, but it is even
better in terms of returned value.
We can only return -errno values, but write_sync() may do partial writes
so it may return non-negative va
On 16/03/2015 15:45, Programmingkid wrote:
> > > Are you saying you are able to scroll up and down in QEMU's monitor
> > > using your MacBook Air's keyboard?
> >
> > I haven't attempted to use the monitor. I'm just saying that
> > on my OSX it does turn those keys into pageup/down.
>
> Please t
On 2015-03-16 at 10:44, Paolo Bonzini wrote:
On 16/03/2015 14:58, Max Reitz wrote:
diff --git a/block/nbd-client.c b/block/nbd-client.c
index be6803d..ab13607 100644
--- a/block/nbd-client.c
+++ b/block/nbd-client.c
@@ -315,6 +315,7 @@ int nbd_client_co_flush(BlockDriverState *bs)
ssize_
On Mar 16, 2015, at 10:47 AM, Paolo Bonzini wrote:
>
>
> On 16/03/2015 15:45, Programmingkid wrote:
Are you saying you are able to scroll up and down in QEMU's monitor
using your MacBook Air's keyboard?
>>>
>>> I haven't attempted to use the monitor. I'm just saying that
>>> on my OS
On 16/03/2015 15:48, Max Reitz wrote:
> On 2015-03-16 at 10:42, Paolo Bonzini wrote:
>>
>> On 16/03/2015 14:51, Max Reitz wrote:
Propagating the return value from write_sync is uglier, but it is even
better in terms of returned value.
>>> We can only return -errno values, but write_sync
On 16/03/2015 15:49, Max Reitz wrote:
>>>
>> Right, but a better model than block.c should be for example
>> block/raw-posix.c, which returns ENOTSUP (I checked now...).
>
> Maybe we should catch ENOTSUP in bdrv_co_discard() and override it?
That's what it does:
if (ret && ret != -ENOT
On 16/03/2015 15:49, Programmingkid wrote:
>
> On Mar 16, 2015, at 10:47 AM, Paolo Bonzini wrote:
>
>>
>>
>> On 16/03/2015 15:45, Programmingkid wrote:
> Are you saying you are able to scroll up and down in QEMU's monitor
> using your MacBook Air's keyboard?
I haven't attempte
On 2015-03-16 at 10:51, Paolo Bonzini wrote:
On 16/03/2015 15:49, Max Reitz wrote:
Right, but a better model than block.c should be for example
block/raw-posix.c, which returns ENOTSUP (I checked now...).
Maybe we should catch ENOTSUP in bdrv_co_discard() and override it?
That's what it does:
On 16 March 2015 at 15:45, Eric Blake wrote:
> On 03/16/2015 04:31 AM, hw.clau...@gmail.com wrote:
>> From: Claudio Fontana
>>
>> usage is similar to the commands x, xp.
>>
>> Example with string: looking for "ELF" header in memory:
>>
>> (qemu) s/100cb 0x40001000 "ELF"
>> searching memory ar
On 16 March 2015 at 14:52, Paolo Bonzini wrote:
>
>
> On 16/03/2015 15:49, Programmingkid wrote:
>> Sorry but the GTK interface doesn't work on Mac OS X. We are all hoping this
>> will change in the future.
>
> What's the problem? Was the bug reported?
Well known and longstanding -- the Cocoa U
On Mar 16, 2015, at 10:52 AM, Paolo Bonzini wrote:
>
>
> On 16/03/2015 15:49, Programmingkid wrote:
>>
>> On Mar 16, 2015, at 10:47 AM, Paolo Bonzini wrote:
>>
>>>
>>>
>>> On 16/03/2015 15:45, Programmingkid wrote:
>> Are you saying you are able to scroll up and down in QEMU's monitor
>
On 16/03/2015 15:45, Eric Blake wrote:
> On 03/16/2015 04:31 AM, hw.clau...@gmail.com wrote:
>> From: Claudio Fontana
>>
>> usage is similar to the commands x, xp.
>>
>> Example with string: looking for "ELF" header in memory:
>>
>> (qemu) s/100cb 0x40001000 "ELF" searching memory area
>>
On Mon, 16 Mar 2015 16:58:18 +0800
Zhu Guihua wrote:
> This patch adds a new bit to memory hotplug IO port indicating that
actually bit was added in 2/6 where is_removing had been added.
> EJ0 has been evaluated by guest OS. And call pc-dimm unplug cb to do
> the real removal.
>
> Signed-off-by
This adds only the non trap instructions.
Signed-off-by: Bastian Koppelmann
---
target-tricore/cpu.h | 7
target-tricore/helper.h| 3 ++
target-tricore/op_helper.c | 89 ++
target-tricore/translate.c | 76 ++
Reviewed-by: Richard Henderson
Signed-off-by: Bastian Koppelmann
---
target-tricore/translate.c | 63 ++
1 file changed, 63 insertions(+)
diff --git a/target-tricore/translate.c b/target-tricore/translate.c
index 1cebc9b..f03cd26 100644
--- a/target-t
Add helpers:
* msub64_q_ssov: multiply two 32 bit q-format number, sub the result from a
64 bit q-format number and saturate.
* msub32_q_sub_ssov: sub two 64 bit q-format numbers and return a 32 bit
result.
* msubr_q_ssov: multiply two 32 bi
Reviewed-by: Richard Henderson
Signed-off-by: Bastian Koppelmann
---
target-tricore/translate.c | 56 ++
1 file changed, 56 insertions(+)
diff --git a/target-tricore/translate.c b/target-tricore/translate.c
index 525b236..1cebc9b 100644
--- a/target-t
ommit 307146cb9359ad6d4544e00af073088772d165eb:
Merge remote-tracking branch 'remotes/kvaneesh/for-upstream' into staging
(2015-03-16 13:04:09 +)
are available in the git repository at:
https://github.com/bkoppelmann/qemu-tricore-upstream.git
tags/pull-tricore-20150316
for you to fetc
Am 13.03.2015 um 18:51 hat Markus Armbruster geschrieben:
> Error classes are a leftover from the days of "rich" error objects.
> New code should always use ERROR_CLASS_GENERIC_ERROR. Commit e246211
> added a use of ERROR_CLASS_DEVICE_NOT_FOUND. Replace it.
>
> Signed-off-by: Markus Armbruster
Add helpers helper_subadr_h/_ssov which subs one halfword and adds one
halfword, rounds / and saturates each half word independently.
Add microcode helper functions:
* gen_msubad_h/ads_h: multiply two halfwords left justified and sub from the
first one word and add th
On Tue, 2015-03-17 at 01:34 +1100, Gavin Shan wrote:
> On Mon, Mar 16, 2015 at 03:05:32PM +1100, Benjamin Herrenschmidt wrote:
> >On Mon, 2015-03-16 at 12:04 +1100, Gavin Shan wrote:
> >>
> >>
> >> (2) QEMU sends IOCTL commands to host to disable MSIx and enable INTx. At
> >> this stage the INTx
Add helpers:
* sub64_ssov: subs two 64 bit values and saturates the result.
* subr_h/_ssov: subs two halfwords from two words in q-format with rounding
/ and saturates each result independetly.
Add microcode generator:
* gen_sub64_d: adds two 64 bit values.
* ge
On Mar 16, 2015, at 10:59 AM, Peter Maydell wrote:
> On 16 March 2015 at 14:52, Paolo Bonzini wrote:
>>
>>
>> On 16/03/2015 15:49, Programmingkid wrote:
>>> Sorry but the GTK interface doesn't work on Mac OS X. We are all hoping
>>> this will change in the future.
>>
>> What's the problem?
Am 12.03.2015 um 16:08 hat Markus Armbruster geschrieben:
> qerror_report_err() is a transitional interface to help with
> converting existing monitor commands to QMP. It should not be used
> elsewhere. Replace by error_report_err().
>
> Commit 6936f29 cleaned that up in qemu-img.c, but two call
For Windows guest greater than or equal to Vista/2008, _WIN32_WINNT may be
defined via the configure option with-win32-winnt=. The use of
with-win32-wint= to set _WIN32_WINNT is optional. Setting this value to at
least 0x0600 e.g. with-win32-wint=0x0600, provides access to the
OnLinkPrefixLength
Am 11.03.2015 um 06:42 hat Fam Zheng geschrieben:
> Aio context switch should just work because the requests will be
> drained, so the scheduled timer(s) on the old context will be freed.
>
> Signed-off-by: Fam Zheng
>
> ---
> v3: latency_ns -> latency-ns; Add documentation in qapi json. [Eric]
Am 13.03.2015 um 13:23 hat Alberto Garcia geschrieben:
> On Fri, Mar 13, 2015 at 02:35:29PM +0800, Fam Zheng wrote:
>
> > Throttle timers won't make any progress when VCPU is not running,
> > which is prone to stall the request queue in cases like utils,
> > qtest, suspending, and live migration,
On 03/13/2015 11:03 PM, Chen Gang wrote:
> +static void decode_rrr_1_opcode_y0(struct DisasContext *dc,
> + tilegx_bundle_bits bundle)
> +{
> +switch (get_RRROpcodeExtension_Y0(bundle)) {
> +case UNARY_RRR_1_OPCODE_Y0:
> +switch (get_UnaryOpcodeExte
On Mon, Mar 16, 2015 at 02:16:40PM +0200, Marcel Apfelbaum wrote:
> On 03/10/2015 07:42 PM, Michael S. Tsirkin wrote:
> >On Tue, Mar 10, 2015 at 06:21:14PM +0200, Marcel Apfelbaum wrote:
> >>On 03/10/2015 05:47 PM, Michael S. Tsirkin wrote:
> >>>On Tue, Mar 10, 2015 at 05:32:14PM +0200, Marcel Apfe
On 03/15/2015 04:57 PM, Chen Gang wrote:
> OK, thanks. And next, I shall try to send the whole tilegx patches again
> (it is about 6-8 patches), within 2015-03-18.
When you do so, make sure it's against the *current* master tree.
Your patch set doesn't compile at all at the moment, after
commit
On Mon, 16 Mar 2015 06:03:24 +0100
"Michael S. Tsirkin" wrote:
> On Mon, Mar 16, 2015 at 01:44:22PM +1030, Rusty Russell wrote:
> > diff --git a/content.tex b/content.tex
> > index 6ba079d..2c946a5 100644
> > --- a/content.tex
> > +++ b/content.tex
> > @@ -600,10 +600,19 @@ them: it is only writ
On Mon, Mar 16, 2015 at 09:05:27AM -0600, Alex Williamson wrote:
>On Tue, 2015-03-17 at 01:34 +1100, Gavin Shan wrote:
>> On Mon, Mar 16, 2015 at 03:05:32PM +1100, Benjamin Herrenschmidt wrote:
>> >On Mon, 2015-03-16 at 12:04 +1100, Gavin Shan wrote:
>> >>
>> >> (2) QEMU sends IOCTL commands to ho
On 03/16/2015 05:28 PM, Michael S. Tsirkin wrote:
On Mon, Mar 16, 2015 at 02:16:40PM +0200, Marcel Apfelbaum wrote:
On 03/10/2015 07:42 PM, Michael S. Tsirkin wrote:
On Tue, Mar 10, 2015 at 06:21:14PM +0200, Marcel Apfelbaum wrote:
On 03/10/2015 05:47 PM, Michael S. Tsirkin wrote:
On Tue, Mar
101 - 200 of 323 matches
Mail list logo