commit_msg
stringlengths 1
24.2k
| commit_hash
stringlengths 2
84
⌀ | project
stringlengths 2
40
| source
stringclasses 4
values | labels
int64 0
1
| repo_url
stringlengths 26
70
⌀ | commit_url
stringlengths 74
118
⌀ | commit_date
stringlengths 25
25
⌀ |
---|---|---|---|---|---|---|---|
xilinx_axienet: pump events as appropriate
When the conditions blocking receiving are cleared, check for buffered rx
packets.
Signed-off-by: Peter Crosthwaite <[email protected]>
Signed-off-by: Edgar E. Iglesias <[email protected]>
|
4dbb9ed3263e0f48282a2fc3d05099ba63e5b0e2
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/4dbb9ed3263e0f48282a2fc3d05099ba63e5b0e2
|
2013-04-04 00:55:03+02:00
|
mmu-hash32: Clean up BAT matching logic
The code to search for a matching BAT for a virtual address is somewhat
longwinded and awkward. In particular, it relies on seperate size and
validity information being returned from the hash32_bat_size() function
(and 601 specific variant).
We simplify this by having hash32_bat_size() return instead a mask of the
virtual address bits to match, and 0 for invalid (since a BAT can never
match the entire address space).
Signed-off-by: David Gibson <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
|
6fc76aa9adc1c8896a97059f12a1e5e6c1820c64
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/6fc76aa9adc1c8896a97059f12a1e5e6c1820c64
|
2013-03-22 15:28:51+01:00
|
qcow2: Allow lazy refcounts to be enabled on the command line
qcow2 images now accept a boolean lazy_refcounts options. Use it like
this:
-drive file=test.qcow2,lazy_refcounts=on
If the option is specified on the command line, it overrides the default
specified by the qcow2 header flags that were set when creating the
image.
Signed-off-by: Kevin Wolf <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
|
74c4510a3cf7c369ee524c6f8fa8a87cf08ba608
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/74c4510a3cf7c369ee524c6f8fa8a87cf08ba608
|
2013-03-15 16:07:49+01:00
|
mmu-hash*: Clean up permission checking
Currently checking of PTE permission bits is split messily amongst
ppc_hash{32,64}_pp_check(), ppc_hash{32,64}_check_prot() and their callers.
This patch cleans this up to have the new function
ppc_hash{32,64}_pte_prot() compute the page permissions from the SLBE (for
64-bit) or segment register (32-bit) and the pte. A greatly simplified
version of the actual permissions check is then open coded in the callers.
The 32-bit version of ppc_hash32_pte_prot() is implemented in terms of
ppc_hash32_pp_prot(), a renamed and slightly cleaned up version of the old
ppc_hash32_pp_check(), which is also used for checking BAT permissions on
the 601.
Signed-off-by: David Gibson <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
|
e01b444523e2b0c663b42b3e8f44ef48a6153051
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/e01b444523e2b0c663b42b3e8f44ef48a6153051
|
2013-03-22 15:28:52+01:00
|
target-i386: no need to flush out cc_op before gen_eob
This makes code more similar to the other callers of gen_eob, especially
loopz/loopnz/jcxz.
Signed-off-by: Paolo Bonzini <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
|
ccfcdd09bf91aabe039d2dae0b5ec3a05f083e59
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/ccfcdd09bf91aabe039d2dae0b5ec3a05f083e59
|
2013-02-18 15:03:56-08:00
|
ppce500_spin: Replace open-coded CPU loop with qemu_get_cpu()
Potentially env could be NULL whereas cpu would still be valid and
correspond to a previous env.
Wrapping this in qemu_get_cpu(), env is no longer needed, so simplify
code that existed before 55e5c2850293547203874098f7cec148ffd12dfa.
Acked-by: Alexander Graf <[email protected]>
Signed-off-by: Andreas Färber <[email protected]>
|
912ebe10eff6cf7e05f908a44283033c1c0270a0
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/912ebe10eff6cf7e05f908a44283033c1c0270a0
|
2013-02-16 14:51:00+01:00
|
gtk: add support for input grabbing (v2)
There is a small deviation from SDL's behavior here. Instead of Ctrl+Alt
triggering grab, we now use Ctrl-Alt-g to trigger grab.
GTK will not accept Ctrl+Alt as an accelerator since it just consists of
modifiers. Having grab as a proper accelerator is important as it allows a user
to override the accelerator for accessibility purposes.
We also are not automatically grabbing on left-click. Besides the inability to
tie mouse clicks to an accelerator, I think this behavior is hard to discover
and since it only happens depending on the guest state, it can lead to confusing
behavior.
This can be changed in the future if there's a strong resistence to dropping
left-click-to-grab, but I think we're better off dropping it.
Signed-off-by: Anthony Liguori <[email protected]>
Message-id: [email protected]
|
5104a1f65088285ddf870aa641b9061064e8757d
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/5104a1f65088285ddf870aa641b9061064e8757d
|
2013-02-21 16:34:48-06:00
|
target-xtensa: Move TCG initialization to XtensaCPU initfn
Combine this with breakpoint handler registration, guarding both with
tcg_enabled() to suppress also TCG init for qtest. Rename the handler to
xtensa_breakpoint_handler() since it needs to become global.
Signed-off-by: Andreas Färber <[email protected]>
|
25733eada6c1d4928262e77e2ee1e9ed12de18fb
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/25733eada6c1d4928262e77e2ee1e9ed12de18fb
|
2013-02-16 14:50:59+01:00
|
qdev: move unrealization of devices from finalize to unparent
Similarly, a bus holds a reference back to the device, and this will
prevent the device from going away as soon as this reference is counted
properly. To avoid this, move the unrealization of devices to the
unparent callback. This includes recursively unparenting all the buses
and (after the previous patch) the devices on those buses, which ensures
that the web of references completely disappears for all devices that
reside (in the qdev tree) below the one being unplugged.
After this patch, the qdev tree and the bus<->child relationship is
defined as "A is above B, iff unplugging A will automatically unplug B".
Signed-off-by: Paolo Bonzini <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
|
06f7f2bb562826101468f387b4a34971b16e9aee
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/06f7f2bb562826101468f387b4a34971b16e9aee
|
2013-02-01 15:53:10-06:00
|
trivial: etraxfs_eth: Eliminate checkpatch errors
This is a trivial patch to harmonize the coding style on
hw/etraxfs_eth.c. This is in preparation to split off the bitbang mdio
code into a separate file.
Cc: Peter Maydell <[email protected]>
Cc: Paul Brook <[email protected]>
Cc: Edgar E. Iglesias <[email protected]>
Cc: Anthony Liguori <[email protected]>
Cc: Andreas Färber <[email protected]>
Signed-off-by: Grant Likely <[email protected]>
Signed-off-by: Edgar E. Iglesias <[email protected]>
|
9fc7577af56153a4f75709ce526d64bf6845d002
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/9fc7577af56153a4f75709ce526d64bf6845d002
|
2013-01-24 09:15:59+01:00
|
optimize: only write to state when clearing optimizer data
The next patch will add to the TCG optimizer a field that should be
non-zero in the default case. Thus, replace the memset of the
temps array with a loop. Only the state field has to be up-to-date,
because others are not used except if the state is TCG_TEMP_COPY
or TCG_TEMP_CONST.
[rth: Extracted the loop to a function.]
Signed-off-by: Paolo Bonzini <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Signed-off-by: Blue Swirl <[email protected]>
|
d193a14a2c94c9c4877ab100c31ec174dc78644c
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/d193a14a2c94c9c4877ab100c31ec174dc78644c
|
2013-01-19 10:13:13+00:00
|
Protect migration_bitmap_sync() with the ramlist lock
Signed-off-by: Paolo Bonzini <[email protected]>
Signed-off-by: Juan Quintela <[email protected]>
Reviewed-by: Reviewed-by: Eric Blake <[email protected]>
|
9c339485f0abb96595f4d91880b177726463300c
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/9c339485f0abb96595f4d91880b177726463300c
|
2013-01-17 13:27:07+01:00
|
qom/object.c: Reset interface list on inheritance
The QOM framework will attempt the recreate a classes interface list from
scratch for each class. This means that a child class should zero out the
list of interfaces when cloned from the parent class.
Currently the list is memcpy()d from the parent to the child. As the interface
list is just a pointer to a list, this means the parent and child will share
the same list of interfaces. When the child inits, it will append its own
interfaces to the parents list. This is incorrect as the parent should not pick
up its childs interfaces.
This actually causes an infinite loop at class init time, as the child will
iterate through the parent interface list adding each itf to its own list(in
type_initialize()). As the list is (erroneously) shared, the new interface
instances for the child are appended to the parent, and the iterator never hits
the tail and loops forever.
Signed-off-by: Peter Crosthwaite <[email protected]>
Reviewed-by: Paolo Bonzini <[email protected]>
Message-id: 1f58d2b629d82865dbb2fd5ba8445854049c4382.1361246206.git.peter.crosthwaite@xilinx.com
Signed-off-by: Anthony Liguori <[email protected]>
|
3e407de47700cce4babbe0f3ac35677e7b852cf6
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/3e407de47700cce4babbe0f3ac35677e7b852cf6
|
2013-02-21 16:34:10-06:00
|
usb-storage: Drop useless null test in usb_msd_handle_data()
scsi_req_new() never returns null, and scsi_req_enqueue() dereferences
the pointer, so checking for null is useless.
Spotted by Coverity.
Signed-off-by: Markus Armbruster <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
|
a1cbfd554e11bb8af38c2f3e1f1574bf4c563cd2
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/a1cbfd554e11bb8af38c2f3e1f1574bf4c563cd2
|
2013-01-16 12:03:15-06:00
|
qcow2: Fix segfault on zero-length write
One of the recent refactoring patches (commit f50f88b9) didn't take care
to initialise l2meta properly, so with zero-length writes, which don't
even enter the write loop, qemu just segfaulted.
Signed-off-by: Kevin Wolf <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
|
8d2497c3552e19a60e7a75d20976471ecb2a8e2b
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/8d2497c3552e19a60e7a75d20976471ecb2a8e2b
|
2013-01-15 09:08:55+01:00
|
target-i386: check/enforce: Eliminate check_feat field
Now that all entries have check_feat=~0 in
kvm_check_features_against_host(), we can eliminate check_feat entirely
and make the code check all bits.
This patch shouldn't introduce any behavior change, as check_feat is set
to ~0 on all entries.
Signed-off-by: Eduardo Habkost <[email protected]>
Reviewed-by: Gleb Natapov <[email protected]>
Signed-off-by: Andreas Färber <[email protected]>
|
e8beac00bd26a60e788ab336f38bc12a95b20f0d
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/e8beac00bd26a60e788ab336f38bc12a95b20f0d
|
2013-01-08 21:03:44+01:00
|
sheepdog: implement direct write semantics
Sheepdog supports both writeback/writethrough write but has not yet supported
DIRECTIO semantics which bypass the cache completely even if Sheepdog daemon is
set up with cache enabled.
Suppose cache is enabled on Sheepdog daemon size, the new cache control is
cache=writeback # enable the writeback semantics for write
cache=writethrough # enable the emulated writethrough semantics for write
cache=directsync # disable cache competely
Guest WCE toggling on the run time to toggle writeback/writethrough is also
supported.
Cc: MORITA Kazutaka <[email protected]>
Cc: Kevin Wolf <[email protected]>
Cc: Stefan Hajnoczi <[email protected]>
Signed-off-by: Liu Yuan <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Reviewed-by: MORITA Kazutaka <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
|
0e7106d8b5f7ef4f9df10baf1dfb3db482bcd046
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/0e7106d8b5f7ef4f9df10baf1dfb3db482bcd046
|
2013-01-14 10:06:56+01:00
|
exec: extract TB watchpoint check
Will be moved by the next patch.
Signed-off-by: Blue Swirl <[email protected]>
|
5a3165263ae6782a7fe712a0a0c29c17468b9b68
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/5a3165263ae6782a7fe712a0a0c29c17468b9b68
|
2012-12-16 08:28:29+00:00
|
ram: optimize migration bitmap walking
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 <[email protected]>
|
4c8ae0f60e63478aea0a1741cca95474b68fb949
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/4c8ae0f60e63478aea0a1741cca95474b68fb949
|
2012-12-20 23:09:40+01:00
|
build: do not include main loop where it is not actually used
Signed-off-by: Paolo Bonzini <[email protected]>
|
136594f19aa6370e77a50bd9bba5db77def6ec8f
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/136594f19aa6370e77a50bd9bba5db77def6ec8f
|
2012-10-30 09:30:52+01:00
|
openpic: combine mpic and openpic irq raise functions
The IRQ raise mechanisms of the OpenPIC and MPIC controllers is identical,
just that the MPIC one can also raise critical interrupts.
Combine those two and check for critical raise capability during runtime.
Signed-off-by: Alexander Graf <[email protected]>
|
5861a33898bbddfd1a80c2e202cb9352e3b1ba62
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/5861a33898bbddfd1a80c2e202cb9352e3b1ba62
|
2012-12-14 13:12:55+01:00
|
target-i386: kvm: -cpu host: Use GET_SUPPORTED_CPUID for SVM features
The existing -cpu host code simply sets every bit inside svm_features
(initializing it to -1), and that makes it impossible to make the
enforce/check options work properly when the user asks for SVM features
explicitly in the command-line.
So, instead of initializing svm_features to -1, use GET_SUPPORTED_CPUID
to fill only the bits that are supported by the host (just like we do
for all other CPUID feature words inside kvm_cpu_fill_host()).
This will keep the existing behavior (as filter_features_for_kvm()
already uses GET_SUPPORTED_CPUID to filter svm_features), but will allow
us to properly check for KVM features inside
kvm_check_features_against_host() later.
For example, we will be able to make this:
$ qemu-system-x86_64 -cpu ...,+pfthreshold,enforce
refuse to start if the SVM "pfthreshold" feature is not supported by the
host (after we fix kvm_check_features_against_host() to check SVM flags
as well).
Signed-off-by: Eduardo Habkost <[email protected]>
Reviewed-by: Gleb Natapov <[email protected]>
Signed-off-by: Andreas Färber <[email protected]>
|
fcb93c036053ca8a5cfc02ca72b1b80dd2062423
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/fcb93c036053ca8a5cfc02ca72b1b80dd2062423
|
2013-01-08 21:03:44+01:00
|
qemu-timer: Check for usable fields for SIGEV_THREAD_ID
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.
Signed-off-by: Richard Henderson <[email protected]>
Signed-off-by: Aurelien Jarno <[email protected]>
|
1e9737da4aafb54681203931dfe8f8eea21fcef7
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/1e9737da4aafb54681203931dfe8f8eea21fcef7
|
2012-10-28 14:54:25+01:00
|
configure: avoid compiler warning in pipe2 detection
When building qemu-kvm for openSUSE:Factory, I am getting a
warning in the pipe2 detection performed by configure, which
prevents using --enable-werror.
Change detection code to use return value of pipe2.
Signed-off-by: Bruce Rogers <[email protected]>
Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Blue Swirl <[email protected]>
|
9bca81624ef9299b9a06013fd29cd6899079aab4
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/9bca81624ef9299b9a06013fd29cd6899079aab4
|
2012-10-27 14:21:04+00:00
|
target-sparc: Make cpu_dst local to OP=2 insns
And initialize it such that it (may) write directly to rd.
Signed-off-by: Richard Henderson <[email protected]>
Signed-off-by: Blue Swirl <[email protected]>
|
5793f2a47e201d251856c7956d6f7907ec0d9f1f
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/5793f2a47e201d251856c7956d6f7907ec0d9f1f
|
2012-10-20 07:56:07+00:00
|
osdep: Less restrictive F_SEFL in qemu_dup_flags()
qemu_dup_flags() currently limits the flags that can be set on the
fcntl() F_SETFL call to those that we currently know can be set with
fcntl() F_SETFL. The problem with this is that it will prevent use
of new flags in the future without a code update.
This patch relaxes the checking and lets fcntl() determine the flags
it can set.
Signed-off-by: Corey Bryant <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
|
3b6eda2f57a5b7ed047077b6272c2b5a9e3531ca
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/3b6eda2f57a5b7ed047077b6272c2b5a9e3531ca
|
2012-10-24 10:26:22+02:00
|
qxl/update_area_io: cleanup invalid parameters handling
This cleans up two additions of almost the same code in commits
511b13e2c9 and ccc2960d654. While at it, make error paths
consistent (always use 'break' instead of 'return').
Signed-off-by: Michael Tokarev <[email protected]>
Cc: Dunrong Huang <[email protected]>
Cc: Alon Levy <[email protected]>
Signed-off-by: Gerd Hoffmann <[email protected]>
|
36a03e0ba5202cf49749b2128bb62d41983681d6
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/36a03e0ba5202cf49749b2128bb62d41983681d6
|
2012-10-08 12:15:16+02:00
|
qapi: convert sendkey
Convert 'sendkey' to use QAPI.
QAPI passes key's index of mapping table to qmp_send_key(),
not keycode. So we use help functions to convert key/code to
index of key_defs, and 'index' will be converted to 'keycode'
inside qmp_send_key().
For qmp, QAPI would check invalid key and raise error.
For hmp, invalid key is checked in hmp_send_key().
'send-key' of QMP doesn't support key in hexadecimal format.
Signed-off-by: Amos Kong <[email protected]>
Signed-off-by: Luiz Capitulino <[email protected]>
|
e4c8f004c55d9da3eae3e14df740238bf805b5d6
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/e4c8f004c55d9da3eae3e14df740238bf805b5d6
|
2012-09-05 15:48:57-03:00
|
qemu-iotests: add backing file smaller than image test case
This new test case checks that streaming completes successfully when the
backing file is smaller than the image file.
Signed-off-by: Stefan Hajnoczi <[email protected]>
Reviewed-by: Paolo Bonzini <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
|
774a8850d708aeb6dd6de493c28b374098c1a4c3
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/774a8850d708aeb6dd6de493c28b374098c1a4c3
|
2012-08-29 15:23:35+02:00
|
x86: Implement SMEP and SMAP
This patch implements Supervisor Mode Execution Prevention (SMEP) and
Supervisor Mode Access Prevention (SMAP) for x86. The purpose of the
patch, obviously, is to help kernel developers debug the support for
those features.
A fair bit of the code relates to the handling of CPUID features. The
CPUID code probably would get greatly simplified if all the feature
bit words were unified into a single vector object, but in the
interest of producing a minimal patch for SMEP/SMAP, and because I had
very limited time for this project, I followed the existing style.
[ v2: don't change the definition of the qemu64 CPU shorthand, since
that breaks loading old snapshots. Per Anthony Liguori this can be
fixed once the CPU feature set is snapshot.
Change the coding style slightly to conform to checkpatch.pl. ]
Signed-off-by: H. Peter Anvin <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
|
a9321a4d49d65d29c2926a51aedc5b91a01f3591
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/a9321a4d49d65d29c2926a51aedc5b91a01f3591
|
2012-10-01 08:04:22-05:00
|
qcow2: introduce dirty bit
This patch adds an incompatible feature bit to mark images that have not
been closed cleanly. When a dirty image file is opened a consistency
check and repair is performed.
Update qemu-iotests 031 and 036 since the extension header size changes
when we add feature bit table entries.
Signed-off-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
|
c61d0004bc37182cae0f92a865ad2f0625762610
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/c61d0004bc37182cae0f92a865ad2f0625762610
|
2012-08-06 22:39:14+02:00
|
hw/arm_boot.c: Check for RAM sizes exceeding ATAGS capacity
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 <[email protected]>
Reviewed-by: Peter A. G. Crosthwaite <[email protected]>
|
3871481c0a3f64f25563a5a246c188acdc01ee49
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/3871481c0a3f64f25563a5a246c188acdc01ee49
|
2012-07-20 13:34:50+01:00
|
Adding support for libseccomp in configure and Makefile (v8)
Adding basic options to the configure script to use libseccomp or not.
The default is set to 'no'. If the flag --enable-libseccomp is used, the
script will check for its existence using pkg-config.
Signed-off-by: Eduardo Otubo <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
---
v1 -> v2:
- As I removed all the code related to seccomp from vl.c, I created
qemu-seccomp.[ch].
- Also making the configure script to add the specific line to
Makefile.obj in order to compile with appropriate support to seccomp.
v2 -> v3:
- Removing the line from Makefile.obj and adding it to Makefile.objs.
- Marking libseccomp default option to 'yes' in the configure script.
v3 -> v8:
- fix configure probe if libseccomp isn't available (aliguori)
|
f794573eab564548fa7aa463b5908b0042c0e6a4
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/f794573eab564548fa7aa463b5908b0042c0e6a4
|
2012-08-16 13:41:16-05:00
|
ram: save_live_complete() only do one loop
We were doing the same loop that stage2, and a new one for stage3. We
only need the one for stage3.
Signed-off-by: Juan Quintela <[email protected]>
|
b81e712d252cf41a0825f5abad0ce2f4746864f1
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/b81e712d252cf41a0825f5abad0ce2f4746864f1
|
2012-07-20 08:19:27+02:00
|
qapi: input_type_enum(): fix error message
The enum string is pointed to by 'enum_str' not 'name'. This bug
causes the error message to be:
{ "error": { "class": "InvalidParameter",
"desc": "Invalid parameter 'null'",
"data": { "name": "null" } } }
Signed-off-by: Luiz Capitulino <[email protected]>
Reviewed-by: Amos Kong <[email protected]>
|
94c3db85b4cc1d4e078859834a761bcc9d988780
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/94c3db85b4cc1d4e078859834a761bcc9d988780
|
2012-07-13 13:46:55-03:00
|
kvm: expose tsc deadline timer feature to guest
This patch exposes tsc deadline timer feature to guest if
1). in-kernel irqchip is used, and
2). kvm has emulated tsc deadline timer, and
3). user authorize the feature exposing via -cpu or +/- tsc-deadline
Signed-off-by: Liu, Jinsong <[email protected]>
Reviewed-by: Eduardo Habkost <[email protected]>
Acked-by: Jan Kiszka <[email protected]>
Signed-off-by: Marcelo Tosatti <[email protected]>
|
a75b3e0f641a68b7cdd4bbe4ed1b60f963bf2b62
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/a75b3e0f641a68b7cdd4bbe4ed1b60f963bf2b62
|
2012-07-03 17:36:32-03:00
|
block: Support GlusterFS as a QEMU block backend.
This patch adds gluster as the new block backend in QEMU. This gives
QEMU the ability to boot VM images from gluster volumes. Its already
possible to boot from VM images on gluster volumes using FUSE mount, but
this patchset provides the ability to boot VM images from gluster volumes
by by-passing the FUSE layer in gluster. This is made possible by
using libgfapi routines to perform IO on gluster volumes directly.
VM Image on gluster volume is specified like this:
file=gluster[+transport]://[server[:port]]/volname/image[?socket=...]
'gluster' is the protocol.
'transport' specifies the transport type used to connect to gluster
management daemon (glusterd). Valid transport types are
tcp, unix and rdma. If a transport type isn't specified, then tcp
type is assumed.
'server' specifies the server where the volume file specification for
the given volume resides. This can be either hostname, ipv4 address
or ipv6 address. ipv6 address needs to be within square brackets [ ].
If transport type is 'unix', then 'server' field should not be specifed.
The 'socket' field needs to be populated with the path to unix domain
socket.
'port' is the port number on which glusterd is listening. This is optional
and if not specified, QEMU will send 0 which will make gluster to use the
default port. If the transport type is unix, then 'port' should not be
specified.
'volname' is the name of the gluster volume which contains the VM image.
'image' is the path to the actual VM image that resides on gluster volume.
Examples:
file=gluster://1.2.3.4/testvol/a.img
file=gluster+tcp://1.2.3.4/testvol/a.img
file=gluster+tcp://1.2.3.4:24007/testvol/dir/a.img
file=gluster+tcp://[1:2:3:4:5:6:7:8]/testvol/dir/a.img
file=gluster+tcp://[1:2:3:4:5:6:7:8]:24007/testvol/dir/a.img
file=gluster+tcp://server.domain.com:24007/testvol/dir/a.img
file=gluster+unix:///testvol/dir/a.img?socket=/tmp/glusterd.socket
file=gluster+rdma://1.2.3.4:24007/testvol/a.img
Signed-off-by: Bharata B Rao <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
|
8d6d89cb63c57569864ecdeb84d3a1c2ebd031cc
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/8d6d89cb63c57569864ecdeb84d3a1c2ebd031cc
|
2012-09-28 17:58:12+02:00
|
apic: Resolve potential endless loop around apic_update_irq
Commit d96e173769 refactored the reinjection of pending PIC interrupts.
However, it missed the potential loop of apic_update_irq ->
apic_deliver_pic_intr -> apic_local_deliver -> apic_set_irq ->
apic_update_irq that /could/ occur if LINT0 is injected as APIC_DM_FIXED
and that vector is currently blocked via TPR.
Resolve this by reinjecting only where it matters: inside
apic_get_interrupt. This function may clear a vector while a
PIC-originated reason still exists.
Signed-off-by: Jan Kiszka <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>
|
3db3659bf60094657e1465cc809acb09551816ee
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/3db3659bf60094657e1465cc809acb09551816ee
|
2012-07-10 11:31:04+03:00
|
qbus: Initialize in standard way
Move code to an initfn and finalizer.
Replace do_qbus_create_inplace() with qbus_realize().
Signed-off-by: Anthony Liguori <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Signed-off-by: Andreas Färber <[email protected]>
|
ac7d1ba6d15ff10343d2ff5ea331fa6a41174f3f
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/ac7d1ba6d15ff10343d2ff5ea331fa6a41174f3f
|
2012-06-18 15:14:38+02:00
|
msix: Note endian TODO item
MSIX, like PCI, is little endian. Specifying native is wrong here,
but we need to check the rest of the file to determine if it's
as simple as flipping this macro.
Signed-off-by: Alex Williamson <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
|
2cf62ad74261a9bd90e5b720e726f0404640b16a
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/2cf62ad74261a9bd90e5b720e726f0404640b16a
|
2012-06-18 10:21:11+03:00
|
Add API to check whether a physical address is I/O address
This API will be used in the following patch.
Signed-off-by: Wen Congyang <[email protected]>
Signed-off-by: Luiz Capitulino <[email protected]>
|
76f3553883b868e99c78212b9d12309e8e1e5d81
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/76f3553883b868e99c78212b9d12309e8e1e5d81
|
2012-06-04 13:49:33-03:00
|
qcow2: Check qcow2_alloc_clusters_at() return value
When using qcow2_alloc_clusters_at(), the cluster allocation code
checked the wrong variable for an error code.
Signed-off-by: Kevin Wolf <[email protected]>
|
df021791897cb7a171710dadf66648b4379de627
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/df021791897cb7a171710dadf66648b4379de627
|
2012-05-25 18:12:54+02:00
|
xen: Fix PV-on-HVM
In the context of PV-on-HVM under Xen, the emulated nics are supposed to be
unplug before the guest drivers are initialized, when the guest write to a
specific IO port.
Without this patch, the guest end up with two nics with the same MAC, the
emulated nic and the PV nic.
Acked-by: Paolo Bonzini <[email protected]>
Signed-off-by: Anthony PERARD <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
|
4accd107d0fd4a6fd7d2ad4f3365c67623834262
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/4accd107d0fd4a6fd7d2ad4f3365c67623834262
|
2012-05-21 15:40:51-05:00
|
prep: Initialize PC speaker
Speaker init has been added in 506b7ddf889312659b36c667f7ae17bc9e909418,
but audio subsystem init was missing.
Signed-off-by: Hervé Poussineau <[email protected]>
Signed-off-by: Andreas Färber <[email protected]>
|
9357b1449a6daa6fd79e2375f0aa8b1f60635bcb
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/9357b1449a6daa6fd79e2375f0aa8b1f60635bcb
|
2012-04-28 21:15:53+02:00
|
virtio/vhost: Add support for KVM in-kernel MSI injection
Make use of the new vector notifier to track changes of the MSI-X
configuration of virtio PCI devices. On enabling events, we establish
the required virtual IRQ to MSI-X message route and link the signaling
eventfd file descriptor to this vIRQ line. That way, vhost-generated
interrupts can be directly delivered to an in-kernel MSI-X consumer like
the x86 APIC.
Signed-off-by: Jan Kiszka <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>
|
7d37d351dffee60fc7048bbfd8573421f15eb724
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/7d37d351dffee60fc7048bbfd8573421f15eb724
|
2012-05-21 19:22:50+03:00
|
block: use Error mechanism instead of -errno for block_job_set_speed()
There are at least two different errors that can occur in
block_job_set_speed(): the job might not support setting speeds or the
value might be invalid.
Use the Error mechanism to report the error where it occurs.
Signed-off-by: Stefan Hajnoczi <[email protected]>
Acked-by: Kevin Wolf <[email protected]>
Signed-off-by: Luiz Capitulino <[email protected]>
|
9e6636c72d8d6f0605e23ed820c8487686882b12
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/9e6636c72d8d6f0605e23ed820c8487686882b12
|
2012-04-27 11:44:50-03:00
|
Improve interrupt handling priority
The vector interrupt has higher priority than interrupt_level_n.
Also check only interrupt_level_n concurency when TL > 0, the traps of
other types may be nested.
Signed-off-by: Artyom Tarasenko <[email protected]>
Signed-off-by: Blue Swirl <[email protected]>
|
a7be9bad33d81d4bab2a51935b5443d258e7d082
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/a7be9bad33d81d4bab2a51935b5443d258e7d082
|
2012-04-04 19:20:44+00:00
|
softfloat: fix for C99
C99 appears to consider compound literals as non-constants, and complains
when they are used in static initializers. Switch to ordinary initializer
syntax.
Signed-off-by: Avi Kivity <[email protected]>
Acked-by: Andreas Färber <[email protected]>
Reported-by: Andreas Färber <[email protected]>
Signed-off-by: Blue Swirl <[email protected]>
|
3bf7e40ab9140e577a6e7e17d3f5711b28aed833
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/3bf7e40ab9140e577a6e7e17d3f5711b28aed833
|
2012-03-17 13:01:18+00:00
|
rtl8139: correctly check the opmode
According to the spec, only when opmode is "Config. Register Write
Enable" could driver write to CONFIG0,1,3,4 and bits 13,12,8 of BMCR.
Currently, we allow modifying to those registers also when 8139 is in
"Auto-load" mode and "93C46 (93C56) Programming" mode. This patch
fixes this.
Signed-off-by: Jason Wang <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
|
eb46c5eda7d8b38c1407dd55f67cf4a6aa3b7b23
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/eb46c5eda7d8b38c1407dd55f67cf4a6aa3b7b23
|
2012-03-16 01:04:51+02:00
|
qtest: avoid a warning with RTC test
Avoid this warning on OpenBSD:
CC tests/rtc-test.o
/src/qemu/tests/rtc-test.c: In function 'check_time':
/src/qemu/tests/rtc-test.c:171: warning: format '%ld' expects type 'long int', but argument 2 has type 'time_t'
/src/qemu/tests/rtc-test.c:173: warning: format '%ld' expects type 'long int', but argument 2 has type 'time_t'
Reviewed-by: Anthony Liguori <[email protected]>
Signed-off-by: Blue Swirl <[email protected]>
|
02b3efcb7509841871038d89406225d1aaf41684
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/02b3efcb7509841871038d89406225d1aaf41684
|
2012-03-30 18:58:46+00:00
|
slirp: Keep next_m always valid
Make sure that next_m always points to a packet if batchq is non-empty.
This will simplify walking the queues in if_start.
CC: Fabien Chouteau <[email protected]>
CC: Zhi Yong Wu <[email protected]>
CC: Stefan Weil <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
|
d6536b2c971f7323e58dfbe1e6f3b7c7c0c4edf3
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/d6536b2c971f7323e58dfbe1e6f3b7c7c0c4edf3
|
2012-03-13 14:05:48+01:00
|
slirp: Fix compiler warning for w64
Casting a pointer to an integer value must use uintptr_t or intptr_t
(not long) for portable code. MinGW-w64 requires this because
sizeof(long) != sizeof(void *) for w64 hosts, so casting to long
raises a compiler warning.
I use uintptr_t instead of intptr_t because changing the sign does not
matter here and casting pointers to unsigned values seems more
reasonable (the unsigned value is a non negative offset.
Cc: Jan Kiszka <[email protected]>
Signed-off-by: Stefan Weil <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
|
2d26512b45b5236fa521c4492608fe9fb5bedf46
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/2d26512b45b5236fa521c4492608fe9fb5bedf46
|
2012-03-13 16:15:19+01:00
|
optionsrom: Reserve space for checksum
Always add a byte before the final 512-bytes alignment to reserve the
space for the ROM checksum.
Signed-off-by: Jan Kiszka <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>
|
209ca750b9e1854fa8f63fae16aef15becb1cdea
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/209ca750b9e1854fa8f63fae16aef15becb1cdea
|
2012-02-18 12:16:00+02:00
|
usb: handle dev == NULL in usb_handle_packet()
Allow passing in a NULL pointer, return USB_RET_NODEV in that case.
Removes the burden to to a NULL pointer check from the callers.
Signed-off-by: Gerd Hoffmann <[email protected]>
|
98861f512bbd8789bd7935a75316d3278be23a0a
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/98861f512bbd8789bd7935a75316d3278be23a0a
|
2012-02-10 11:31:57+01:00
|
kvm: Comparison with ioctl number macros needs to be unsigned
In kvm-all.c we store an ioctl cmd number in the irqchip_inject_ioctl field
of KVMState, which has type 'int'. This seems to make sense since the
ioctl() man page says that the cmd parameter has type int.
However, the kernel treats ioctl numbers as unsigned - sys_ioctl() takes an
unsigned int, and the macros which generate ioctl numbers expand to
unsigned expressions. Furthermore, some ioctls (IOC_READ ioctls on x86
and IOC_WRITE ioctls on powerpc) have bit 31 set, and so would be negative
if interpreted as an int. This has the surprising and compile-breaking
consequence that in kvm_irqchip_set_irq() where we do:
return (s->irqchip_inject_ioctl == KVM_IRQ_LINE) ? 1 : event.status;
We will get a "comparison is always false due to limited range of data
type" warning from gcc if KVM_IRQ_LINE is one of the bit-31-set ioctls,
which it is on powerpc.
So, despite the fact that the man page and posix say ioctl numbers are
signed, they're actually unsigned. The kernel uses unsigned, the glibc
header uses unsigned long, and FreeBSD, NetBSD and OSX also use unsigned
long ioctl numbers in the code.
Therefore, this patch changes the variable to be unsigned, fixing the
compile.
Signed-off-by: David Gibson <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
|
92e4b519e0808948ae4bc710fb1db7d3cc2245a1
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/92e4b519e0808948ae4bc710fb1db7d3cc2245a1
|
2012-03-15 13:12:12+01:00
|
qemu-ga: add guest-sync-delimited
guest-sync leaves it as an exercise to the user as to how to reliably
obtain the response to guest-sync if the client had previously read in a
partial response (due qemu-ga previously being restarted mid-"sentence"
due to reboot, forced restart, etc).
qemu-ga handles this situation on its end by having a client precede
their guest-sync request with a 0xFF byte (invalid UTF-8), which
qemu-ga/QEMU JSON parsers will treat as a flush event. Thus we can
reliably flush the qemu-ga parser state in preparation for receiving
the guest-sync request.
guest-sync-delimited provides the same functionality for a client: when
a guest-sync-delimited is issued, qemu-ga will precede it's response
with a 0xFF byte that the client can use as an indicator to flush its
buffer/parser state in preparation for reliably receiving the
guest-sync-delimited response.
It is also useful as an optimization for clients, since, after issuing a
guest-sync-delimited, clients can safely discard all stale data read
from the channel until the 0xFF is found.
More information available on the wiki:
http://wiki.qemu.org/Features/QAPI/GuestAgent#QEMU_Guest_Agent_Protocol
Signed-off-by: Michael Roth <[email protected]>
|
3cf0bed8369267184e5dc5b58882811519d67437
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/3cf0bed8369267184e5dc5b58882811519d67437
|
2012-03-12 15:09:23-05:00
|
qemu-io: add write -z option for bdrv_co_write_zeroes
Extend the qemu-io write command with the -z option to call
bdrv_co_write_zeroes(). Exposing the zero write interface from qemu-io
allows us to write tests that exercise this new block layer interface.
Signed-off-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
|
71b58b82dac1e1dc5e08a005a14bbcafecbd9e2a
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/71b58b82dac1e1dc5e08a005a14bbcafecbd9e2a
|
2012-02-09 16:17:50+01:00
|
PPC: booke206: move avail check to tlbwe
We can have TLBs that only support a single page size. This is defined
by the absence of the AVAIL flag in TLBnCFG. If this is the case, we
currently write invalid size info into the TLB, but override it on
internal fault.
Let's move the check over to tlbwe, so we don't have the AVAIL check in
the hotter fault path.
Signed-off-by: Alexander Graf <[email protected]>
|
21a0b6ed1dd9f1d8e3d953954847776c8697bd99
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/21a0b6ed1dd9f1d8e3d953954847776c8697bd99
|
2012-02-02 02:47:46+01:00
|
sdl: Fix block prevention of SDL_WM_GrabInput
Consistently check for SDL_APPINPUTFOCUS before trying to grab the input
focus. Just checking for SDL_APPACTIVE doesn't work. Moving the check to
sdl_grab_start allows for some consolidation.
Signed-off-by: Jan Kiszka <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
|
85f94f868fcd868f0f605e9d3c1ad6351c557190
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/85f94f868fcd868f0f605e9d3c1ad6351c557190
|
2012-02-01 14:45:02-06:00
|
qemu-nbd: simplify nbd_trip
Use TCP_CORK to remove a violation of encapsulation, that would later
require nbd_trip to know too much about an NBD reply.
We could also switch to sendmsg (qemu_co_sendv) later, it is even
easier once coroutines are in.
Signed-off-by: Paolo Bonzini <[email protected]>
|
a478f6e595dab1801931d56d097623d65f5b6d1d
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/a478f6e595dab1801931d56d097623d65f5b6d1d
|
2011-12-22 11:53:58+01:00
|
fix win32 build
On Windows, cpus.c needs access to the hThread. Add a Windows-specific
function to grab it. This requires changing the CPU threads to
joinable. There is no substantial change because the threads run
in an infinite loop.
Signed-off-by: Paolo Bonzini <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
|
1ecf47bf0a091700e45f1b7d1f5ad85abc0acd22
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/1ecf47bf0a091700e45f1b7d1f5ad85abc0acd22
|
2011-12-15 09:20:50-06:00
|
qom: push permission checks up into qdev_property_add_legacy
qdev_property_get and qdev_property_set can generate permission
denied errors themselves. Do not duplicate this functionality in
qdev_get/set_legacy_property, and clean up excessive indentation.
Reviewed-by: Anthony Liguori <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
|
e3cb6ba65d265f2cc1313ee26e879407ff24663c
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/e3cb6ba65d265f2cc1313ee26e879407ff24663c
|
2011-12-19 10:27:33-06:00
|
rbd: always set out parameter in qemu_rbd_snap_list
The caller expects psn_tab to be NULL when there are no snapshots or
an error occurs. This results in calling g_free on an invalid address.
Reported-by: Oliver Francke <[email protected]>
Signed-off-by: Josh Durgin <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
|
b9c532903fa528891c0eceb34ea40a0c47bfb5db
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/b9c532903fa528891c0eceb34ea40a0c47bfb5db
|
2011-12-15 12:40:08+01:00
|
vmdk: Add migration blocker
VMDK caches L2 tables. For migration to work, they would have to be
invalidated. Block migration for now.
Signed-off-by: Kevin Wolf <[email protected]>
|
2bc3166c22aeeb5cd7b8f21104f4744f08c7a288
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/2bc3166c22aeeb5cd7b8f21104f4744f08c7a288
|
2011-11-23 17:04:03+01:00
|
vvfat: Add migration blocker
vvfat caches more or less everything when in writable mode. For migration
to work, it would have to be invalidated. Block migration for now when
in writable mode (default is readonly).
Signed-off-by: Kevin Wolf <[email protected]>
|
3397f0cb483b40785678d2328da584c8a35c358c
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/3397f0cb483b40785678d2328da584c8a35c358c
|
2011-11-23 17:04:05+01:00
|
add "make check" target
Add some Makefile glue so we have a simple "make check"
to run the unit tests.
Signed-off-by: Gerd Hoffmann <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
|
ea7f78047d8ead786783972bf061d355a68e3382
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/ea7f78047d8ead786783972bf061d355a68e3382
|
2011-11-01 11:50:20-05:00
|
usb: change VID/PID for usb-hub and usb-msd to prevent conflict
Some USB drivers, for example USBASPI.SYS, will skip different type of
device which has same VID/PID. The following patch helps preventing
usb-msd being skipped by the driver.
Signed-off-by: Roy Tam <[email protected]>
Signed-off-by: Gerd Hoffmann <[email protected]>
|
db80358a20e2597a0844998c832b2dce667d0aa0
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/db80358a20e2597a0844998c832b2dce667d0aa0
|
2011-11-01 16:38:27+01:00
|
configure: Don't mix glib and libcheck tests
test-coroutine is listed as a libcheck test in the 'checks' variable. This
is not right because 'make check' won't run test-coroutine if libcheck
tests are not enabled (either because libcheck isn't detected or because
--disable-check-utests is passed).
Tests using the glib test framework are independent from libcheck and
afaik are always present (although having a configure switch to disable
them is probably worth it).
Untangle test-coroutine from the libcheck tests by introducing the
'test_progs' variable and using it to generate the test list used by
'make check'.
Reviewed-by: Andreas Färber <[email protected]>
Signed-off-by: Luiz Capitulino <[email protected]>
|
4ec0263e2ccad312cbaff1aa12ace1721113c2f1
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/4ec0263e2ccad312cbaff1aa12ace1721113c2f1
|
2011-12-06 11:40:00-02:00
|
dma: Avoid reentrancy in DMA transfer handlers
With the conversion of the block layer to coroutines, bdrv_read/write
have changed to run a nested event loop that calls qemu_bh_poll.
Consequently a scheduled BH can be called while a DMA transfer handler
runs and this means that DMA_run becomes reentrant.
Devices haven't been designed to cope with that, so instead of running a
nested transfer handler just wait for the next invocation of the BH from the
main loop.
This fixes some problems with the floppy device.
Signed-off-by: Kevin Wolf <[email protected]>
|
acae6f1c4c1dae1b7e059751347ca4225b01a391
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/acae6f1c4c1dae1b7e059751347ca4225b01a391
|
2011-11-04 14:23:58+01:00
|
kvm: avoid reentring kvm_flush_coalesced_mmio_buffer()
mmio callbacks invoked by kvm_flush_coalesced_mmio_buffer() may
themselves indirectly call kvm_flush_coalesced_mmio_buffer().
Prevent reentering the function by checking a flag that indicates
we're processing coalesced mmio requests.
Signed-off-by: Avi Kivity <[email protected]>
|
1cae88b9f4121c9af0bf677435c6129e643280fd
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/1cae88b9f4121c9af0bf677435c6129e643280fd
|
2011-10-24 21:26:53-02:00
|
block: directly invoke .bdrv_aio_*() in bdrv_co_io_em()
We will unify block layer request processing across sync, aio, and
coroutines and this means a .bdrv_co_*() emulation function should not
call back into the public interface. There's no need here, just call
.bdrv_aio_*() directly.
The gory details: bdrv_co_io_em() cannot call back into the public
bdrv_aio_*() interface since that will be handled using coroutines,
which causes us to call into bdrv_co_io_em() again in an infinite loop
:).
Signed-off-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
|
a652d16025030013116c4d63883b9e1ec08a4359
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/a652d16025030013116c4d63883b9e1ec08a4359
|
2011-10-13 15:02:27+02:00
|
mips: Default to using one VPE and one TC.
Boards can override the setup if needed.
Signed-off-by: Edgar E. Iglesias <[email protected]>
|
1dab005ae2ff3f9b83e02f25aa77c5e262404505
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/1dab005ae2ff3f9b83e02f25aa77c5e262404505
|
2011-09-06 11:09:39+02:00
|
qapi: dealloc visitor, fix premature free and iteration logic
Currently we do 3 things wrong:
1) The list iterator, in practice, is used in a manner where the pointer
we pass in is the same as the pointer we assign the output to from
visit_next_list(). This causes an infinite loop where we keep freeing
the same structures.
2) We attempt to free list->value rather than list. visit_type_<type>
handles this. We should only be concerned with the containing list.
3) We free prematurely: iterator function will continue accessing values
we've already freed.
This patch should fix all of these issues. QmpOutputVisitor also suffers
from 1).
Reviewed-by: Anthony Liguori <[email protected]>
Signed-off-by: Michael Roth <[email protected]>
Signed-off-by: Luiz Capitulino <[email protected]>
|
5666dd19dd95d966be00d0c3e7efdfaecc096ff3
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/5666dd19dd95d966be00d0c3e7efdfaecc096ff3
|
2011-10-04 11:00:46-03:00
|
Sparc: fix FPU and AM enable checks for translation
Translation used incorrectly CPUState fields directly to check
for FPU enable state and 32 bit address masking on Sparc64.
Fix by using TB flags instead.
Signed-off-by: Blue Swirl <[email protected]>
|
f838e2c535e47dc8e99ae7ec711407b849700cc9
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/f838e2c535e47dc8e99ae7ec711407b849700cc9
|
2011-07-14 17:30:43+00:00
|
tcg/README: Expand advice on number of TCG ops per target insn
Expand the note on the number of TCG ops generated per target insn,
to be clearer about the range of applicability of the 20 op rule
of thumb. Also add a note about the hard MAX_OP_PER_INSTR limit.
Signed-off-by: Peter Maydell <[email protected]>
Signed-off-by: Blue Swirl <[email protected]>
|
107a47cc2dac1b6c5edae0121831713161cb70c5
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/107a47cc2dac1b6c5edae0121831713161cb70c5
|
2011-07-16 13:17:36+00:00
|
qemu_ram_ptr_length: take ram_addr_t as arguments
qemu_ram_ptr_length should take ram_addr_t as argument rather than
target_phys_addr_t because is doing comparisons with RAMBlock addresses.
cpu_physical_memory_map should create a ram_addr_t address to pass to
qemu_ram_ptr_length from PhysPageDesc phys_offset.
Remove code after abort() in qemu_ram_ptr_length.
Changes in v2:
- handle 0 size in qemu_ram_ptr_length;
- rename addr1 to raddr;
- initialize raddr to ULONG_MAX.
Signed-off-by: Stefano Stabellini <[email protected]>
Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
|
8ab934f93b5ad3d0af4ad419d2531235a75d672c
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/8ab934f93b5ad3d0af4ad419d2531235a75d672c
|
2011-07-17 01:54:25+02:00
|
usb: claim port at device initialization time.
This patch makes qemu assign a port when creating the device, not when
attaching it. For most usb devices this isn't a noticable difference
because they are in attached state all the time.
The change affects usb-host devices which live in detached state while
the real device is unplugged from the host. They have a fixed port
assigned all the time now instead of getting grabbing one on attach and
releasing it at detach, i.e. they stop floating around at the usb bus.
The change also allows to simplify usb-hub. It doesn't need the
handle_attach() callback any more to configure the downstream ports.
This can be done at device initialitation time now. The changed
initialization order (first grab upstream port, then register downstream
ports) also fixes some icky corner cases. For example it is not possible
any more to plug the hub into one of its own downstream ports.
The usb host adapters must care too. USBPort->dev being non-NULL
doesn't imply any more the device is in attached state. The host
adapters must additionally check the USBPort->dev->attached flag.
Signed-off-by: Gerd Hoffmann <[email protected]>
|
891fb2cd4592b6fe76106a69e0ca40efbf82726a
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/891fb2cd4592b6fe76106a69e0ca40efbf82726a
|
2011-09-07 09:58:26+02:00
|
target-alpha: Implement TLB flush primitives.
Expose these via MTPR, more or less like the real HW does.
Signed-off-by: Richard Henderson <[email protected]>
|
3b4fefd6e65a7bdb994d10a9fa36c19b5749b502
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/3b4fefd6e65a7bdb994d10a9fa36c19b5749b502
|
2011-05-31 10:18:06-07:00
|
usb: Add a speedmask to devices
This is used to indicate at which speed[s] the device can operate,
so that this can be checked to match the ports capabilities when it gets
attached to a bus.
Note that currently all usb1 emulated device claim to be fullspeed, this
seems to not cause any problems, but still seems wrong, because with real
hardware keyboards, mice and tablets usually are lo-speed, so reporting these
as fullspeed devices seems wrong.
Signed-off-by: Gerd Hoffmann <[email protected]>
|
ba3f9bfba9ad8d2bbcb9a9fa9ed0f07347fc1c58
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/ba3f9bfba9ad8d2bbcb9a9fa9ed0f07347fc1c58
|
2011-06-23 11:28:06+02:00
|
Make spice dummy functions inline to fix calls not checking return values
qemu_spice_set_passwd() and qemu_spice_set_pw_expire() dummy functions
needs to be inline, in order to handle the case where they are called
without checking the return value.
Signed-off-by: Jes Sorensen <[email protected]>
Signed-off-by: Gerd Hoffmann <[email protected]>
|
14da8345b2f7c21bab20fd12b755a61d6277f171
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/14da8345b2f7c21bab20fd12b755a61d6277f171
|
2011-05-03 15:35:48+02:00
|
kvm: Enable CPU SMEP feature
This patchset enables a new CPU feature SMEP (Supervisor Mode Execution
Protection) in QEMU-KVM. SMEP prevents kernel from executing code in application.
Updated Intel SDM describes this CPU feature. The document will be published soon.
SMEP is identified by CPUID leaf 7 EBX[7], which is 0 before. Get the right value by query KVM kernel module, so that guest can get SMEP through CPUID.
Signed-off-by: Yang, Wei <[email protected]>
Singed-off-by: Shan, Haitao <[email protected]>
Singed-off-by: Li, Xin <[email protected]>
Signed-off-by: Marcelo Tosatti <[email protected]>
|
3dc769ab43fb4f0e552ecae7ed4414e2b7b77c4b
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/3dc769ab43fb4f0e552ecae7ed4414e2b7b77c4b
|
2011-06-01 10:12:15-03:00
|
vnc: fix uint8_t comparisons with negative values
Signed-off-by: Corentin Chary <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
|
368d25881c94f9e09ef19a3d93e8fec797dbcd05
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/368d25881c94f9e09ef19a3d93e8fec797dbcd05
|
2011-02-23 16:28:28-06:00
|
Add function for checking mca broadcast of CPU
Add function for checking whether current CPU support mca broadcast.
Signed-off-by: Jin Dongming <[email protected]>
Signed-off-by: Marcelo Tosatti <[email protected]>
|
2bd3e04c3b3c76d573435a299a4d85bad0021a90
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/2bd3e04c3b3c76d573435a299a4d85bad0021a90
|
2011-01-21 14:05:22-02:00
|
kvm: Enable user space NMI injection for kvm guest
Make use of the new KVM_NMI IOCTL to send NMIs into the KVM guest if the
user space raised them. (example: qemu monitor's "nmi" command)
Signed-off-by: Lai Jiangshan <[email protected]>
Acked-by: Jan Kiszka <[email protected]>
Signed-off-by: Marcelo Tosatti <[email protected]>
|
276ce81563aeadea5493fbc4fbc84647d5bfbdeb
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/276ce81563aeadea5493fbc4fbc84647d5bfbdeb
|
2011-01-21 14:05:21-02:00
|
Fixing network over sockets implementation for win32
MSDN includes the following in WSAEALREADY error description for connect()
function: "To preserve backward compatibility, this error is reported as
WSAEINVAL to Winsock applications that link to either Winsock.dll or
Wsock32.dll". So check of this error code was added to allow network
connections through the sockets in Windows.
Signed-off-by: Pavel Dovgalyuk <[email protected]>
Signed-off-by: Blue Swirl <[email protected]>
|
c7eb1f02edba91e3eec4682fa1adca877696d11d
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/c7eb1f02edba91e3eec4682fa1adca877696d11d
|
2011-02-25 15:13:02+00:00
|
Start implementing pSeries logical partition machine
This patch adds a "pseries" machine to qemu. This aims to emulate a
logical partition on an IBM pSeries machine, compliant to the
"PowerPC Architecture Platform Requirements" (PAPR) document.
This initial version is quite limited, it implements a basic machine
and PAPR hypercall emulation. So far only one hypercall is present -
H_PUT_TERM_CHAR - so that a (write-only) console is available.
Multiple CPUs are permitted, with SMP entry handled kexec() style.
The machine so far more resembles an old POWER4 style "full system
partition" rather than a modern LPAR, in that the guest manages the
page tables directly, rather than via hypercalls.
The machine requires qemu to be configured with --enable-fdt. The
machine can (so far) only be booted with -kernel - i.e. no partition
firmware is provided.
Signed-off-by: David Gibson <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
|
9fdf0c2995d04a74a22ea4609b2931eef209e53d
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/9fdf0c2995d04a74a22ea4609b2931eef209e53d
|
2011-04-01 18:34:55+02:00
|
scoop: fix access to registers from second instance
Second instance of scoop contains registers shifted to 0x40 from the start
of the page. Instead of messing with register mapping, just limit register
address to 0x00..0x3f.
Signed-off-by: Dmitry Eremin-Solenikov <[email protected]>
Signed-off-by: Aurelien Jarno <[email protected]>
|
aa9438d9f8a19258514c5cc238d2494a2572ff58
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/aa9438d9f8a19258514c5cc238d2494a2572ff58
|
2011-01-20 12:37:21+01:00
|
ARM: Return correct result for float-to-integer conversion of NaN
The ARM architecture mandates that converting a NaN value to
integer gives zero (if Invalid Operation FP exceptions are
not being trapped). This isn't the behaviour of the SoftFloat
library, so NaNs must be special-cased.
Signed-off-by: Peter Maydell <[email protected]>
Reviewed-by: Nathan Froyd <[email protected]>
|
09d9487fbb5c17226762e73c2b7d84170f5bd092
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/09d9487fbb5c17226762e73c2b7d84170f5bd092
|
2010-12-07 15:37:34+00:00
|
slirp: Use strcasecmp() to check tftp mode, tsize
According to RFC 1350 (TFTP Revision 2) the mode field can contain any
combination of upper and lower case; also RFC 2349 propagates that the
transfer size option ("tsize") is case in-sensitive too.
Current implementation of embedded TFTP server missed that what does
mess some TFTP clients. Fixed by using STRCASECMP(3) in the required
places.
Signed-off-by: Sergei Gavrikov <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Edgar E. Iglesias <[email protected]>
|
facf1a60f29853590073f321e3cba491a5ee097a
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/facf1a60f29853590073f321e3cba491a5ee097a
|
2011-01-13 11:38:44+01:00
|
ARM: linux-user: Correct size of padding in target_ucontext_v2
The padding in the target_ucontext_v2 is defined by the size of
the target's sigset_t type, not the host's. (This bug only causes
problems when we start using the uc_regspace[] array to expose
VFP registers to userspace signal handlers.)
Signed-off-by: Peter Maydell <[email protected]>
Signed-off-by: Riku Voipio <[email protected]>
|
5f0b7c888b5e626d61e0969a6c0dbf4fcf0f522c
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/5f0b7c888b5e626d61e0969a6c0dbf4fcf0f522c
|
2010-12-03 15:09:39+02:00
|
qdev: Track runtime machine modifications
Create a trivial interface to track whether the machine has been
modified since boot. Adding or removing devices will trigger this
to return true. An example usage scenario for such an interface is
the rtl8139 driver which includes a cpu_register_io_memory() value
in it's migration stream. For the majority of migrations, where
no hotplug has occured in the machine, this works correctly. Once
the machine is modified, we can use this interface to detect that
and include a subsection for the device to prevent migrations to
rtl8139 versions with this bug.
Signed-off-by: Alex Williamson <[email protected]>
Acked-by: Michael S. Tsirkin <[email protected]>
Acked-by: Juan Quintela <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
|
0ac8ef71329ee242951074eb2dc7136f99421d8c
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/0ac8ef71329ee242951074eb2dc7136f99421d8c
|
2011-01-05 12:14:00+02:00
|
cris: Fix TLB exec bit protection
Signed-off-by: Edgar E. Iglesias <[email protected]>
|
58aebb946acff82c62383f350cab593e55cc13dc
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/58aebb946acff82c62383f350cab593e55cc13dc
|
2010-09-18 12:34:59+02:00
|
Monitor: Drop is_async_return()
If I understood it correcty, the is_async_return() logic was only
used to prevent QMP from issuing duplicated success responses
for asynchronous handlers.
However, QMP doesn't use do_info() anymore so this is dead logic
and (hopefully) can be safely dropped.
Signed-off-by: Luiz Capitulino <[email protected]>
|
d4551293d68a1876df87400be6c71c657756d0bb
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/d4551293d68a1876df87400be6c71c657756d0bb
|
2010-10-01 10:20:06-03:00
|
qcow2: Simplify image creation
Instead of doing lots of magic for setting up initial refcount blocks and stuff
create a minimal (inconsistent) image, open it and initialize the rest with
regular qcow2 functions.
This is a complete rewrite of the image creation function. The old
implementating is #ifdef'd out and will be removed by the next patch (removing
it here would have made the diff unreadable because diff tries to find
similarities when it's really a rewrite)
Signed-off-by: Kevin Wolf <[email protected]>
|
a9420734b617be43d075c55b980479411807512e
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/a9420734b617be43d075c55b980479411807512e
|
2010-10-22 14:49:35+02:00
|
virtio-blk: Fix migration of queued requests
in_sg[].iovec and out_sg[].ioved are pointer to (source) host memory and
therefore invalid after migration. When loading the device state we must
create a new mapping on the destination host.
Signed-off-by: Kevin Wolf <[email protected]>
|
b6a4805b55b409134dc712677fdc4f6a8795e965
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/b6a4805b55b409134dc712677fdc4f6a8795e965
|
2010-08-30 18:29:22+02:00
|
pci: call hotplug callback even when not hotplug case for later use.
call hotplug callback even when not hotplug case for later use.
And move hotplug check into hotplug callback.
PCIE slot needs this for card presence detection.
Signed-off-by: Isaku Yamahata <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
|
5beb8ad503c88a76f2b8106c3b74b4ce485a60e1
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/5beb8ad503c88a76f2b8106c3b74b4ce485a60e1
|
2010-09-07 20:10:04+03:00
|
raw-posix: Fix test for host CD-ROM
raw_pread_aligned() retries up to two times if the block device backs
a virtual CD-ROM (a drive with media=cdrom and if=ide, scsi, xen or
none). This makes no sense. Whether retrying reads can correct read
errors can only depend on what we're reading, not on how the result
gets used. We need to check what whether we're reading from a
physical CD-ROM or floppy here.
I doubt retrying is useful even then. Left for another day.
Impact:
* Virtual CD-ROM backed by host_cdrom behaves the same.
* Virtual CD-ROM backed by file or host_device no longer retries.
* A drive backed by host_cdrom now retries even if it's not a virtual
CD-ROM.
* Any drive backed by host_floppy now retries.
While there, clean up gratuitous use of goto.
Signed-off-by: Markus Armbruster <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
|
65d21bc73bda6515fd9b4ff5b2e90454f7a0b419
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/65d21bc73bda6515fd9b4ff5b2e90454f7a0b419
|
2010-07-06 17:05:49+02:00
|
virtio-9p: Security model for create/open2
In the mapped security model, VirtFS server intercepts and maps
the file object create and get/set attribute requests. Files on the fileserver
will be created with VirtFS servers (QEMU) user credentials and the
client-users credentials are stored in extended attributes. On the request
to get attributes, server extracts the client-users credentials
from extended attributes and sends them to the client.
On Host/Fileserver:
-rw-------. 2 virfsuid virtfsgid 0 2010-05-11 09:19 afile
On Guest/Client:
-rw-r--r-- 2 guestuser guestuser 0 2010-05-11 12:19 afile
Signed-off-by: Venkateswararao Jujjuri <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
|
4750a96f6baf8949cc04a0c5b7167606544a4401
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/4750a96f6baf8949cc04a0c5b7167606544a4401
|
2010-06-22 15:15:50-05:00
|
Make netdev_del delete the netdev even when it's in use
To hot-unplug guest and host part of a network device, you do:
device_del NIC-ID
netdev_del NETDEV-ID
For PCI devices, device_del merely tells ACPI to unplug the device.
The device goes away for real only after the guest processed the ACPI
unplug event.
You have to wait until then (e.g. by polling info pci) before you can
unplug the netdev. Not good.
Fix by removing the "in use" check from do_netdev_del(). Deleting a
netdev while it's in use is safe; packets simply get routed to the bit
bucket.
Signed-off-by: Markus Armbruster <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
|
2ffcb18de0bc02ad8a836ec955584c02b70e0e24
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/2ffcb18de0bc02ad8a836ec955584c02b70e0e24
|
2010-06-14 11:12:53-05:00
|
target-mips: mips16 cleanups
Change code handling mips16-specific branches to use ISA-neutral special
opcodes. Since there are several places where the delay slot
requirements for microMIPS branches differ from mips16 branches, using
opcodes is easier than checking hflags, then checking mips16
vs. microMIPS.
Signed-off-by: Nathan Froyd <[email protected]>
Signed-off-by: Aurelien Jarno <[email protected]>
|
620e48f66350991918dd78e9a686a9b159fec111
|
qemu
|
devign
| 0 |
https://github.com/qemu/qemu
|
https://github.com/qemu/qemu/commit/620e48f66350991918dd78e9a686a9b159fec111
|
2010-06-09 16:10:50+02:00
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.