Skip to content

Commit

Permalink
xsm: add send_irq for dom0 and stubdom -> hvm guests
Browse files Browse the repository at this point in the history
Added upstream @ f53e1bf04b43e1f9213cd6850167b26485941421
for device_model().  Denial can be reproduced by creating
a guest with HDA sound.

OXT-293

Signed-off-by: Chris Patterson <[email protected]>
  • Loading branch information
Chris Patterson committed May 22, 2015
1 parent 52c55b9 commit 438fca7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion policy/modules/xen/stubdom.if
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ interface(`stubdom_ioemu',`
allow stubdom_t $1:resource { add remove };
allow stubdom_t $1:domain { set_target shutdown settime };
allow stubdom_t $1:hvm { cacheattr getparam irqlevel pcilevel pciroute
setparam trackdirtyvram hvmctl };
setparam trackdirtyvram hvmctl send_irq };
allow stubdom_t $1:mmu { adjust physmap map_read map_write };
allow stubdom_t $1:grant copy;
allow $1 stubdom_t:grant { copy };
Expand Down
2 changes: 1 addition & 1 deletion policy/modules/xen/xen.te
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ allow dom0_type xen_t:xen { kexec readapic writeapic mtrr_read mtrr_add mtrr_del

# dom0 access to hvm guests
allow dom0_type hvm_type:hvm { cacheattr getparam irqlevel pcilevel pciroute
nested setparam hvmctl trackdirtyvram };
nested setparam hvmctl trackdirtyvram send_irq };

########################################
#
Expand Down

0 comments on commit 438fca7

Please sign in to comment.