Skip to content

Commit d826c9e

Browse files
Petr Tesarikjgross1
authored andcommitted
xen: remove a confusing comment on auto-translated guest I/O
After removing the conditional return from xen_create_contiguous_region(), the accompanying comment was left in place, but it now precedes an unrelated conditional and confuses readers. Fixes: 989513a ("xen: cleanup pvh leftovers from pv-only sources") Signed-off-by: Petr Tesarik <petr.tesarik.ext@huawei.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Link: https://lore.kernel.org/r/20230802163151.1486-1-petrtesarik@huaweicloud.com Signed-off-by: Juergen Gross <jgross@suse.com>
1 parent 6aca480 commit d826c9e

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

arch/x86/xen/mmu_pv.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2310,12 +2310,6 @@ int xen_create_contiguous_region(phys_addr_t pstart, unsigned int order,
23102310
int success;
23112311
unsigned long vstart = (unsigned long)phys_to_virt(pstart);
23122312

2313-
/*
2314-
* Currently an auto-translated guest will not perform I/O, nor will
2315-
* it require PAE page directories below 4GB. Therefore any calls to
2316-
* this function are redundant and can be ignored.
2317-
*/
2318-
23192313
if (unlikely(order > MAX_CONTIG_ORDER))
23202314
return -ENOMEM;
23212315

0 commit comments

Comments
 (0)