Block patches
Subsystems (2)
The following changes since commit 812b835fb4d23dd108b2f9802158472d50b73579:
Merge remote-tracking branch 'remotes/maxreitz/tags/pull-block-2019-05-07' into staging (2019-05-09 16:31:12 +0100)
are available in the Git repository at:
https://github.com/stefanha/qemu.git tags/block-pull-request
for you to fetch changes up to e84125761f78919fe63616d9888ea45e72dc956f:
docs: add Security chapter to the documentation (2019-05-10 10:53:52 +0100)
----------------------------------------------------------------
Pull request
----------------------------------------------------------------
Andrey Shinkevich (1):
block/io.c: fix for the allocation failure
Jules Irenge (3):
util/readline: add a space to fix errors by checkpatch tool
util: readline: replace tab indent by four spaces to fix checkpatch
errors
util/readline: Add braces to fix checkpatch errors
Nikita Alekseev (1):
block: Add coroutine_fn to bdrv_check_co_entry
Paolo Bonzini (1):
aio-posix: ensure poll mode is left when aio_notify is called
Stefan Hajnoczi (2):
docs: add Secure Coding Practices to developer docs
docs: add Security chapter to the documentation
Makefile | 2 +- block.c | 2 +- block/io.c | 2 +- util/aio-posix.c | 12 +- util/readline.c | 174 ++++++++++++++----------- docs/devel/index.rst | 1 + docs/devel/secure-coding-practices.rst | 106 +++++++++++++++ docs/security.texi | 131 +++++++++++++++++++ qemu-doc.texi | 3 + 9 files changed, 347 insertions(+), 86 deletions(-) create mode 100644 docs/devel/secure-coding-practices.rst create mode 100644 docs/security.texi
Signature · 1 line
2.21.0
[Qemu-devel] [PULL 5/8] block/io.c: fix for the allocation failure
From: Andrey Shinkevich <[email protected]>
On a file system used by the customer, fallocate() returns an error if the block is not properly aligned. So, bdrv_co_pwrite_zeroes() fails. We can handle that case the same way as it is done for the unsupported cases, namely, call to bdrv_driver_pwritev() that writes zeroes to an image for the unaligned chunk of the block.
Message-id: 1554474244-553661-1-git-send-email-andrey.shinkevich@virtuozzo.com
Message-Id: <1554474244-553661-1-git-send-email-andrey.shinkevich@virtuozzo.com>
--- block/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
block/io.c +1 -1
@@ -1516,7 +1516,7 @@ static int coroutine_fn bdrv_co_do_pwrite_zeroes(BlockDriverState *bs,assert (!bs->supported_zero_flags); } -if (ret == -ENOTSUP && !(flags &BDRV_REQ_NO_FALLBACK )) { +if (ret <0 && !(flags &BDRV_REQ_NO_FALLBACK )) {/* Fall back to bounce buffer if write zeroes is unsupported */ BdrvRequestFlags write_flags = flags & ~BDRV_REQ_ZERO_WRITE ;
Signature · 1 line
2.21.0
[Qemu-devel] [PULL 4/8] block: Add coroutine_fn to bdrv_check_co_entry
In reply to Stefan HajnocziFrom: Nikita Alekseev <[email protected]>
bdrv_check_co_entry calls bdrv_co_check, which is a coroutine function. Thus, it also needs to be marked as a coroutine.
Message-id: [email protected]
Message-Id: <[email protected]>
--- block.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
block.c +1 -1
@@ -4121,7 +4121,7 @@ typedef struct CheckCo {int ret; } CheckCo; -static void bdrv_check_co_entry (void *opaque) +static void coroutine_fn bdrv_check_co_entry(void *opaque) {CheckCo *cco = opaque; cco->ret =bdrv_co_check (cco->bs, cco->res, cco->fix);
Signature · 1 line
2.21.0
[Qemu-devel] [PULL 1/8] util/readline: add a space to fix errors by checkpatch tool
In reply to Stefan HajnocziFrom: Jules Irenge <[email protected]>
util/readline: add a space to fix errors reported by checkpatch.pl tool "ERROR: space required before the open parenthesis"
"ERROR: space required after that ..."
within "util/redline.c" file
Message-id: [email protected]
Message-Id: <[email protected]>
--- util/readline.c | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-)
util/readline.c +17 -17
@@ -48,13 +48,13 @@ static void readline_update(ReadLineState *rs)if (rs->cmd_buf_size != rs->last_cmd_buf_size ||memcmp (rs->cmd_buf, rs->last_cmd_buf, rs->cmd_buf_size) !=0 ) { -for (i =0 ; i < rs->last_cmd_buf_index; i++) { +for (i =0 ; i < rs->last_cmd_buf_index; i++) { rs->printf_func (rs->opaque,"\033[D" ); } rs->cmd_buf[rs->cmd_buf_size] ='\0' ;if (rs->read_password) { len =strlen (rs->cmd_buf); -for (i =0 ; i < len; i++) +for (i =0 ; i < len; i++) rs->printf_func (rs->opaque,"*" ); }else { rs->printf_func (rs->opaque,"%s" , rs->cmd_buf);
@@ -67,12 +67,12 @@ static void readline_update(ReadLineState *rs)if (rs->cmd_buf_index != rs->last_cmd_buf_index) { delta = rs->cmd_buf_index - rs->last_cmd_buf_index;if (delta >0 ) { -for (i =0 ;i < delta; i++) { +for (i =0 ; i < delta; i++) { rs->printf_func (rs->opaque,"\033[C" ); } }else { delta = -delta; -for (i =0 ;i < delta; i++) { +for (i =0 ; i < delta; i++) { rs->printf_func (rs->opaque,"\033[D" ); } }
@@ -301,7 +301,7 @@ static void readline_completion(ReadLineState *rs)return ;if (rs->nb_completions ==1 ) { len =strlen (rs->completions[0 ]); -for (i = rs->completion_index; i < len; i++) { +for (i = rs->completion_index; i < len; i++) {readline_insert_char (rs, rs->completions[0 ][i]); }/* extra space for next argument. XXX: make it more generic */
@@ -312,15 +312,15 @@ static void readline_completion(ReadLineState *rs) completion_comp); rs->printf_func (rs->opaque,"\n" ); max_width =0 ; - max_prefix =0 ; -for (i =0 ; i < rs->nb_completions; i++) { + max_prefix =0 ; +for (i =0 ; i < rs->nb_completions; i++) { len =strlen (rs->completions[i]); -if (i==0 ) { +if (i ==0 ) { max_prefix = len; }else {if (len < max_prefix) max_prefix = len; -for (j=0 ; j<max_prefix; j++) { +for (j =0 ; j < max_prefix; j++) {if (rs->completions[i][j] != rs->completions[0 ][j]) max_prefix = j; }
@@ -328,8 +328,8 @@ static void readline_completion(ReadLineState *rs)if (len > max_width) max_width = len; } -if (max_prefix >0 ) -for (i = rs->completion_index; i < max_prefix; i++) { +if (max_prefix >0 ) +for (i = rs->completion_index; i < max_prefix; i++) {readline_insert_char (rs, rs->completions[0 ][i]); } max_width +=2 ;
@@ -339,7 +339,7 @@ static void readline_completion(ReadLineState *rs) max_width =80 ; nb_cols =80 / max_width; j =0 ; -for (i =0 ; i < rs->nb_completions; i++) { +for (i =0 ; i < rs->nb_completions; i++) { rs->printf_func (rs->opaque,"%-*s" , max_width, rs->completions[i]);if (++j == nb_cols || i == (rs->nb_completions -1 )) { rs->printf_func (rs->opaque,"\n" );
@@ -362,9 +362,9 @@ static void readline_clear_screen(ReadLineState *rs)/* return true if command handled */ void readline_handle_byte (ReadLineState *rs,int ch) { -switch (rs->esc_state) { +switch (rs->esc_state) {case IS_NORM : -switch (ch) { +switch (ch) {case 1 :readline_bol (rs);break ;
@@ -425,7 +425,7 @@ void readline_handle_byte(ReadLineState *rs, int ch) }break ;case IS_CSI : -switch (ch) { +switch (ch) {case 'A' :case 'F' :readline_up_char (rs);
@@ -444,7 +444,7 @@ void readline_handle_byte(ReadLineState *rs, int ch) rs->esc_param = rs->esc_param *10 + (ch -'0' ); goto the_end;case '~' : -switch (rs->esc_param) { +switch (rs->esc_param) {case 1 :readline_bol (rs);break ;
@@ -463,7 +463,7 @@ void readline_handle_byte(ReadLineState *rs, int ch) the_end:break ;case IS_SS3 : -switch (ch) { +switch (ch) {case 'F' :readline_eol (rs);break ;
Signature · 1 line
2.21.0
[Qemu-devel] [PULL 6/8] aio-posix: ensure poll mode is left when aio_notify is called
In reply to Stefan HajnocziFrom: Paolo Bonzini <[email protected]>
With aio=thread, adaptive polling makes latency worse rather than better, because it delays the execution of the ThreadPool's completion bottom half.
event_notifier_poll() does run while polling, detecting that a bottom half was scheduled by a worker thread, but because ctx->notifier is explicitly ignored in run_poll_handlers_once(), scheduling the BH does not count as making progress and run_poll_handlers() keeps running. Fix this by recomputing the deadline after *timeout could have changed.
With this change, ThreadPool still cannot participate in polling but at least it does not suffer from extra latency.
Message-id: [email protected]
Message-Id: <[email protected]>
Message-Id: <[email protected]>
--- util/aio-posix.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-)
util/aio-posix.c +8 -4
@@ -519,6 +519,10 @@ static bool run_poll_handlers_once(AioContext *ctx, int64_t *timeout)if (!node->deleted && node->io_poll &&aio_node_check (ctx, node->is_external) && node->io_poll (node->opaque)) { +/* +* Polling was successful, exit try_poll_mode immediately +* to adjust the next polling time. +*/ *timeout =0 ;if (node->opaque != &ctx->notifier) { progress = true;
@@ -558,8 +562,9 @@ static bool run_poll_handlers(AioContext *ctx, int64_t max_ns, int64_t *timeout)do { progress =run_poll_handlers_once (ctx, timeout); elapsed_time =qemu_clock_get_ns (QEMU_CLOCK_REALTIME ) - start_time; - }while (!progress && elapsed_time < max_ns - && !atomic_read (&ctx->poll_disable_cnt)); + max_ns =qemu_soonest_timeout (*timeout, max_ns); +assert (!(max_ns && progress)); + }while (elapsed_time < max_ns && !atomic_read (&ctx->poll_disable_cnt));/* If time has passed with no successful polling, adjust *timeout to * keep the same ending time.
@@ -585,8 +590,7 @@ static bool run_poll_handlers(AioContext *ctx, int64_t max_ns, int64_t *timeout)*/ static bool try_poll_mode (AioContext *ctx,int64_t *timeout) { -/* See qemu_soonest_timeout() uint64_t hack */ -int64_t max_ns =MIN ((uint64_t )*timeout, (uint64_t )ctx->poll_ns); +int64_t max_ns =qemu_soonest_timeout (*timeout, ctx->poll_ns);if (max_ns && !atomic_read (&ctx->poll_disable_cnt)) {poll_set_started (ctx, true);
Signature · 1 line
2.21.0
[Qemu-devel] [PULL 7/8] docs: add Secure Coding Practices to developer docs
In reply to Stefan HajnocziAt KVM Forum 2018 I gave a presentation on security in QEMU:
https://www.youtube.com/watch?v=YAdRf_hwxU8 (video)
https://vmsplice.net/~stefan/stefanha-kvm-forum-2018.pdf (slides)
This patch adds a guide to secure coding practices. This document covers things that developers should know about security in QEMU. It is just a starting point that we can expand on later. I hope it will be useful as a resource for new contributors and will save code reviewers from explaining the same concepts many times.
Message-id: [email protected]
Message-Id: <[email protected]>
--- docs/devel/index.rst | 1 + docs/devel/secure-coding-practices.rst | 106 +++++++++++++++++++++++++ 2 files changed, 107 insertions(+) create mode 100644 docs/devel/secure-coding-practices.rst
docs/devel/index.rst +1 -0
@@ -20,3 +20,4 @@ Contents: stable-process testing decodetree + secure-coding-practices
docs/devel/secure-coding-practices.rst new file +106 -0
106 lines not on this page · raw message
Signature · 1 line
2.21.0
[Qemu-devel] [PULL 2/8] util: readline: replace tab indent by four spaces to fix checkpatch errors
In reply to Stefan HajnocziFrom: Jules Irenge <[email protected]>
Replace tab indent by four spaces to fix errors issued by checkpatch.pl tool "ERROR: code indent should never use tabs" within "util/readline.c" file.
Message-id: [email protected]
Message-Id: <[email protected]>
--- util/readline.c | 98 ++++++++++++++++++++++++------------------------- 1 file changed, 49 insertions(+), 49 deletions(-)
util/readline.c +49 -49
@@ -179,20 +179,20 @@ static void readline_up_char(ReadLineState *rs)int idx;if (rs->hist_entry ==0 ) -return ; +return ;if (rs->hist_entry ==-1 ) { -/* Find latest entry */ -for (idx =0 ; idx <READLINE_MAX_CMDS ; idx++) { -if (rs->history[idx] ==NULL ) -break ; - } - rs->hist_entry = idx; +/* Find latest entry */ +for (idx =0 ; idx <READLINE_MAX_CMDS ; idx++) { +if (rs->history[idx] ==NULL ) +break ; + } + rs->hist_entry = idx; } rs->hist_entry--;if (rs->hist_entry >=0 ) { -pstrcpy (rs->cmd_buf,sizeof (rs->cmd_buf), +pstrcpy (rs->cmd_buf,sizeof (rs->cmd_buf), rs->history[rs->hist_entry]); - rs->cmd_buf_index = rs->cmd_buf_size =strlen (rs->cmd_buf); + rs->cmd_buf_index = rs->cmd_buf_size =strlen (rs->cmd_buf); } }
@@ -202,11 +202,11 @@ static void readline_down_char(ReadLineState *rs)return ;if (rs->hist_entry <READLINE_MAX_CMDS -1 && rs->history[++rs->hist_entry] !=NULL ) { -pstrcpy (rs->cmd_buf,sizeof (rs->cmd_buf), +pstrcpy (rs->cmd_buf,sizeof (rs->cmd_buf), rs->history[rs->hist_entry]); }else { rs->cmd_buf[0 ] =0 ; - rs->hist_entry =-1 ; + rs->hist_entry =-1 ; } rs->cmd_buf_index = rs->cmd_buf_size =strlen (rs->cmd_buf); }
@@ -217,42 +217,42 @@ static void readline_hist_add(ReadLineState *rs, const char *cmdline)int idx;if (cmdline[0 ] =='\0' ) -return ; +return ; new_entry =NULL ;if (rs->hist_entry !=-1 ) { -/* We were editing an existing history entry: replace it */ - hist_entry = rs->history[rs->hist_entry]; - idx = rs->hist_entry; -if (strcmp (hist_entry, cmdline) ==0 ) { - goto same_entry; - } +/* We were editing an existing history entry: replace it */ + hist_entry = rs->history[rs->hist_entry]; + idx = rs->hist_entry; +if (strcmp (hist_entry, cmdline) ==0 ) { + goto same_entry; + } }/* Search cmdline in history buffers */ for (idx =0 ; idx <READLINE_MAX_CMDS ; idx++) { - hist_entry = rs->history[idx]; -if (hist_entry ==NULL ) -break ; -if (strcmp (hist_entry, cmdline) ==0 ) { - same_entry: - new_entry = hist_entry; -/* Put this entry at the end of history */ -memmove (&rs->history[idx], &rs->history[idx +1 ], - (READLINE_MAX_CMDS - (idx +1 )) *sizeof (char *)); - rs->history[READLINE_MAX_CMDS -1 ] =NULL ; -for (; idx <READLINE_MAX_CMDS ; idx++) { -if (rs->history[idx] ==NULL ) -break ; - } -break ; - } + hist_entry = rs->history[idx]; +if (hist_entry ==NULL ) +break ; +if (strcmp (hist_entry, cmdline) ==0 ) { + same_entry: + new_entry = hist_entry; +/* Put this entry at the end of history */ +memmove (&rs->history[idx], &rs->history[idx +1 ], + (READLINE_MAX_CMDS - (idx +1 )) *sizeof (char *)); + rs->history[READLINE_MAX_CMDS -1 ] =NULL ; +for (; idx <READLINE_MAX_CMDS ; idx++) { +if (rs->history[idx] ==NULL ) +break ; + } +break ; + } }if (idx ==READLINE_MAX_CMDS ) { -/* Need to get one free slot */ +/* Need to get one free slot */ g_free (rs->history[0 ]); -memmove (rs->history, &rs->history[1 ], - (READLINE_MAX_CMDS -1 ) *sizeof (char *)); - rs->history[READLINE_MAX_CMDS -1 ] =NULL ; - idx =READLINE_MAX_CMDS -1 ; +memmove (rs->history, &rs->history[1 ], + (READLINE_MAX_CMDS -1 ) *sizeof (char *)); + rs->history[READLINE_MAX_CMDS -1 ] =NULL ; + idx =READLINE_MAX_CMDS -1 ; }if (new_entry ==NULL ) new_entry =g_strdup (cmdline);
@@ -403,9 +403,9 @@ void readline_handle_byte(ReadLineState *rs, int ch)case 8 :readline_backspace (rs);break ; -case 155 : +case 155 : rs->esc_state =IS_CSI ; -break ; +break ;default :if (ch >=32 ) {readline_insert_char (rs, ch);
@@ -426,14 +426,14 @@ void readline_handle_byte(ReadLineState *rs, int ch)break ;case IS_CSI :switch (ch) { -case 'A' : -case 'F' : -readline_up_char (rs); -break ; -case 'B' : -case 'E' : -readline_down_char (rs); -break ; +case 'A' : +case 'F' : +readline_up_char (rs); +break ; +case 'B' : +case 'E' : +readline_down_char (rs); +break ;case 'D' :readline_backward_char (rs);break ;
Signature · 1 line
2.21.0
[Qemu-devel] [PULL 3/8] util/readline: Add braces to fix checkpatch errors
In reply to Stefan HajnocziFrom: Jules Irenge <[email protected]>
Add braces to fix errors issued by checkpatch.pl tool "ERROR: braces {} are necessary for all arms of this statement" Within "util/readline.c" file
Message-Id: <[email protected]>
--- util/readline.c | 50 ++++++++++++++++++++++++++++++++----------------- 1 file changed, 33 insertions(+), 17 deletions(-)
util/readline.c +33 -17
@@ -54,8 +54,9 @@ static void readline_update(ReadLineState *rs) rs->cmd_buf[rs->cmd_buf_size] ='\0' ;if (rs->read_password) { len =strlen (rs->cmd_buf); -for (i =0 ; i < len; i++) +for (i =0 ; i < len; i++) { rs->printf_func (rs->opaque,"*" ); + } }else { rs->printf_func (rs->opaque,"%s" , rs->cmd_buf); }
@@ -178,13 +179,15 @@ static void readline_up_char(ReadLineState *rs) {int idx; -if (rs->hist_entry ==0 ) +if (rs->hist_entry ==0 ) {return ; + }if (rs->hist_entry ==-1 ) {/* Find latest entry */ for (idx =0 ; idx <READLINE_MAX_CMDS ; idx++) { -if (rs->history[idx] ==NULL ) +if (rs->history[idx] ==NULL ) {break ; + } } rs->hist_entry = idx; }
@@ -198,8 +201,9 @@ static void readline_up_char(ReadLineState *rs)static void readline_down_char (ReadLineState *rs) { -if (rs->hist_entry ==-1 ) +if (rs->hist_entry ==-1 ) {return ; + }if (rs->hist_entry <READLINE_MAX_CMDS -1 && rs->history[++rs->hist_entry] !=NULL ) { pstrcpy(rs->cmd_buf, sizeof(rs->cmd_buf),
@@ -216,8 +220,9 @@ static void readline_hist_add(ReadLineState *rs, const char *cmdline)char *hist_entry, *new_entry;int idx; -if (cmdline[0 ] =='\0' ) +if (cmdline[0 ] =='\0' ) {return ; + } new_entry =NULL ;if (rs->hist_entry !=-1 ) {/* We were editing an existing history entry: replace it */
@@ -230,8 +235,9 @@ static void readline_hist_add(ReadLineState *rs, const char *cmdline)/* Search cmdline in history buffers */ for (idx =0 ; idx <READLINE_MAX_CMDS ; idx++) { hist_entry = rs->history[idx]; -if (hist_entry ==NULL ) +if (hist_entry ==NULL ) {break ; + }if (strcmp (hist_entry, cmdline) ==0 ) { same_entry: new_entry = hist_entry;
@@ -240,8 +246,9 @@ static void readline_hist_add(ReadLineState *rs, const char *cmdline) (READLINE_MAX_CMDS - (idx + 1)) * sizeof(char *)); rs->history[READLINE_MAX_CMDS -1 ] =NULL ;for (; idx <READLINE_MAX_CMDS ; idx++) { -if (rs->history[idx] ==NULL ) +if (rs->history[idx] ==NULL ) {break ; + } }break ; }
@@ -254,8 +261,9 @@ static void readline_hist_add(ReadLineState *rs, const char *cmdline) rs->history[READLINE_MAX_CMDS -1 ] =NULL ; idx =READLINE_MAX_CMDS -1 ; } -if (new_entry ==NULL ) +if (new_entry ==NULL ) { new_entry =g_strdup (cmdline); + } rs->history[idx] = new_entry; rs->hist_entry =-1 ; }
@@ -297,16 +305,18 @@ static void readline_completion(ReadLineState *rs)g_free (cmdline);/* no completion found */ -if (rs->nb_completions <=0 ) +if (rs->nb_completions <=0 ) {return ; + }if (rs->nb_completions ==1 ) { len =strlen (rs->completions[0 ]);for (i = rs->completion_index; i < len; i++) {readline_insert_char (rs, rs->completions[0 ][i]); }/* extra space for next argument. XXX: make it more generic */ -if (len >0 && rs->completions[0 ][len -1 ] !='/' ) +if (len >0 && rs->completions[0 ][len -1 ] !='/' ) {readline_insert_char (rs,' ' ); + } }else {qsort (rs->completions, rs->nb_completions,sizeof (char *), completion_comp);
@@ -318,25 +328,29 @@ static void readline_completion(ReadLineState *rs)if (i ==0 ) { max_prefix = len; }else { -if (len < max_prefix) +if (len < max_prefix) { max_prefix = len; + }for (j =0 ; j < max_prefix; j++) { -if (rs->completions[i][j] != rs->completions[0 ][j]) +if (rs->completions[i][j] != rs->completions[0 ][j]) { max_prefix = j; + } } } -if (len > max_width) +if (len > max_width) { max_width = len; + } }if (max_prefix >0 )for (i = rs->completion_index; i < max_prefix; i++) {readline_insert_char (rs, rs->completions[0 ][i]); } max_width +=2 ; -if (max_width <10 ) +if (max_width <10 ) { max_width =10 ; -else if (max_width >80 ) + }else if (max_width >80 ) { max_width =80 ; + } nb_cols =80 / max_width; j =0 ;for (i =0 ; i < rs->nb_completions; i++) {
@@ -383,8 +397,9 @@ void readline_handle_byte(ReadLineState *rs, int ch)case 10 :case 13 : rs->cmd_buf[rs->cmd_buf_size] ='\0' ; -if (!rs->read_password) +if (!rs->read_password) {readline_hist_add (rs, rs->cmd_buf); + } rs->printf_func (rs->opaque,"\n" ); rs->cmd_buf_index =0 ; rs->cmd_buf_size =0 ;
@@ -495,8 +510,9 @@ void readline_restart(ReadLineState *rs)const char *readline_get_history (ReadLineState *rs,unsigned int index) { -if (index >=READLINE_MAX_CMDS ) +if (index >=READLINE_MAX_CMDS ) {return NULL ; + }return rs->history[index]; }
Signature · 1 line
2.21.0
[Qemu-devel] [PULL 8/8] docs: add Security chapter to the documentation
In reply to Stefan HajnocziThis new chapter in the QEMU documentation covers the security requirements that QEMU is designed to meet and principles for securely deploying QEMU.
It is just a starting point that can be extended in the future with more information.
Message-id: [email protected]
Message-Id: <[email protected]>
--- Makefile | 2 +- docs/security.texi | 131 +++++++++++++++++++++++++++++++++++++++++++++ qemu-doc.texi | 3 ++ 3 files changed, 135 insertions(+), 1 deletion(-) create mode 100644 docs/security.texi
Makefile +1 -1
@@ -976,7 +976,7 @@ qemu-doc.html qemu-doc.info qemu-doc.pdf qemu-doc.txt: \ qemu-img.texi qemu-nbd.texi qemu-options.texi qemu-option-trace.texi \ qemu-deprecated.texi qemu-monitor.texi qemu-img-cmds.texi qemu-ga.texi \ qemu-monitor-info.texi docs/qemu-block-drivers.texi \ - docs/qemu-cpu-models.texi + docs/qemu-cpu-models.texi docs/security.texi docs/interop/qemu-ga-ref.dvi docs/interop/qemu-ga-ref.html \ docs/interop/qemu-ga-ref.info docs/interop/qemu-ga-ref.pdf \
docs/security.texi new file +131 -0
131 lines not on this page · raw message
qemu-doc.texi +3 -0
@@ -38,6 +38,7 @@ * QEMU Guest Agent:: * QEMU User space emulator:: * System requirements:: +* Security:: * Implementation notes:: * Deprecated features:: * Supported build platforms::
@@ -2878,6 +2879,8 @@ added with Linux 4.5 which is supported by the major distros. And even if RHEL7 has kernel 3.10, KVM there has the required functionality there to make it close to a 4.5 or newer kernel. +@include docs/security.texi + @include qemu-tech.texi @include qemu-deprecated.texi
Signature · 1 line
2.21.0
Peter Maydell
AppliedQuoted 9 lines · Stefan Hajnoczi
The following changes since commit
812b835fb4d23dd108b2f9802158472d50b73579:Merge remote-tracking branch 'remotes/maxreitz/tags/pull-block-2019-05-07' into staging (2019-05-09 16:31:12 +0100)
are available in the Git repository at:
https://github.com/stefanha/qemu.git tags/block-pull-request
Quoted 8 lines
for you to fetch changes up to
e84125761f78919fe63616d9888ea45e72dc956f:docs: add Security chapter to the documentation (2019-05-10 10:53:52 +0100)
----------------------------------------------------------------
Pull request----------------------------------------------------------------
Applied, thanks.
Please update the changelog at https://wiki.qemu.org/ChangeLog/4.1
for any user-visible changes.
-- PMM